Tim Byrne
4613c1d0c4
Merge pull request #114 from bb010g/patch-1
4 years ago
Tim Byrne
d87a6502af
Factor out some branches in utils:create_alt_files()
4 years ago
Tim Byrne
7bc8f02d68
Add tests for jinja includes
4 years ago
Tim Byrne
d245f633bf
Remove invalid linked alternates ( #65 )
4 years ago
Tim Byrne
a2cc970dd6
Remove unnecessary Git invocations
...
`git ls-files` was being called multiple times during the processing of
alternates. This is now run once, and kept in an array.
4 years ago
Tim Byrne
093fc24b1b
Test that links are removed for invalid alternates ( #65 )
4 years ago
Tim Byrne
2375a0955b
Standardize sort order
...
Prevent localizations from interfering with sorting order.
4 years ago
Tim Byrne
0c6be5e398
Fix bug with alternate linked directories
...
Previously the tracked files were sorted, and then the files and their
parent directories were considered for possible alternates. Depending on
the length of directories and names of files, inconsistencies would
occur because the directory separator (/) would be part of the sorting.
To fix this, a unique list of tracked files and their parent directories
are sorted into a single list which is processed.
4 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.
4 years ago
Tim Byrne
2aa1710214
Remove superfluous `;` in comments
4 years ago
Tim Byrne
58edf313aa
Process .yadm/encrypt in sorted order
4 years ago
Tim Byrne
2848ca2d1d
Update contributing guide with website info ( #146 )
4 years ago
Tim Byrne
282b772ce5
Add yamllint to testenv
...
Also organize pip install command so software can be added/removed
easier.
4 years ago
Tim Byrne
826f9bc09e
Validate yaml files with yamllint
4 years ago
Tim Byrne
ca2f93146d
Add shields.io badges for website branches
4 years ago
Tim Byrne
9b1ac4b76b
Add shields.io badge for Arch Linux
4 years ago
Tim Byrne
eb7462061e
Allocate a pseudo-TTY
...
This will help color shows up in travis-ci logs.
4 years ago
Tim Byrne
af6febc598
Use language `minimal`
...
`bash` is actually an alias for `minimal` in travis-ci.
4 years ago
Tim Byrne
0ff508d046
Reduce travis-ci `sudo` requirement
...
`sudo` is not actually required.
4 years ago
Tim Byrne
402b57880d
Update GPLv3 LICENSE information
...
This does NOT change the licensing.
4 years ago
Tim Byrne
bd86b66ea8
Update README
...
* Add shield.io badges
* Add brief description
* Change website to yadm.io
4 years ago
Tim Byrne
f3e4c7d140
Add contribution guideline
4 years ago
Tim Byrne
19c6eb6009
Add GitHub templates
4 years ago
Tim Byrne
b443bbede2
Add contrib/hooks
4 years ago
Tim Byrne
abcc201894
Improve Makefile usage info
4 years ago
Tim Byrne
27859af307
Add make target "scripthost"
...
Hopefully this target will help others demonstrate problems in a
reproducible way.
4 years ago
Tim Byrne
d32e63fc92
Split packages onto separate lines
...
This will make it easier to see the changes in the dependencies included
in the yadm/testbed image.
4 years ago
Tim Byrne
7e7d199721
Add code of conduct
...
Adapted from the www.contributor-covenant.org
4 years ago
Tim Byrne
c3a9b62189
Remove BATS-based tests
4 years ago
Tim Byrne
23e4b38ef2
Update Makefile
...
* Add usage/help
* Check for dependencies in testing targets
* Remove bats-based targets
* Change location of testenv
4 years ago
Tim Byrne
0f2039f79d
Create a flag to identify when running inside testbed
4 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.
4 years ago
Brayden Banks
0b9f537909
Allow for more complex Jinja templates
...
By calling envtpl with a filename, Jinja can perform includes, which is useful for more general machine configuration.
5 years ago
Ross Smith II
54f7cbcebe
Fix OS name match for Cygwin/Msys
5 years ago
Ross Smith II
315ad0873e
Fix OS check to match (Cygwin|Msys)*
5 years ago
Ross Smith II
adfedf4b64
Add Mingw/Msys support
5 years ago
Tim Byrne
09a018ea5a
Release 1.12.0
...
Update version number and update documentation
* Add basic Zsh completion (#71 , #79 )
* Support directories in `.yadm/encrypt` (#81 , #82 )
* Support exclusions in `.yadm/encrypt` (#86 )
* Improve portability with printf (#87 )
* Eliminate usage of `eval` and `ls`
6 years ago
Tim Byrne
8af5425dc3
Capitalize headings
6 years ago
Tim Byrne
805d7647a8
Update documentation to reflect new .yadm/encrypt functionality
6 years ago
Tim Byrne
db9c00287b
Fix contrib target
6 years ago
Tim Byrne
75e0bf94bb
Merge pull request #91 from luzat/fix-whitespace
6 years ago
Thomas Luzat
ac2aed9ab4
Indentation: Convert tab to space
6 years ago
Tim Byrne
d411db9f6f
Consolidate cd to YADM_WORK
6 years ago
Tim Byrne
c24906ec10
Handle exclusions in `.yadm/encrypt` ( #86 )
6 years ago
Tim Byrne
2517e4b4ac
Add test-case for exclusions in `.yadm/encrypt` ( #86 )
6 years ago
Tim Byrne
cc30dfc24b
Re-number unit tests
6 years ago
Tim Byrne
f23bdb8147
Remove last use of LS_PROGRAM
...
Globs are not determined by an `eval` of `ls` anymore. The only other
use of `ls` can be replaced with a simple `printf`.
6 years ago
Tim Byrne
b78bb1eef4
Eliminate the use of `eval`
...
`eval` has always been used to process the globs in `.yadm/encrypt`.
This is being removed, as there is a risk of executing "dirty" data
found in `.yadm/encrypt`.
Caveats of this change:
* Brace and tilde expansion will no longer work in `.yadm/encrypt`
* Paths with spaces must not be quoted anymore
6 years ago
Tim Byrne
57866714c4
Replace `echo` with `printf` ( #87 )
6 years ago
Tim Byrne
abf6cd1c4c
Merge pull request #81 from japm48/patch-1
...
Add support for directories in .yadm/encrypt
6 years ago