Commit Graph

283 Commits (42c74efbac61e47789626ea90930e35fa2d0c15f)

Author SHA1 Message Date
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
Tim Byrne fe0ddd4c1a
Merge pull request #26 from cnaj/master
8 years ago
Tim Byrne eba6557ae8
Ignore empty lines/whitespace lines in .yadm/encrypt (#40)
8 years ago
Tim Byrne 2a956d15ad
Allow Git program to be configured via yadm.git-program (#30)
8 years ago
Tim Byrne 044c6e4d62
Support alt-links for encrypted files (#34)
8 years ago
Tim Byrne 635468b707
Check exit code directly (SC2181)
8 years ago
Tim Byrne 2033e5673e
Merge pull request #35 from shkitch/master
8 years ago
Tim Byrne 39e5548347
Merge pull request #36 from roothybrid7/feature/alt-with-spaces
8 years ago
Tim Byrne fd77d024dd
Improve portability of `hostname` (#23)
8 years ago
Satoshi Ohki 2140970157 Fixed yadm-alt to work even if whitespaces exist in filepath
8 years ago
Uroš Golja 763146043e Make yadm exit with the return value of git.
8 years ago
Tomas Cernaj 35da3eeb6e Make yadm work with Git for Windows under Cygwin
8 years ago
Tim Byrne 05ed83ea34
Release 1.05
8 years ago
Tim Byrne 60eb4c415f
Fallback to using `ls` if `/bin/ls` does not exist (#22)
8 years ago
Tim Byrne ce0acf1505
Support alternate gpg program (#19)
8 years ago
Tim Byrne d500ccfbd9
Use `-f -` with tar `-x`, `-c`, and `-t` operations (#18)
8 years ago
Tim Byrne fa286f0c9d
Support for symlinked directories (#17)
8 years ago
Tim Byrne fea665eb34
Use `#!/bin/sh` for portability (#14)
8 years ago
Tim Byrne d55725eafa
Improve portability of shebang line (#14)
8 years ago
Tim Byrne f0a0015209
Release 1.04
8 years ago
Tim Byrne aeb2e5d6c7 Prevent the mixing of output and gpg prompts
8 years ago
Tim Byrne ea3b2ecfa8 Support `yadm.gpg-recipient = ASK`
8 years ago
Tim Byrne 5ad5b2df7e Double quote array expansion
8 years ago
Tim Byrne fbaf5b6cf4 Merge pull request #8 from esphen/master
8 years ago
Espen Henriksen 34ae748408
#7 Add support for asymmetric encryption
8 years ago
Tim Byrne ca63fddad0 Add support for path overrides
8 years ago
Tim Byrne b662b31cd4 Resolve shellcheck errors in yadm
8 years ago
Tim Byrne bbec7dd540 Handle errors during `git fetch origin`
8 years ago
Tim Byrne 301b537f15 Disable function calls if `YADM_TEST=1`
8 years ago
Tim Byrne 6918e1b7df Fix grammar
8 years ago
Tim Byrne 36a3482c8d Explicitly exit zero from main()
8 years ago
Tim Byrne a60ed8b655 Add `-Y`/`--yadm-dir` options
8 years ago
Tim Byrne 431f149730 Translate gitconfig to config inside git_command()
8 years ago
Tim Byrne 10f8833968 Release 1.03
9 years ago
Tim Byrne df7ccbd602 Determine user via `id -u -n`
9 years ago
Patrick Hof 9907ddb02e Added username matching for alternate files
9 years ago
Tim Byrne 0e7e92a3c1 Release 1.02
9 years ago
Tim Byrne 3a1a370efb Handle permissions for `~/.gnupg/*gpg`
9 years ago
Tim Byrne cbb854a32b Release 1.01
9 years ago
Tim Byrne eb60da77b8 Set `status.showUntrackedFiles` to "no"
9 years ago
Tim Byrne 2024bd0bf1 Add a default alternate suffix of `##`
9 years ago
Tim Byrne df99648478 Change `==` to `=`
9 years ago
Tim Byrne 2ede46f5e4 Offer to add `files.gpg` if untracked
9 years ago
Tim Byrne d1fe16407d Add option to list encrypted files
9 years ago
Tim Byrne 5c0237c4b6 Update permissions on the actual .ssh directory too
9 years ago
Tim Byrne a403128b88 Complete the manpage, and sync the help in program
9 years ago
Tim Byrne 2655b39e5b Confirm targets exist before linking
9 years ago
Tim Byrne 943d146c62 Fix permission changes on Linux
9 years ago
Tim Byrne 886c5ada53 Fix merge notice
9 years ago
Tim Byrne c941690295 Create first public version
9 years ago