1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-13 13:03:58 +00:00
Go to file
Ross Smith II ec873d1ecd Add yadm ignore to ignore encrypted files
The new ignore command does the following:

1. Scans ~/.yadm/encrypt and adds its entries to ~/.gitignore.
   If  ~/.gitignore doesn't exist, it's created. Any lines that begin
   with # or ! are skipped, as well. If the entry is already in
   ~/.gitignore (either as /file, !/file, file, or !file), it's
   skipped. While 'file' and '!file' could lead to unintended skips,
   not including them would more likely lead to unintended skips.

2. Scans the list of actual files found that match ~/.yadm/encrypt
   entries, and adds them to ~/.gitignore. For example, if
   ~/.yadm/encrypt contains .ssh/config##Linux, and .ssh/config exists,
   it adds .ssh/config to ~/.gitignore, unless the entry is already in
   ~/.gitignore (either as /file, !/file, file, or !file).

- Since ~/.yadm/encrypt entries are rooted in $YADM_WORK without a
  leading slash, a leading slash is added to the ~/.gitignore entries
  to provide matching equivalency.

- A new option --yadm-ignore allows the user to override the location
  of ~/.gitignore.

- Uses sed to trim any leading or trailing whitespace when reading
  ~/.yadm/encrypt and ~/.gitignore.
2018-03-10 11:01:48 -08:00
completion Capitalize headings 2017-10-24 07:40:40 -05:00
test Add test-case for exclusions in .yadm/encrypt (#86) 2017-09-21 14:21:22 -05:00
.gitattributes Force eol=lf 2017-01-09 16:52:01 -06:00
.gitignore Ignore jekyll-created content 2016-09-07 22:35:05 -05:00
.notes.md Add notes about common release steps 2017-02-11 11:36:58 -06:00
.travis.yml Run Travis CI tests within docker container 2017-01-05 16:59:12 -06:00
bootstrap Use generic example 2017-02-08 21:06:00 -08:00
CHANGES Release 1.12.0 2017-10-24 22:12:23 -05:00
CONTRIBUTORS Release 1.12.0 2017-10-24 22:12:23 -05:00
Dockerfile Add lsb-release to testbed (to support YADM_DISTRO) 2017-07-03 16:21:06 -05:00
LICENSE Release 1.07 2017-02-10 14:53:52 -08:00
Makefile Fix contrib target 2017-10-16 17:36:14 -05:00
README.md Release 1.05 2016-09-08 08:08:22 -05:00
yadm Add yadm ignore to ignore encrypted files 2018-03-10 11:01:48 -08:00
yadm.1 Release 1.12.0 2017-10-24 22:12:23 -05:00
yadm.md Release 1.12.0 2017-10-24 22:12:23 -05:00
yadm.spec Release 1.12.0 2017-10-24 22:12:23 -05:00

yadm - Yet Another Dotfiles Manager Build Status

Features, usage, examples and installation instructions can be found on the website.

https://thelocehiliosan.github.io/yadm/