Commit Graph

136 Commits

Author SHA1 Message Date
Tim Byrne f2b2b64750
Bring man page up-to-date with new features 2017-02-03 07:36:53 -06:00
Tim Byrne 2a7203a67b
Unset `GIT_DIR` prior to executing bootstrap 2017-01-30 21:20:37 -06:00
Tim Byrne 97b784d55d
Process bootstrap with Shellcheck 2017-01-27 17:25:30 -06:00
Tim Byrne 08427328f9
Add initial version of bootstrap script (#48) 2017-01-27 17:09:48 -06:00
Tim Byrne a612a98136
Explicitly read answers from `/dev/tty`
This is necessary if **yadm** is started by piping it into `bash`.
2017-01-27 17:08:07 -06:00
Tim Byrne 7f6fe24280
Indicate `stash` should be run from within `$HOME` 2017-01-27 08:23:15 -06:00
Tim Byrne e90ebd67be
Add `curl` to docker testbed image 2017-01-26 23:32:07 -06:00
Tim Byrne d28df86494
Store class/os/host/user overrides in the local repo config
Overrides are meant to be local to each system, unlike other
configurations which are often added to a user's dotfiles repository.

With this change, the configurations change names:

  alt.class => local.class
  alt.os    => local.os
  alt.host  => local.host
  alt.user  => local.user
2017-01-26 10:48:40 -06:00
Tim Byrne 76d90db627
Replace "TODO text" for `yadm config` (#46) 2017-01-25 17:31:56 -06:00
Tim Byrne 671b5c6ec6
Support both gpg1 and gpg2 missing key error messages 2017-01-25 09:13:59 -06:00
Tim Byrne 08e6cd40cb
Offer bootstrap after clone (#45) 2017-01-25 08:41:17 -06:00
Tim Byrne 12a23178d8
Tests for offering bootstrap during clone (#45) 2017-01-25 08:31:40 -06:00
Tim Byrne e82c4dac4c
Add bootstrap command (#42) 2017-01-23 17:53:40 -06:00
Tim Byrne 3f1a8364ae
Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
Tim Byrne 7d3c9e1cb5
Run auto-alt after `yadm config` 2017-01-23 17:53:40 -06:00
Tim Byrne e2d8742a40
Support stashing of conflicting data during clone (#44) 2017-01-20 17:11:23 -06:00
Tim Byrne 02107c35d9
Add tests for stashed conflicting data during clone (#44) 2017-01-20 16:50:14 -06:00
Tim Byrne ce4ed41f10
Support custom classes for alt-links (#21)
Class can be set using `yadm config alt.class <class>`
2017-01-20 00:14:10 -06:00
Tim Byrne d7abc7ff41
Create tests for class support in alt-links (#21) 2017-01-20 00:13:56 -06:00
Tim Byrne 3b4c405d7f
Allow override of OS/Host/User (#21) 2017-01-18 19:51:28 -06:00
Tim Byrne 1534420106
Acceptance tests for overriding OS/Host/User (#21) 2017-01-18 19:51:13 -06:00
Tim Byrne eaa252f721
Implement alt-link wildcards (#43) 2017-01-18 01:46:51 -06:00
Tim Byrne 3ea710317a
Add acceptance tests for alt-link wildcards (#43) 2017-01-18 01:46:51 -06:00
Tim Byrne 02bf83c5ef
Restrict alt-link delimiter to a period (#49) 2017-01-16 17:52:04 -06:00
Tim Byrne a25a180b88
Add acceptance tests for alt-link delimiters (#49)
Delimiters other than `.` should not be used.
This adds some test with delimiter `_`.
2017-01-16 17:51:48 -06:00
Tim Byrne 3f7e8b148e
Add make target `parallel` 2017-01-16 17:01:53 -06:00
Tim Byrne 672c985e88
Release 1.06
Update version number and update documentation

* Improve portability of `hostname` (#23)
* Fix incompatibilities between Cygwin and Git for Windows (#26)
* Allow Git program to be configured via yadm.git-program (#30)
* Support alt-links for encrypted files (#34)
* Exit with the same return value as Git (#35)
* Support spaces in alt-link paths (#36)
* Ignore empty lines in .yadm/encrypt (#40)
* Fix typos (#41)
2017-01-12 17:15:46 -06:00
Tim Byrne a09738616d
Expand branches used for generating CONTRIBUTORS 2017-01-12 17:11:30 -06:00
Tim Byrne 045042710d
Add alt-links for encrypted files to man page (#34) 2017-01-12 16:55:11 -06:00
Tim Byrne 5afb334767
Add yadm.git-program information to man page (#30) 2017-01-12 16:27:48 -06:00
Tim Byrne 006fc41001
Update spec for Fedora standards 2017-01-12 07:50:55 -06:00
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