Commit Graph

299 Commits (0a5e7aa353621bd28a289a50c0f0d61462b18c76)

Author SHA1 Message Date
Luis López bde5ecbc66
Deduplicate openssl cipher name code (and change default value)
4 years ago
Luis López baaeb88628
Initial support for alternative cyphers.
4 years ago
James Clark 77d2da4e9b
Support architecture in alternates (#202)
4 years ago
Tim Byrne 4b99ece480
Support transcrypt (#197)
4 years ago
Tim Byrne ee9ffb6828
Reorder command list
4 years ago
Tim Byrne dd86c8a691
Release 2.4.0
4 years ago
Tim Byrne 79e93e38bc
Fix error when /proc/version is missing
4 years ago
Ross Smith II 062181be4a
Simplify WSL identification
4 years ago
Tim Byrne 69cde7f83c
Exclude files listed in yadm/encrypt when decrypt is called
4 years ago
Tim Byrne ccb75b97ea
Escape space in YADM_HOOK_FULL_COMMAND (#187)
4 years ago
Tim Byrne 76c82c763e
Improve identification of WSL (#196)
4 years ago
Tim Byrne 04b98a96cb
Ensure all templates are written atomically
4 years ago
Tim Byrne 3e42bd9f52
Merge pull request #142 from jonasc/master
4 years ago
jonasc a1845c6e8a
Write template result to temporary file and move
4 years ago
Tim Byrne 0b22220e3c
Merge pull request #139 from stigtsp/multiple-gpg-recipients
4 years ago
Tim Byrne 4546636336
Merge pull request #194 from rasa/rasa/remove-quotes-from-distro
4 years ago
Martin Zuther 499837bd80
apply code review changes
4 years ago
Martin Zuther 45b218d5c1
support encrypted files in "yadm list"
4 years ago
Martin Zuther bd19e31c6e
get rid of dirname
4 years ago
Martin Zuther c190333fdf
correctly export array to subscript
4 years ago
Martin Zuther 91266ca8eb
Check encrypted files with SHA-512/256 checksums
4 years ago
Tim Byrne b4fd9e19c2
Release 2.3.0
5 years ago
Tim Byrne 7ad28c3a97
Set exit status when running a command from `enter`
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 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
5 years ago
Tim Byrne 4d23bbcf11
Standardize on &> when not appending output
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 3d10309665
Issue warning for any invalid alternates found (#183)
5 years ago
Tim Byrne 6bf0852609
Use /etc/os-release if lsb_release is missing (#175)
5 years ago
Tim Byrne 96839a5743
Remove dependency on `hostname` (#182)
5 years ago
Tim Byrne 75c19c9cc0
Release 2.1.0
5 years ago
Tim Byrne 510169eb7f
Support double-star globs in encrypt (#109)
5 years ago
Tim Byrne 5634c09a8a
Refactor symlink code
5 years ago
Tim Byrne 61576a6ae1
Use relative symlinks for alt (#100)
5 years ago
Tim Byrne 98392b9a9c
Add function relative_path
5 years ago
Ross Smith II 2bf98a5ade
Use gawk on OpenWrt, as awk is BusyBox version
5 years ago
Tim Byrne 98915151a3
Revert version change
5 years ago
Ross Smith II 539ffd3ffc
Make symlinks relative
5 years ago
Tim Byrne 5aa1a7be75
Release 2.0.1
5 years ago
Ross Smith II 8633083716
Don't glob into parent dirs
5 years ago
Tim Byrne de73c9f4b4
Release 2.0.0
5 years ago
Tim Byrne f2b2d505a2
Reinitialize submodules during upgrade
5 years ago
Tim Byrne a217537b26
Fix URL for upgrade help
5 years ago
Tim Byrne 5a802c8afd
Allow `-l` to pass thru to the `yadm config` command
5 years ago
Tim Byrne f5287f1588
Properly format supported configs
5 years ago
Tim Byrne fc53cfd1f8
Remove `--local`
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 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 b2ef6d2e09
Merge pull request #102 from rasa/rasa-add-mingw-msys-support
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 0438e383e5
Unify the way alternate file strings are matched
5 years ago
Tim Byrne 3ba17f41fd
Fix a known bug with hidden private files
5 years ago
Tim Byrne cfda485b34
Implement future alternate processing
5 years ago
Tim Byrne f3ae31f1c2
Separate alternate linking code from other operations
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 289b8e0c6c
Remove unnecessary continuation backslashes
5 years ago
Tim Byrne cec8778578
Align continuation backslashes
5 years ago
Tim Byrne 48fc6b0db7
Support XDG base directory specification
5 years ago
Tim Byrne f0ad40376d
Create YADM_HOOKS variable for hooks dir
5 years ago
Tim Byrne a399c35e4e
Add quoting
5 years ago
Daniel Wagenknecht b404a87a89
Replace direkt calls to git with $GIT_PROGRAM
5 years ago
Tim Byrne 4613c1d0c4
Merge pull request #114 from bb010g/patch-1
5 years ago
Tim Byrne d245f633bf
Remove invalid linked alternates (#65)
5 years ago
Tim Byrne a2cc970dd6
Remove unnecessary Git invocations
5 years ago
Tim Byrne 2375a0955b
Standardize sort order
5 years ago
Tim Byrne 0c6be5e398
Fix bug with alternate linked directories
5 years ago
Tim Byrne 2aa1710214
Remove superfluous `;` in comments
5 years ago
Tim Byrne 58edf313aa
Process .yadm/encrypt in sorted order
5 years ago
addshore ec65801d9b
Run hooks on MINGW* systems
5 years ago
Tim Byrne 402b57880d
Update GPLv3 LICENSE information
5 years ago
Stig Palmquist d075438308
support multiple keys in `yadm.gpg-recipient`
5 years ago
Brayden Banks 0b9f537909
Allow for more complex Jinja templates
6 years ago
Ross Smith II 54f7cbcebe Fix OS name match for Cygwin/Msys
6 years ago
Ross Smith II 315ad0873e Fix OS check to match (Cygwin|Msys)*
6 years ago
Ross Smith II adfedf4b64 Add Mingw/Msys support
6 years ago
Tim Byrne 09a018ea5a
Release 1.12.0
7 years ago
Thomas Luzat ac2aed9ab4
Indentation: Convert tab to space
7 years ago
Tim Byrne d411db9f6f
Consolidate cd to YADM_WORK
7 years ago
Tim Byrne c24906ec10
Handle exclusions in `.yadm/encrypt` (#86)
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
Tim Byrne 57866714c4
Replace `echo` with `printf` (#87)
7 years ago
Tim Byrne abf6cd1c4c
Merge pull request #81 from japm48/patch-1
7 years ago
Tim Byrne 5d4f3aac5b
Release 1.11.1
7 years ago
Tim Byrne ebc90bfc98
Create secured private dirs (#74)
7 years ago
japm48 8e3a5dbf47 Fix for issue #81
7 years ago
Tim Byrne 4b5b6c44d3
Release 1.11.0
7 years ago
Tim Byrne 0168bcfb5e
Query worktree directly from repo
7 years ago
Tim Byrne 61270c8277
Prevent command from running if "pre" hook fails
7 years ago
Tim Byrne f73c873681
Expose some internal data to all hooks
7 years ago
Tim Byrne 35743e3711
Tie "post" hooks to yadm exits
7 years ago
Tim Byrne 880964e2b2
Some initial tweaks to hooks
7 years ago
Tim Byrne df21cd2cb8
Merge pull request #70 from cweagans/hooks
7 years ago
Tim Byrne 5293db986a
Support `YADM_DISTRO` in Jinja templates (#68)
7 years ago
Cameron Eagans 41409631a1 Add script hooks
7 years ago
Tim Byrne 7538851fe3
Gracefully handle changes in yadm.cygwin-copy
7 years ago
Tim Byrne f8e0bd593d
Support `yadm.cygwin-copy` configuration (#62)
7 years ago
Tim Byrne 68937f3cad
Release 1.10.0
7 years ago
Tim Byrne 246eab8b52
Release 1.09
7 years ago
Tim Byrne 356c47a19f
Add Bash completion script (#60)
7 years ago
Tim Byrne eabf9091fb
Support WSL detection (#61)
7 years ago
Tim Byrne df4652d6de
Release 1.08
7 years ago
Tim Byrne 9824de5410
Change template indicator to `##yadm.j2`
7 years ago
Tim Byrne 588bc6eafe
Support local.hostname properly (#59)
7 years ago
Tim Byrne 00133032ef
Add minor improvements to template processing
7 years ago
Tim Byrne aaa4152fac
Remove trailing whitespace
7 years ago
Tim Byrne fd6fa8c923
Merge pull request #58 from janschulz/jinja_processing
7 years ago
Tim Byrne 4e05be7020
Set prompt for sub-shells
7 years ago
Tim Byrne 1c34bc8e7f
Merge pull request #57 from renard/enter-function
7 years ago
Jan Schulz a479b70d8a Add jinja processing to alt command
7 years ago
Tim Byrne 5678e383d8
Give priority to CLASS by processing those patterns separately (#51)
7 years ago
Tim Byrne 5141433776
Support encrypt globs and paths with space (#53, #54)
7 years ago
Sébastien Gross 831461e91e Add `enter` function for easier interaction with git repo.
7 years ago
Tim Byrne def7e732db
Release 1.07
7 years ago
Tim Byrne f2b2b64750
Bring man page up-to-date with new features
7 years ago
Tim Byrne 2a7203a67b
Unset `GIT_DIR` prior to executing bootstrap
7 years ago
Tim Byrne a612a98136
Explicitly read answers from `/dev/tty`
7 years ago
Tim Byrne 7f6fe24280
Indicate `stash` should be run from within `$HOME`
7 years ago
Tim Byrne d28df86494
Store class/os/host/user overrides in the local repo config
7 years ago
Tim Byrne 76d90db627
Replace "TODO text" for `yadm config` (#46)
7 years ago
Tim Byrne 08e6cd40cb
Offer bootstrap after clone (#45)
7 years ago
Tim Byrne e82c4dac4c
Add bootstrap command (#42)
7 years ago
Tim Byrne 7d3c9e1cb5
Run auto-alt after `yadm config`
7 years ago
Tim Byrne e2d8742a40
Support stashing of conflicting data during clone (#44)
7 years ago
Tim Byrne ce4ed41f10
Support custom classes for alt-links (#21)
7 years ago
Tim Byrne 3b4c405d7f
Allow override of OS/Host/User (#21)
7 years ago
Tim Byrne eaa252f721
Implement alt-link wildcards (#43)
7 years ago
Tim Byrne 02bf83c5ef
Restrict alt-link delimiter to a period (#49)
7 years ago
Tim Byrne 672c985e88
Release 1.06
7 years ago