Tim Byrne
62b109ad2d
Rename yadm_y -> yadm_cmd
...
-Y is no longer used when running commands
2020-11-22 17:09:44 -06:00
Tim Byrne
8efe2c8fad
Improve tests to use XDG* variables
...
Instead of overriding YADM_DIR via -Y, set the XDG* environment
variables.
2020-11-22 17:09:44 -06:00
Jonathan Daigle
f348e154c7
Add support for ESH
2020-05-27 19:38:15 -04:00
Tim Byrne
f8d6d2b0e4
Change tests to expect relative links
2019-11-24 13:15:42 -06:00
Tim Byrne
616baaeac6
Rename default template processor
2019-10-30 17:29:17 -05:00
Tim Byrne
f3249e00b5
Ensure base directories for alternates before creation
2019-10-12 18:22:02 -05:00
Tim Byrne
6d5467951a
Properly handle missing "." in alternate conditions
2019-10-12 09:59:03 -05:00
Tim Byrne
4ea3ed9e2a
Allow storing alternates elsewhere ( #90 )
...
This change allows alternates to be stored in "$YADM_DIR/alt". The
correct path within the work tree will be symlinked.
Storing alternates within the work tree is still allowed. Both locations
will be considered when choosing an appropriate alternate file.
2019-10-12 09:59:02 -05:00
Tim Byrne
3a192db420
Remove symlinks before processing a template
2019-10-11 07:20:03 -05:00
Tim Byrne
6a3199ceea
Support DISTRO in alternates ( #72 )
2019-10-06 16:35:47 -05:00
Tim Byrne
cfda485b34
Implement future alternate processing
2019-10-02 15:16:02 -05:00
Tim Byrne
c29292d02b
Split out processing of alt (past/future)
2019-09-27 08:40:31 -05:00
Tim Byrne
093fc24b1b
Test that links are removed for invalid alternates ( #65 )
2019-04-05 08:58:59 -05:00
Tim Byrne
fb1181c8a9
Add tests for directory alternates
...
While this feature was added back in version 1.05, tests were never
added for it. These tests have identified bugs in the directory
alternates.
2019-04-05 08:58:22 -05:00
Tim Byrne
e7f9616b39
Rewrite testing system ( #119 )
...
The new test system is written with py.test. These tests are more
comprehensive, run faster by an order of magnitude, and are far more
maintainable. The tests themselves conform to PEP8.
2019-02-20 07:48:25 -06:00