1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-13 13:03:58 +00:00
TheLocehiliosan_yadm/test
Thomas Luzat 727e656ceb
Implement additional alternate file directory
This introduced a proof of concept implementation for an additional
directory which contains alternate files to be linked into ~. The
default path is ~/.yadm/alt. A file ~/.yadm/alt/foo## would be linked
to ~/foo.

The directory is optional and can be overriden using the configuration
option yadm.alt, which is a path relative to ~ (e.g. .yadm/my-alt).
The command-line option --yadm-alt allows overriding the path with an
absolute path (e.g. ~/.yadm/my-alt).

Caveats: This feature is hardly tested and does not come with any tests
or documentation. It will break if yadm.alt or --yadm-alt are not
normalized paths, but may break in many other cases, too (e.g. wildcards
in path names, esoteric symlink setups or just because of bugs).
2017-10-09 15:40:39 +02:00
..
000_unit_syntax.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
001_unit_paths.bats Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
002_unit_gpg_program.bats Unit tests for alternate gpg program (#19) 2016-08-14 23:53:21 -05:00
003_unit_git_program.bats Re-number unit tests 2017-09-16 09:33:12 -05:00
004_unit_bootstrap_available.bats Re-number unit tests 2017-09-16 09:33:12 -05:00
005_unit_set_operating_system.bats Re-number unit tests 2017-09-16 09:33:12 -05:00
006_unit_query_distro.bats Re-number unit tests 2017-09-16 09:33:12 -05:00
007_unit_parse_encrypt.bats Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
100_accept_version.bats Switch to semantic versioning 2017-05-10 08:00:29 -05:00
101_accept_help.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
102_accept_clean.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
103_accept_git.bats Add acceptance tests for improved exit values (#35) 2017-01-06 16:26:00 -06:00
104_accept_init.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
105_accept_clone.bats Create secured private dirs (#74) 2017-08-22 21:28:07 -05:00
106_accept_config.bats Fix tests that set local.hostname (#59) 2017-03-31 12:43:32 -05:00
107_accept_list.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
108_accept_alt.bats Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
109_accept_encryption.bats Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
110_accept_perms.bats Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
111_accept_wildcard_alt.bats Store class/os/host/user overrides in the local repo config 2017-01-26 10:48:40 -06:00
112_accept_bootstrap.bats Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
113_accept_jinja_alt.bats Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
114_accept_enter.bats Add tests for enter command 2017-03-30 16:30:39 -05:00
115_accept_introspect.bats Implement additional alternate file directory 2017-10-09 15:40:39 +02:00
116_accept_cygwin_copy.bats Gracefully handle changes in yadm.cygwin-copy 2017-06-01 17:06:27 -05:00
117_accept_hooks.bats Add tests for hooks 2017-07-05 16:33:50 -05:00
118_accept_assert_private_dirs.bats Create secured private dirs (#74) 2017-08-22 21:28:07 -05:00
common.bash Add tests for hooks 2017-07-05 16:33:50 -05:00
ownertrust.txt Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
test_key Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00