Andrey G
fdbb9cfe26
added verbose mode for source_if_exists
...
and also expecting `file` instead of `source` as env. variable to make that possible without dancing around:
```
#!/bin/bash
file=backup && yadm bootstrap;
file=install && yadm bootstrap;
file=configure &&yadm bootstrap;
```
2023-12-21 21:05:50 -05:00
Andrey G
5a2ed6c68d
linting
2023-12-21 12:40:46 -05:00
Andrey G
f76eecc321
Create bootstrap-source
...
Add example of bootstrap that can be used to run interactive shell scripts
2023-12-21 12:28:13 -05:00
Tim Byrne
6a49e849c8
Remove trailing space
2022-06-03 15:49:14 -05:00
Tim Byrne
222182b296
Add README for contrib/commands
2022-06-03 15:49:05 -05:00
Glenn Waters
a9e7e7679b
Add yadm-untracked script.
2022-06-03 15:36:50 -05:00
Ross Smith II
c144d9f3bb
fix: Find symlinks in bootstrap-in-dir
...
Fixes #339
2021-05-06 20:11:36 -07:00
Tim Byrne
afab29c5fc
Update version number and update documentation
...
* Improve handling of submodules at upgrade (#284 , #285 , #293 )
* Improve Zsh completions (#292 , #298 )
* Use stderr for error messages (#297 )
2021-01-07 09:24:11 -06:00
Erik Flodin
7d216d47e0
Add example bootstrap script to run files in bootstrap.d
...
This script will, when installed as yadm's bootstrap script, run all
executables in $YADM_DIR/bootstrap.d.
2021-01-01 22:23:53 +01:00
Tim Byrne
dd86c8a691
Release 2.4.0
...
Update version number and update documentation
* Support multiple keys in `yadm.gpg-recipient` (#139 )
* Ensure all templates are written atomically (#142 )
* Add encrypt_with_checksums to the hooks collection (#188 )
* Escape white space in YADM_HOOK_FULL_COMMAND (#187 )
* Improve parsing of os-release (#194 )
* Improve identification of WSL (#196 )
* Fix troff warnings emitted by man page (#195 )
* Write encrypt-based exclusions during decrypt
2020-02-06 07:53:18 -06:00
Tim Byrne
02bedd712a
Add example of parsing YADM_HOOK_FULL_COMMAND
2020-01-27 07:31:58 -06:00
Tim Byrne
8c6a96545d
Add organization and documentation to hooks collection
2020-01-10 08:37:24 -06:00
Martin Zuther
0009bb350b
get rid of echo
2019-12-30 00:43:24 +01:00
Martin Zuther
499837bd80
apply code review changes
2019-12-30 00:34:27 +01:00
Martin Zuther
9c9a750009
get rid of dependencies (pure bash)
2019-12-29 15:53:01 +01:00
Martin Zuther
45b218d5c1
support encrypted files in "yadm list"
...
* export some helper functions to hooks
2019-12-29 15:21:55 +01:00
Martin Zuther
bd19e31c6e
get rid of dirname
2019-12-29 12:51:29 +01:00
Martin Zuther
3c204119fb
select one of several checksum commands
2019-12-28 22:35:55 +01:00
Martin Zuther
c190333fdf
correctly export array to subscript
...
* fix shellcheck errors and warnings
2019-12-28 16:09:19 +01:00
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 )
2019-12-28 11:17:52 +01:00
Martin Zuther
e9720fb1c3
add quotes to support spaces in filenames
2019-12-27 23:39:06 +01:00
Martin Zuther
e96345eb87
re-factor hooks
...
* gracefully pass missing dependencies (grep and sed)
2019-12-27 23:25:45 +01:00
Martin Zuther
91266ca8eb
Check encrypted files with SHA-512/256 checksums
2019-12-27 18:15:04 +01:00
Tim Byrne
b443bbede2
Add contrib/hooks
2019-03-12 22:07:25 -05:00