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

CLI's config.yml should not be deleted by updater #114

Open
bertfrees opened this issue Nov 2, 2016 · 0 comments
Open

CLI's config.yml should not be deleted by updater #114

bertfrees opened this issue Nov 2, 2016 · 0 comments

Comments

@bertfrees
Copy link
Member

One solution would be to move config.yml out of the cli directory. Inside the cli directory is not such a good place anyway. For example, when packaged in a DEB a much better place would be /etc/opt/daisy-pipeline2-cli/. Or, on other *nix platforms, ~/.config/dp2/ is a common place as well.

The other solution is to make the updater only replace the cli/dp2 executable and not the whole cli directory. We do this by adding to the release descriptor entry the new attribute overwrite-path and set it to "false".

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

1 participant