1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
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
Tim Byrne
fbaf5b6cf4 Merge pull request #8 from esphen/master 2016-04-21 07:33:49 -05:00
Tim Byrne
7854275488 Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
Espen Henriksen
33c8cd8a21
#7 Document gpg-recipient 2016-04-19 21:56:00 +02:00
Espen Henriksen
34ae748408
#7 Add support for asymmetric encryption 2016-04-19 21:14:46 +02:00
Tim Byrne
b11e26c59a Document new universal options 2016-04-18 17:24:04 -05:00
Tim Byrne
ca63fddad0 Add support for path overrides
* `--yadm-repo`
  * `--yadm-config`
  * `--yadm-encrypt`
  * `--yadm-archive`
2016-04-08 17:31:00 -05:00
Tim Byrne
27d0e7baa2 Refactor path tests
Including new path tests for planned features
2016-04-08 17:31:00 -05:00
Tim Byrne
340f88bd52 Use -n instead of negating -z 2016-04-08 17:31:00 -05:00
Tim Byrne
1f2bd1f57b Configure travis-ci testing
Tests should be viewable at https://travis-ci.org/TheLocehiliosan/yadm
2016-04-07 08:16:22 -05:00
Tim Byrne
f48dea6879 Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
Tim Byrne
b662b31cd4 Resolve shellcheck errors in yadm 2016-04-07 08:16:22 -05:00
Tim Byrne
b3209de4dc Add shellcheck tests 2016-04-07 08:16:13 -05:00
Tim Byrne
d2cd3b1b26 Add tests
Tests will be run using `bats`.
2016-04-07 08:14:13 -05:00