Commit Graph

195 Commits (8a87f4a30ffaa983562cefe64c8b79cb8f8a8002)

Author SHA1 Message Date
Tim Byrne d298b42653
Merge pull request #257 from erijo/extension
4 years ago
Tim Byrne c4b419d98e
Add --version and --help as yadm internal commands (#267)
4 years ago
Tim Byrne 6b068a141d
Remove superfluous f-strings
4 years ago
Tim Byrne c8d516c67d
Bump versions of required linters
4 years ago
Tim Byrne 4b5f16d73a
Improve support for default branches (#231, #232)
4 years ago
Tim Byrne 4cb13d5d08
Remove unnecessary LEGACY_WARNING_ISSUED flag
4 years ago
Tim Byrne 13a3cdc8a8
Remove reporting of invalid alts
4 years ago
Tim Byrne 7997dc9a3d
Update upgrade
4 years ago
Tim Byrne 62b109ad2d
Rename yadm_y -> yadm_cmd
4 years ago
Tim Byrne 8efe2c8fad
Improve tests to use XDG* variables
4 years ago
Tim Byrne fc66b6b71b
Support XDG_DATA_HOME (#208)
4 years ago
Erik Flodin f22c4d04cc
Add support for the extension "condition"
4 years ago
Tim Byrne b19c78b8e2
Remove support for YADM_COMPATIBILITY=1 (#242)
4 years ago
Tim Byrne a66d3c148c
Remove tests for deprecated alternate processing
4 years ago
Erik Flodin 9bcf070dfe
Add support for including files using the default template processor
4 years ago
Tim Byrne e0daf86334
Add encryption unit tests
4 years ago
Tim Byrne 59c60a4675
Change default archive name to "archive"
4 years ago
Tim Byrne 05ae6f0257
Add config yadm.openssl-old
4 years ago
Tim Byrne 4ae504c533
Merge alternative cyphers changes into develop
4 years ago
Tim Byrne 102ba5d558
Preserve file mode of template (#193)
4 years ago
Tim Byrne 6654e29c62
Merge pull request #220
4 years ago
Tim Byrne 87f81143b2
Add unit test for alternate order
4 years ago
Tim Byrne 6d8494a35f
Fix linting errors
4 years ago
jonasc 9ee83c4b3f
Update test/test_config.py
4 years ago
jonasc 60b23e33e8
Assert existence of config file's parent directory
4 years ago
Jonathan Daigle f348e154c7
Add support for ESH
4 years ago
Tim Byrne 0995f38b06
Merge pull request #138 from ldotlopez/master
5 years ago
Luis López 831c9ec09d
Testing: add new config items to tests
5 years ago
James Clark 77d2da4e9b
Support architecture in alternates (#202)
5 years ago
Tim Byrne 4b99ece480
Support transcrypt (#197)
5 years ago
Tim Byrne 45f1d93193
Add test for WSL identification
5 years ago
Tim Byrne 9a2883985b
Test for escaped values in YADM_HOOK_FULL_COMMAND
5 years ago
Tim Byrne 3b820835ab
Test for warnings from man (#195)
5 years ago
Tim Byrne 76c82c763e
Improve identification of WSL (#196)
5 years ago
Tim Byrne 75d2747aa0
Add test for multiple recipients
5 years ago
Tim Byrne d9f68978fa
Add test for quoted os-release
5 years ago
Tim Byrne 6e444736ab
Tests for encrypt_with_checksums hooks
5 years ago
Tim Byrne ba5829ad48
Confirm exit status for enter w/cmd
5 years ago
Tim Byrne d3a2a06184
Support git-crypt (#168)
5 years ago
Tim Byrne b9f5fdaafa
Support GNUPGHOME environment variable (#134)
5 years ago
Tim Byrne 84a173551e
Only assert private dirs, when worktree = $HOME (#171)
5 years ago
Tim Byrne 46105aae47
Set YADM_WORK within configure_paths
5 years ago
Tim Byrne 18e5fcfacc
Only assert private dirs, when worktree = $HOME
5 years ago
Tim Byrne e7d2406af3
Export GIT_WORK_TREE during `yadm enter` (#160)
5 years ago
Tim Byrne 32baf81b56
Support specifying a command after `yadm enter`
5 years ago
Tim Byrne 397d45ccd0
Suppress insecure memory warnings
5 years ago
Tim Byrne 437ae2b719
Add --force-linters option to pylint (#179)
5 years ago
Tim Byrne 5d484ca825
Test with GnuPG 2 (#179)
5 years ago
Tim Byrne e5ff95d09c
Create gnupg fixture
5 years ago
Tim Byrne 3aefeeff0f
Create pinentry-mock
5 years ago
Tim Byrne f7485915ed
Update tests for gawk support
5 years ago
Tim Byrne c1f779521c
Confirm LEGACY_WARNING_ISSUED is set appropriately
5 years ago
Tim Byrne 66a3969c8a
Add unit tests for reporting invalid alternates (#183)
5 years ago
Tim Byrne 59da359e63
Remove old-style alts from test data
5 years ago
Tim Byrne 6bf0852609
Use /etc/os-release if lsb_release is missing (#175)
5 years ago
Tim Byrne 24e6e81713
Test support for double-star globs
5 years ago
Tim Byrne 5634c09a8a
Refactor symlink code
5 years ago
Tim Byrne 98392b9a9c
Add function relative_path
5 years ago
Tim Byrne f8d6d2b0e4
Change tests to expect relative links
5 years ago
Tim Byrne c29834ed86
Add test for permission bug (#174)
5 years ago
Tim Byrne 375a34b97a
Test conditional submodule upgrade processing
5 years ago
Tim Byrne f2b2d505a2
Reinitialize submodules during upgrade
5 years ago
Tim Byrne 616baaeac6
Rename default template processor
5 years ago
Tim Byrne b62a4c77a6
Create an upgrade command
5 years ago
Tim Byrne 0c9468c9b5
Ignore encrypted files (#69)
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)
5 years ago
Tim Byrne aeb6a54ad7
Add `source` to templates (#163)
5 years ago
Tim Byrne 0c7aec6dd7
Clarify xfails are for deprecated features
5 years ago
Tim Byrne 3a192db420
Remove symlinks before processing a template
5 years ago
Tim Byrne 574945f010
Change yadm.cygwin-copy to yadm.alt-copy
5 years ago
Tim Byrne e51166b7e8
Improve clone testing
5 years ago
Tim Byrne f3bde37f78
Support `-b <branch>` when cloning (#133)
5 years ago
Tim Byrne 6a3199ceea
Support DISTRO in alternates (#72)
5 years ago
Tim Byrne 444622a658
Support `else` statements in builtin templates
5 years ago
Tim Byrne e999929818
Change builtin templates to resemble jinja
5 years ago
Tim Byrne b411f9d74f
Split out processing of stale links
5 years ago
Tim Byrne c8a9165293
Remove warnings from tests
5 years ago
Tim Byrne 36212cb752
Add new alternates processing the cygwin copy testing
5 years ago
Tim Byrne eeba216cfe
Mark deprecated tests
5 years ago
Tim Byrne d2afab6846
Fix newly discovered linting errors
5 years ago
Tim Byrne 2508378617
Upgrade yadm testbed
5 years ago
Tim Byrne cfda485b34
Implement future alternate processing
5 years ago
Tim Byrne e4e956fe21
Split discovery of alternates test data into a testable function
5 years ago
Tim Byrne c29292d02b
Split out processing of alt (past/future)
5 years ago
Tim Byrne 48fc6b0db7
Support XDG base directory specification
5 years ago
Tim Byrne d87a6502af
Factor out some branches in utils:create_alt_files()
6 years ago
Tim Byrne 7bc8f02d68
Add tests for jinja includes
6 years ago
Tim Byrne 093fc24b1b
Test that links are removed for invalid alternates (#65)
6 years ago
Tim Byrne 2375a0955b
Standardize sort order
6 years ago
Tim Byrne fb1181c8a9
Add tests for directory alternates
6 years ago
Tim Byrne 58edf313aa
Process .yadm/encrypt in sorted order
6 years ago
Tim Byrne 826f9bc09e
Validate yaml files with yamllint
6 years ago
Tim Byrne c3a9b62189
Remove BATS-based tests
6 years ago
Tim Byrne e7f9616b39
Rewrite testing system (#119)
6 years ago
Tim Byrne 2517e4b4ac
Add test-case for exclusions in `.yadm/encrypt` (#86)
7 years ago
Tim Byrne cc30dfc24b
Re-number unit tests
7 years ago
Tim Byrne f23bdb8147
Remove last use of LS_PROGRAM
7 years ago
Tim Byrne b78bb1eef4
Eliminate the use of `eval`
7 years ago