Compare commits
No commits in common. "91ec1b87910999413246f3ae453aed8817d92580" and "e04b158c3927cf7bd256ee7cfa64587c1de6594b" have entirely different histories.
91ec1b8791
...
e04b158c39
2 changed files with 0 additions and 7 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
* Introduce `enroll explain` - a tool to analyze and explain what's in (or not in) a harvest and why.
|
* Introduce `enroll explain` - a tool to analyze and explain what's in (or not in) a harvest and why.
|
||||||
* Centralise the cron and logrotate stuff into their respective roles, we had a bit of duplication between roles based on harvest discovery.
|
* Centralise the cron and logrotate stuff into their respective roles, we had a bit of duplication between roles based on harvest discovery.
|
||||||
* Capture other files in the user's home directory such as `.bashrc`, `.bash_aliases`, `.profile`, if these files differ from the `/etc/skel` defaults
|
* Capture other files in the user's home directory such as `.bashrc`, `.bash_aliases`, `.profile`, if these files differ from the `/etc/skel` defaults
|
||||||
* Ignore files that end with a tilde or - (probably backup files generated by editors or shadow file changes)
|
|
||||||
|
|
||||||
# 0.2.3
|
# 0.2.3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,12 +100,6 @@ class IgnorePolicy:
|
||||||
# Always ignore plain *.log files (rarely useful as config, often noisy).
|
# Always ignore plain *.log files (rarely useful as config, often noisy).
|
||||||
if path.endswith(".log"):
|
if path.endswith(".log"):
|
||||||
return "log_file"
|
return "log_file"
|
||||||
# Ignore editor/backup files that end with a trailing tilde.
|
|
||||||
if path.endswith("~"):
|
|
||||||
return "backup_file"
|
|
||||||
# Ignore backup shadow files
|
|
||||||
if path.startswith("/etc/") and path.endswith("-"):
|
|
||||||
return "backup_file"
|
|
||||||
|
|
||||||
if not self.dangerous:
|
if not self.dangerous:
|
||||||
for g in self.deny_globs or []:
|
for g in self.deny_globs or []:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue