Tim Byrne
62b109ad2d
Rename yadm_y -> yadm_cmd
...
-Y is no longer used when running commands
4 years ago
Tim Byrne
8efe2c8fad
Improve tests to use XDG* variables
...
Instead of overriding YADM_DIR via -Y, set the XDG* environment
variables.
4 years ago
Jonathan Daigle
f348e154c7
Add support for ESH
4 years ago
Tim Byrne
f8d6d2b0e4
Change tests to expect relative links
5 years ago
Tim Byrne
616baaeac6
Rename default template processor
5 years ago
Tim Byrne
f3249e00b5
Ensure base directories for alternates before creation
5 years ago
Tim Byrne
6d5467951a
Properly handle missing "." in alternate conditions
5 years ago
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.
5 years ago
Tim Byrne
3a192db420
Remove symlinks before processing a template
5 years ago
Tim Byrne
6a3199ceea
Support DISTRO in alternates ( #72 )
5 years ago
Tim Byrne
cfda485b34
Implement future alternate processing
5 years ago
Tim Byrne
c29292d02b
Split out processing of alt (past/future)
5 years ago
Tim Byrne
093fc24b1b
Test that links are removed for invalid alternates ( #65 )
6 years ago
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.
6 years ago
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.
6 years ago