Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: do not overwrite symbolic link yaml config file #604

Open
snowman opened this issue Dec 20, 2020 · 2 comments
Open

Feature request: do not overwrite symbolic link yaml config file #604

snowman opened this issue Dec 20, 2020 · 2 comments

Comments

@snowman
Copy link

snowman commented Dec 20, 2020

When use $ urlwatch --edit or $ urlwatch --edit-config,
do not override symbolic links file (i use stow to manage dotfiles.)

$ pwd
~/.config/urlwatch

$ stat -c%N *.yaml
'urls.yaml'     -> '../../.dotfiles/urlwatch/.config/urlwatch/urls.yaml'
'urlwatch.yaml' -> '../../.dotfiles/urlwatch/.config/urlwatch/urlwatch.yaml'
@mhalano
Copy link

mhalano commented Jun 21, 2021

I have the same problem. I use a dotfile manage tool called Chezmoi ,and it can't handle with urlwatch --edit to edit the config file (it uses a chezmoi edit file command). So the solution would be create a symlink from the file to managed repository, but when I finish editing and saving the file the config file overwrites the symlink.

@mborsetti
Copy link
Contributor

@snowman and @mhalano This is fixed in the fork webchanges as of version 3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants