allow to add files in dot-directories and host profiles#24
Closed
niol wants to merge 22 commits intojbernard:masterfrom
niol:master
Closed
allow to add files in dot-directories and host profiles#24niol wants to merge 22 commits intojbernard:masterfrom niol:master
niol wants to merge 22 commits intojbernard:masterfrom
niol:master
Conversation
This is especially usefull for applications that mix state files and configuration files in their dot-directory, for instance : - .unison which contains *prf and state files - .lftp which contains rc (conf file) and log, cwd_history.
This avoids broken symlinks when manipulating a chroot'ed installation from the host.
If there is a 'all.host' directory in the repository, dotfiles enables hosts mode: you now can add a dotfile to a particular host, and any sync will create symlinks for dotfiles in the 'hostname.host' directory as well as for the ones in the 'all.host' directory.
Conflicts: dotfiles/core.py
Conflicts: README.rst dotfiles/cli.py dotfiles/core.py
Conflicts: dotfiles/cli.py dotfiles/core.py test_dotfiles.py
Contributor
Author
|
For instance, "allow to add files in dot-directories" allows to add ~/.ssh/known_hosts and ~/.ssh/config but not ~/.ssh/authorized_keys . |
Conflicts: dotfiles/core.py
Conflicts: tests/test_basic.py
Conflicts: dotfiles/cli.py tests/test_basic.py
Closed
|
Interesting, any chance of this getting merged soon? |
Conflicts: dotfiles/cli.py dotfiles/core.py
Conflicts: dotfiles/cli.py dotfiles/core.py tests/test_basic.py
Try Dotctrl: https://github.com/snakypy/dotctrl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This include both merged features (updating #11).
Any bug reports appreciated. Works well for me. Both features have corresponding unittests.
Splitting both features in separate patches involves some more (useless?) work, but if you like, I can do it.