1
0
Fork 0
mirror of synced 2024-11-16 06:15:34 -05:00
Commit graph

346 commits

Author SHA1 Message Date
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
Tim Byrne
bbec7dd540 Handle errors during git fetch origin 2016-03-30 03:31:55 -05:00
Tim Byrne
301b537f15 Disable function calls if YADM_TEST=1
This is to allow loading the functions only during tests.
2016-03-23 19:16:21 -05:00
Tim Byrne
6918e1b7df Fix grammar 2016-03-23 19:14:25 -05:00
Tim Byrne
36a3482c8d Explicitly exit zero from main() 2016-03-23 19:13:04 -05:00
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.
2016-03-23 02:48:21 -05:00
Tim Byrne
431f149730 Translate gitconfig to config inside git_command()
This consolidates calls to git_command()
2016-02-13 17:45:47 -06:00
Tim Byrne
4948f1b137 Rebuild CONTRIBUTORS 2016-01-22 13:08:59 -06:00
Tim Byrne
fdea9d12bd Merge pull request #2 from kosciak9/master
Add information about AUR package
2016-01-22 13:07:17 -06:00
Franciszek Madej
ed1175e0a6 I've made AUR package for yadm, so I've
updated README to reflect it
2016-01-22 18:45:00 +01:00
Tim Byrne
10f8833968 Release 1.03
Update version number and update documentation
2016-01-08 21:47:17 -06:00
Tim Byrne
20f47be9fe Add CONTRIBUTORS 2016-01-08 21:46:06 -06:00
Tim Byrne
05aa2608fe Update man page with OS.HOSTNAME.USER 2016-01-08 21:43:23 -06:00
Tim Byrne
df7ccbd602 Determine user via id -u -n 2015-12-17 07:52:58 -06:00
Tim Byrne
8c9deada09 Merge pull request #1 from courts/master 2015-12-17 07:51:01 -06:00
Patrick Hof
9907ddb02e Added username matching for alternate files 2015-12-16 06:31:01 +01:00
Tim Byrne
4e01c28602 Add documentation for installing via RPM 2015-09-09 21:26:39 -05:00
Tim Byrne
fe6e2a122f Add specfile for RPM building 2015-09-09 21:21:06 -05:00
Tim Byrne
69bde74247 Add example command for download 2015-09-08 07:47:38 -05:00
Tim Byrne
fdcd237c37 Use em-dashes properly
I only recently learned the difference between hyphen, en-dash,
em-dash, minus, etc.
2015-08-29 10:40:29 -05:00
Tim Byrne
04a75cf5ed Document the -w switch for the init command 2015-08-29 10:40:29 -05:00
Tim Byrne
0e7e92a3c1 Release 1.02
Update version number and update documentation
2015-08-12 00:56:36 -05:00
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.
2015-08-07 07:18:22 -05:00
Tim Byrne
cbb854a32b Release 1.01
Update version number and update documentation
2015-07-26 16:56:22 -05:00
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.
2015-07-26 16:55:32 -05:00
Tim Byrne
1fe02b6da1 Add SSH example to README 2015-07-21 08:46:53 -05:00
Tim Byrne
8f1606439a Add installation info 2015-07-20 16:29:51 -05:00
Tim Byrne
9967de4efa Refine documentation 2015-07-19 13:01:52 -05:00
Tim Byrne
2024bd0bf1 Add a default alternate suffix of ##
Now yadm chooses these three suffixes in order:
 - `##SYSTEM.HOSTNAME`
 - `##SYSTEM`
 - `##`
2015-07-19 12:27:04 -05:00
Tim Byrne
614b2cd8b8 Initial attempt at a README file 2015-07-17 16:27:50 -05:00
Tim Byrne
df99648478 Change == to = 2015-07-17 16:21:47 -05:00
Tim Byrne
135ed8d4b7 Add recommendation for using a private repository 2015-07-17 02:29:20 -05:00
Tim Byrne
2ede46f5e4 Offer to add files.gpg if untracked 2015-07-16 21:38:51 -05:00
Tim Byrne
d1fe16407d Add option to list encrypted files 2015-07-16 20:57:53 -05:00
Tim Byrne
5a44ef25ca Add relative link to the markdown man page 2015-07-16 19:45:34 -05:00
Tim Byrne
f58f974d50 Add markdown version of man page 2015-07-16 19:38:43 -05:00
Tim Byrne
f1a75db991 Create make targets for processing documentation 2015-07-16 19:38:17 -05:00
Tim Byrne
5c0237c4b6 Update permissions on the actual .ssh directory too 2015-07-16 17:26:02 -05:00
Tim Byrne
a403128b88 Complete the manpage, and sync the help in program 2015-07-16 17:25:13 -05:00
Tim Byrne
2655b39e5b Confirm targets exist before linking
Targets *might* exist in Git, but not in the work tree.
(especially when initially cloning)
2015-07-14 10:04:09 -05:00
Tim Byrne
943d146c62 Fix permission changes on Linux
`chmod -v` on OSX is non-standard and won't work elsewhere
2015-07-14 09:57:45 -05:00
Tim Byrne
886c5ada53 Fix merge notice 2015-07-14 08:16:45 -05:00
Tim Byrne
c941690295 Create first public version 2015-07-14 07:48:47 -05:00