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
...
When using Git for Windows (a.k.a. msysGit) from Cygwin, git stumbles
over paths in Unix notation. Git for Windows only accepts Windows
paths (mixed notation is OK, for example `C:/GITREPO/`). This patch
converts paths passed to and from git to the appropriate notation using
cygpath if yadm is run under Cygwin and Git for Windows is detected.
8 years ago
Tim Byrne
05ed83ea34
Release 1.05
...
Update version number and update documentation
* Improve portability of shebang line (#14 )
* Support for symlinked directories (#17 )
* Improve portability of tar parameters (#18 )
* Support alternate gpg program (#19 )
* Fallback to using `ls` if `/bin/ls` does not exist (#22 )
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
...
Update version number and update documentation
* Support alternate paths for yadm data (#4 , #5 )
* Support asymmetric encryption (#7 , #8 )
* Prevent the mixing of output and gpg prompts
9 years ago
Tim Byrne
aeb2e5d6c7
Prevent the mixing of output and gpg prompts
9 years ago
Tim Byrne
ea3b2ecfa8
Support `yadm.gpg-recipient = ASK`
9 years ago
Tim Byrne
5ad5b2df7e
Double quote array expansion
9 years ago
Tim Byrne
fbaf5b6cf4
Merge pull request #8 from esphen/master
9 years ago
Espen Henriksen
34ae748408
#7 Add support for asymmetric encryption
9 years ago
Tim Byrne
ca63fddad0
Add support for path overrides
...
* `--yadm-repo`
* `--yadm-config`
* `--yadm-encrypt`
* `--yadm-archive`
9 years ago
Tim Byrne
b662b31cd4
Resolve shellcheck errors in yadm
9 years ago
Tim Byrne
bbec7dd540
Handle errors during `git fetch origin`
9 years ago
Tim Byrne
301b537f15
Disable function calls if `YADM_TEST=1`
...
This is to allow loading the functions only during tests.
9 years ago
Tim Byrne
6918e1b7df
Fix grammar
9 years ago
Tim Byrne
36a3482c8d
Explicitly exit zero from main()
9 years ago
Tim Byrne
a60ed8b655
Add `-Y`/`--yadm-dir` options
...
An alternate yadm directory may be specified for every command. This
changes where the repository, configurations, and encrypted files are
located.
9 years ago
Tim Byrne
431f149730
Translate gitconfig to config inside git_command()
...
This consolidates calls to git_command()
9 years ago
Tim Byrne
10f8833968
Release 1.03
...
Update version number and update documentation
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
...
Update version number and update documentation
9 years ago
Tim Byrne
3a1a370efb
Handle permissions for `~/.gnupg/*gpg`
...
By default, gpg keyrings and configurations will have their permissions
locked down. The option `yadm.gpg-perms` can be used to disable.
9 years ago
Tim Byrne
cbb854a32b
Release 1.01
...
Update version number and update documentation
9 years ago
Tim Byrne
eb60da77b8
Set `status.showUntrackedFiles` to "no"
...
Each time the yadm repository is initialized or cloned,
set `status.showUntrackedFiles` to "no". This prevents untracked files
and directories from showing up in status commands. This seems to be the
most sensible default, because usually there will be MANY untracked
files in a user's $HOME directory.
9 years ago
Tim Byrne
2024bd0bf1
Add a default alternate suffix of `##`
...
Now yadm chooses these three suffixes in order:
- `##SYSTEM.HOSTNAME`
- `##SYSTEM`
- `##`
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
...
Targets *might* exist in Git, but not in the work tree.
(especially when initially cloning)
9 years ago
Tim Byrne
943d146c62
Fix permission changes on Linux
...
`chmod -v` on OSX is non-standard and won't work elsewhere
9 years ago
Tim Byrne
886c5ada53
Fix merge notice
9 years ago
Tim Byrne
c941690295
Create first public version
9 years ago