Tim Byrne
4b99ece480
Support transcrypt ( #197 )
...
Support is inherently provided by `enter`, which supports a command.
I've added a `transcrypt` command, which is really just an alias
under-the-hood for "enter transcrypt".
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 )
...
Ignore case when searching for Microsoft inside /proc/version.
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 )
...
Support is inherently provided by `enter`, which now supports a command.
I've added a `git-crypt` command, which is really just an alias
under-the-hood for "enter git-crypt".
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 )
...
When this option is provided, linters will be run regardless of the
version installed. Normally tests are skipped if the linters are not the
supported version.
5 years ago
Tim Byrne
5d484ca825
Test with GnuPG 2 ( #179 )
...
Take advantage of pinentry-mock to obtain passphrases, instead of using
"expect" (which requires GnuPG 1).
5 years ago
Tim Byrne
e5ff95d09c
Create gnupg fixture
...
This fixture is a session scoped gnupg home directory, along with a
method to set the mocked password which will be used by the
pinentry-mock program.
5 years ago
Tim Byrne
3aefeeff0f
Create pinentry-mock
...
This is a program which adheres to the pinentry protocol. It always
provides the password located in /etc/mock-password.
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
...
Update variable names, favoring the terminology used by `ln`.
* source (original file containing data)
* target (the symlink file, pointing to source)
5 years ago
Tim Byrne
98392b9a9c
Add function relative_path
...
This function will create a path relative to another, without the use of
an external program like dirname.
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
...
This command will assist users with migration from 1.x.x to 2.0.0.
5 years ago
Tim Byrne
0c9468c9b5
Ignore encrypted files ( #69 )
...
Append the contents of .config/yadm/encrypt to the repo's git ignore
list. This is to help prevent accidentally committing unencrypted
sensitive data.
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
aeb6a54ad7
Add `source` to templates ( #163 )
...
A new variable is exposed to templates, which holds the filename of the
template source. The primary use case is to be able to include a warning
message within the template. For example:
# Do not edit. This file auto-generated from {{ yadm.source }}.
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
...
This removes the constraint of only allowing the copy option on Cygwin
systems. Now any system can configure this option.
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
...
These warnings are related to bugs which are fully fixed.
5 years ago