Tim Byrne
3e42bd9f52
Merge pull request #142 from jonasc/master
...
Resolved conflicts, and signed commit from jonasc.
5 years ago
jonasc
a1845c6e8a
Write template result to temporary file and move
...
This prevents problems with programs which watch the file for changes and will
first be presented an empty file.
One such example which will show a notification message about an empty config
file is Alacritty.
By writing to a tempory file and then moving it (atomically?) to the real
location this problem is mitigated.
5 years ago
Tim Byrne
75d2747aa0
Add test for multiple recipients
5 years ago
Tim Byrne
83c0edd9fb
Mention multiple recipients in man page
5 years ago
Tim Byrne
0b22220e3c
Merge pull request #139 from stigtsp/multiple-gpg-recipients
5 years ago
Tim Byrne
d9f68978fa
Add test for quoted os-release
5 years ago
Tim Byrne
4546636336
Merge pull request #194 from rasa/rasa/remove-quotes-from-distro
5 years ago
Tim Byrne
6e444736ab
Tests for encrypt_with_checksums hooks
5 years ago
Tim Byrne
8c6a96545d
Add organization and documentation to hooks collection
5 years ago
Tim Byrne
2af9c3a524
Merge pull request #188 from mzuther/encrypt_with_checksums
5 years ago
Martin Zuther
0009bb350b
get rid of echo
5 years ago
Martin Zuther
499837bd80
apply code review changes
5 years ago
Martin Zuther
9c9a750009
get rid of dependencies (pure bash)
5 years ago
Martin Zuther
45b218d5c1
support encrypted files in "yadm list"
...
* export some helper functions to hooks
5 years ago
Martin Zuther
bd19e31c6e
get rid of dirname
5 years ago
Martin Zuther
3c204119fb
select one of several checksum commands
5 years ago
Martin Zuther
c190333fdf
correctly export array to subscript
...
* fix shellcheck errors and warnings
5 years ago
Martin Zuther
0b79b461a6
change checksum algorithm to SHA-512
...
* SHA-512/256 doesn't seem to be supported on OS X
(see https://ss64.com/osx/shasum.html )
5 years ago
Martin Zuther
e9720fb1c3
add quotes to support spaces in filenames
5 years ago
Martin Zuther
e96345eb87
re-factor hooks
...
* gracefully pass missing dependencies (grep and sed)
5 years ago
Martin Zuther
91266ca8eb
Check encrypted files with SHA-512/256 checksums
5 years ago
Tim Byrne
b4fd9e19c2
Release 2.3.0
...
Update version number and update documentation
* Support git-crypt (#168 )
* Support specifying a command after `yadm enter`
* Expose GIT_WORK_TREE during `yadm enter` (#160 )
* Support GNUPGHOME environment variable (#134 )
* Assert private dirs, only when worktree = $HOME (#171 )
5 years ago
Tim Byrne
ba5829ad48
Confirm exit status for enter w/cmd
5 years ago
Tim Byrne
7ad28c3a97
Set exit status when running a command from `enter`
5 years ago
Tim Byrne
2978c7dd8a
Add git-crypt info to man page
5 years ago
Tim Byrne
787de27b7c
Reorder items in man page
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
cc1993dc14
Move logic around assert_private_dirs to be more efficient
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
Ross Smith II
43ac19398a
Remove quotes from distro name
5 years ago
Tim Byrne
96bce8dbac
Release 2.2.0
...
Update version number and update documentation
* Resolve hostname using `uname -n` (#182 )
* Use /etc/os-release if lsb_release is missing (#175 )
* Issue warning for any invalid alternates found (#183 )
* Add support for gawk (#180 )
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
fe96cfce28
Update testbed image to use GnuPG 2
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
4d23bbcf11
Standardize on &> when not appending output
5 years ago
Tim Byrne
f7485915ed
Update tests for gawk support
5 years ago
Tim Byrne
758a2e0c26
Automatically prefer `gawk` over `awk`
5 years ago
Tim Byrne
c0310a43a2
Merge pull request #180 from rasa/rasa/use-gawk-on-openwrt
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
3d10309665
Issue warning for any invalid alternates found ( #183 )
5 years ago