From 4ec7ae423fcc957d3d1ee14faea54afbdc406ded Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Fri, 15 Jan 2016 16:10:00 -0500 Subject: Add initial support for nesting This feature means to replace what was called 'packages'. The old packages implementation was only one subdirectory lower than the home directory and quite limiting in that regard. Even worse, they had to be configured manually in the configuration file and could not be created from the command line. This approach offers any depth the user specifies because the rule is: you can only add files to the repository, not directories. So if a user adds a directory, the effect will be that each file contained in any portion of that directory will be moved into the repository and a symlink created. This completely removes both manual configuration and link ambiguity because there is always only once choice. The repository is used to maintain the directory structure, but only the leaf nodes (files) are symlinked in the home directory. This also makes it easy to store other non-dotfile files in the repository like wallpapers, fonts, music, or whatever. --- test_dotfiles.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test_dotfiles.py') diff --git a/test_dotfiles.py b/test_dotfiles.py index 7cfb276..0fd55a6 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -71,7 +71,6 @@ class TestRepository(object): assert contents[1].target == target_b assert contents[2].target == target_c - @pytest.mark.xfail(reason='nesting not yet supported') def test_nested_name_to_target(self, repo, home): r = Repository(repo, home) -- cgit v1.2.3