Marcel Robitaille
9211c215bf
Remove useless method argument
...
I don't need this argument anymore
2021-02-06 21:45:21 -05:00
Marcel Robitaille
6f826b1d96
Fix defined outside constructor
2021-02-06 21:45:21 -05:00
Marcel Robitaille
41114c81be
Clarify variable names in comparator
2021-02-06 21:45:20 -05:00
Marcel Robitaille
fdc6c91e08
Add dotfile-specific ignore_missing option
2021-02-06 21:42:31 -05:00
Marcel Robitaille
b4d7791a60
Add global ignore_missing_in_dotdrop option
2021-02-06 21:41:43 -05:00
Marcel Robitaille
4a20148782
Fix line length
2021-02-06 21:41:43 -05:00
Marcel Robitaille
8081b4adf5
Option to ignore missing files update and compare
2021-02-06 21:41:43 -05:00
deadc0de6
900f705b30
bump version
v1.4.3
2021-01-29 22:40:10 +01:00
deadc0de6
cd90abd9c8
fix coveralls
2021-01-29 22:28:20 +01:00
deadc0de6
9e159f84bb
add coveralls token for tests
2021-01-29 22:13:53 +01:00
deadc0de6
f4adb527cc
bump version
v1.4.2
2021-01-29 21:49:43 +01:00
deadc0de6
c52898af88
Merge branch 'master' of github.com:deadc0de6/dotdrop
2021-01-29 21:45:45 +01:00
deadc0de6
cccda6e284
fail early when profile does not exist ( #300 )
2021-01-29 21:45:32 +01:00
deadc0de
39d52a2c80
Merge pull request #298 from jtt9340/negative-ignore-patterns
...
New feature: Negative ignore patterns
2020-12-31 14:26:25 +01:00
Joey Territo
a93d47556b
Fix formatting for YAML example in docs/config.md
...
Accidentally used a hard tab instead of spaces when indenting a YAML code snippet
2020-12-29 03:06:59 +00:00
Joey Territo
6d5955b0a5
Add documentation for the "negative ignore pattern" feature
2020-12-28 22:00:35 -05:00
Joey Territo
ccd3133ebd
Add warning for when negative ignore does not match an ignored file
2020-12-23 20:52:32 -05:00
Joey Territo
0c0acdd843
Reformat updater.py and utils.py to match pycodestyle
2020-12-22 21:56:00 -05:00
Joey Territo
963a848b2b
Add unit tests for relative negative ignore pattern in update command
2020-12-22 21:36:48 -05:00
Joey Territo
4d2f9bd285
Add unit test for negative ignore patterns in import command
2020-12-22 20:43:29 -05:00
Joey Territo
f694cdcbb7
Add unit test for global negative ignore patterns in update command
2020-12-21 20:30:47 -05:00
Joey Territo
4cd6d3bd24
Add unit test for global negative ignore patterns in compare command
2020-12-21 18:08:53 -05:00
Joey Territo
c0a192ea12
Fix typo in install-negative-ignore.sh: converage -> coverage
2020-12-21 17:39:43 -05:00
Joey Territo
4d827e8d3d
Add more test cases to the update-negative-ignore test
2020-12-20 14:03:38 -05:00
Joey Territo
39ff71b5c2
Add unit test for negative ignore patterns in update command
2020-12-18 18:55:20 -05:00
Joey Territo
dce19eb268
Add logic for respecting ignores/negative ignores when updating files
2020-12-18 18:54:42 -05:00
Joey Territo
e1eb5f99c1
Add unit tests for relative negative ignore pattern in compare command
2020-12-16 18:10:02 -05:00
Joey Territo
b09651be74
Fix unit test for negative ignore patterns in compare command
...
See explanation in commit a73cfc2 for explanation
2020-12-15 22:02:58 -05:00
Joey Territo
a73cfc2ef7
Fix unit test for negative ignore patterns in install command
...
On macOS, creating a temporary directory creates a hard link to a file with a different name, which causes dotdrop to think it is importing a symlink. This causes the unit tests to fail as dotdrop attempts to ask the user if it should dereference the symlink, but dotdrop is not connected to stdin when the shell script tests are running so dotdrop crashes with an EOFError. The solution is to pass the -f flag when invoking `dotdrop import` in tests.
2020-12-15 21:34:30 -05:00
Joey Territo
0b58578aa0
Add unit test for negative ignore patterns in compare command
2020-12-14 20:32:25 -05:00
Joey Territo
10f9f7917e
Add unit test for negative ignore patterns in install command
2020-12-14 19:24:45 -05:00
Joey Territo
8feb668ccd
Better implementation of ignore patterns
2020-12-14 19:24:45 -05:00
Joey Territo
cc63fd0dc1
First attempt at implementing negative ignore patterns
2020-12-14 18:58:50 -05:00
deadc0de6
636c1ade26
return err if need update
2020-12-12 15:31:25 +01:00
deadc0de6
c021e0cd0a
update version checker
2020-12-12 15:28:55 +01:00
deadc0de6
2e0bab0ba2
ensure ignore are respected
2020-12-11 19:45:03 +01:00
deadc0de6
f6ac82082f
update tests
2020-12-11 19:44:44 +01:00
deadc0de6
1cde6c0988
adding test for #296
2020-12-11 16:57:33 +01:00
deadc0de
d201c9ea12
Merge pull request #296 from MarcelRobitaille/fix-istemplate-respect-ignore
...
Make `is_template` respect ignores
2020-12-11 13:39:28 +01:00
Marcel Robitaille
071d74fb38
Make is_template respect ignores
...
A (false positive) "template" that should be ignored
should not make `is_template` become true.
2020-12-11 01:38:03 -05:00
deadc0de6
12c3c97aef
fix check
2020-12-09 10:54:32 +01:00
deadc0de6
974e4462bb
merge impignore
2020-12-09 10:18:29 +01:00
deadc0de6
c7e60839fc
adding impignore
2020-12-08 12:33:11 +01:00
deadc0de6
1b37fa9085
fix tests
2020-12-07 13:27:52 +01:00
deadc0de6
5c66a8ea83
fix error format
2020-12-07 13:00:17 +01:00
deadc0de6
5b0a1f3a3d
check shutil error for #294
2020-12-07 12:56:05 +01:00
deadc0de6
831b3ddc1a
update version checker
2020-11-28 22:14:01 +01:00
deadc0de6
9ed28ca1fb
fix cd
2020-11-28 21:54:21 +01:00
deadc0de6
7f5c18d246
enable tests for PR
2020-11-28 16:16:46 +01:00
deadc0de6
c41fdc99f0
improve check version script
2020-11-28 15:48:08 +01:00