Commit Graph

655 Commits

Author SHA1 Message Date
Tim Byrne db6657016d
Merge pull request #41 from sinisterstuf/typo-os 2017-01-10 07:33:03 -06:00
Siôn Le Roux 7bf1e63eca Fix OS typo in docs
Replace *operation* system with *operating* system in man page.
2017-01-10 12:01:37 +01:00
Tim Byrne bd2a763624
Force `eol=lf` 2017-01-09 16:52:01 -06:00
Tim Byrne fe0ddd4c1a
Merge pull request #26 from cnaj/master 2017-01-08 20:33:46 -06:00
Tim Byrne eba6557ae8
Ignore empty lines/whitespace lines in .yadm/encrypt (#40) 2017-01-08 11:11:01 -06:00
Tim Byrne ef796bc2c1
Add acceptance test for space-lines/empty-lines in .yadm/encrypt (#40) 2017-01-08 11:05:33 -06:00
Tim Byrne 2a956d15ad
Allow Git program to be configured via yadm.git-program (#30) 2017-01-07 19:47:25 -06:00
Tim Byrne 25d3123988
Unit tests for alternate Git program (#30) 2017-01-07 19:47:18 -06:00
Tim Byrne 0fd3e1559d
Rename unit tests for `ls` program 2017-01-07 19:47:07 -06:00
Tim Byrne 044c6e4d62
Support alt-links for encrypted files (#34) 2017-01-07 16:13:47 -06:00
Tim Byrne 12a5179e8a
Add acceptance tests for alt-linking encrypted files (#34) 2017-01-07 16:04:55 -06:00
Tim Byrne 635468b707
Check exit code directly (SC2181) 2017-01-06 17:05:28 -06:00
Tim Byrne 2033e5673e
Merge pull request #35 from shkitch/master 2017-01-06 16:31:09 -06:00
Tim Byrne 067a359e42
Add acceptance tests for improved exit values (#35) 2017-01-06 16:26:00 -06:00
Tim Byrne 39e5548347
Merge pull request #36 from roothybrid7/feature/alt-with-spaces 2017-01-06 10:35:03 -06:00
Tim Byrne 5107198422
Add acceptance tests for white space alt paths (#36) 2017-01-06 07:50:36 -06:00
Tim Byrne fd77d024dd
Improve portability of `hostname` (#23) 2017-01-05 16:59:22 -06:00
Tim Byrne 0a5741df8f
Run Travis CI tests within docker container 2017-01-05 16:59:12 -06:00
Tim Byrne 06757b3544
Write .bash version of .bats to /tmp 2017-01-05 16:58:59 -06:00
Tim Byrne c4f2141e35
Add Dockerfile for testbed
To unify the testing platform, a docker image will be used. This image
will contain all of the test system prerequisites. This should make it
easier to run tests uniformly across developer machines and Travis CI.

This image will be published at https://hub.docker.com/r/yadm/testbed/
2017-01-05 16:58:18 -06:00
Satoshi Ohki 2140970157 Fixed yadm-alt to work even if whitespaces exist in filepath 2017-01-05 19:52:56 +09:00
Uroš Golja 763146043e Make yadm exit with the return value of git. 2016-12-24 01:12:35 +01:00
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.
2016-10-09 22:18:17 +02:00
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)
2016-09-08 08:08:22 -05:00
Tim Byrne e40c054805
Use gpg1 (if available) for automated tests
gnupg2 does not support agent-less password input (breaking the
expect-driven tests).
2016-09-07 22:35:36 -05:00
Tim Byrne 13a1395e45
Ignore jekyll-created content 2016-09-07 22:35:05 -05:00
Tim Byrne 60eb4c415f
Fallback to using `ls` if `/bin/ls` does not exist (#22) 2016-08-28 22:06:14 -05:00
Tim Byrne ce0acf1505
Support alternate gpg program (#19) 2016-08-14 23:53:26 -05:00
Tim Byrne e4d1b3a165
Unit tests for alternate gpg program (#19) 2016-08-14 23:53:21 -05:00
Tim Byrne d500ccfbd9
Use `-f -` with tar `-x`, `-c`, and `-t` operations (#18) 2016-08-14 23:53:17 -05:00
Tim Byrne fa286f0c9d
Support for symlinked directories (#17) 2016-08-14 23:53:12 -05:00
Tim Byrne 85abcf981c
Acceptance tests for symlinked directories (#17) 2016-08-14 23:52:54 -05:00
Tim Byrne fea665eb34
Use `#!/bin/sh` for portability (#14) 2016-06-18 10:38:04 -05:00
Tim Byrne bd3ed72ee8
Unset GPG_AGENT_INFO while tests are running 2016-06-08 08:33:47 -05:00
Tim Byrne d55725eafa
Improve portability of shebang line (#14) 2016-06-08 08:13:19 -05:00
Tim Byrne 86bb3be0cb
Merge pull request #13 from esphen/master 2016-05-05 11:33:32 -05:00
Espen Henriksen 2884e41151 Remove gentoo ebuild and update README gentoo instructions 2016-05-05 11:28:16 -05:00
Espen Henriksen 14690cf706 Implement Gentoo bugzilla review feedback 2016-05-05 11:26:44 -05:00
Tim Byrne 3677b3b740 A yadm formula is now part of homebrew-core 2016-04-29 13:49:33 -05:00
Tim Byrne 117691c261 Update SPEC to reference the correct source file 2016-04-27 02:28:46 -05:00
Tim Byrne 7cc4f0afc5 Switch yum repos to Copr (instead of Bintray) 2016-04-27 01:20:19 -05:00
Tim Byrne 75a8b60d89 Update SPEC to comply with Fedora packaging guidelines 2016-04-27 00:36:14 -05:00
Tim Byrne 84f7c8cb88
Merge pull request #10 from esphen/master 2016-04-23 16:34:11 -05:00
Espen Henriksen 18ce904b9e
Use curl for Gentoo install 2016-04-23 20:44:54 +02:00
Espen Henriksen 39d6d16eae
#9 Add gentoo ebuild 2016-04-23 18:30:37 +02:00
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
2016-04-22 16:33:02 -05:00
Tim Byrne aeb2e5d6c7 Prevent the mixing of output and gpg prompts 2016-04-21 10:00:12 -05:00
Tim Byrne 8bede1cb84 Test for correct error message when public key is missing 2016-04-21 09:10:47 -05:00
Tim Byrne ea3b2ecfa8 Support `yadm.gpg-recipient = ASK` 2016-04-21 08:58:07 -05:00
Tim Byrne 5ad5b2df7e Double quote array expansion 2016-04-21 07:39:04 -05:00