Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-27 | fix generating a list of files/directories ignored by git | Pim van den Berg | |
"git ls-files --others --ignore --exclude-standard --directory" doesn't include the files that for example get ignored by this .gitignore line: ----- default/* ----- Without the "--directory" line it includes these files, but doesn't include: ----- folder/ ----- So combine those 2 commands. The next line (grep -xFvf) requires an exact match (-x). As a result the files in the 1st example were included in the .etckeeper file. Reference: http://stackoverflow.com/questions/466764/show-ignored-files-in-git#answer-1446609 | |||
2014-05-09 | find: replace "-not" by "!" to become Posix compliant | Harald Dunkel | |
Signed-off-by: Harald Dunkel <harald.dunkel@aixigo.de> | |||
2013-12-17 | actually, need to munge input, it may use ./ before filenames | Joey Hess | |
2013-12-17 | Fix too broad matching of .gitignored files. Closes: #732339 | Joey Hess | |
2013-09-04 | Fix git update-ignore syntax. Closes: #721873 | Joey Hess | |
2013-08-28 | more generic name for variable as file does not contain patterns in git case | Joey Hess | |
2013-08-28 | fix typo | Joey Hess | |
2013-08-28 | Omit files ignored by git from .etckeeper file | Zdenek Crha | |
Add processing of the .gitignore file into filter_ignore() function. The .gitignore content is a list of globs and not regular expressions, so it is not possible to use same approach darcs uses. Instead, we use git commands to generate list of files that exist and need to be excluded as pattern file. | |||
2013-06-26 | Quote user and group names, in case someone thought putting a space in one ↵ | Joey Hess | |
was not a bloody stupid idea. | |||
2013-05-08 | When a file is owned by a uid or a gid with no corresponding user or group, ↵ | Joey Hess | |
put a numeric chown into .etckeeper. Previously, a broken chown was outputted. | |||
2011-12-22 | Add `g` to shellquote's sed. | Daniel Hahler | |
Props danielsh (Daniel Shahaf) in #zsh. | |||
2011-11-25 | typo | Joey Hess | |
2011-11-25 | typo | Joey Hess | |
2011-11-25 | optimise metadata storage | Joey Hess | |
Avoid running find on /etc three times, only run once; and avoid redundant user name lookups, and calls to stat(1). All done in perl now. | |||
2011-11-25 | optimize file mode storing | Joey Hess | |
Avoid runing stat(1) thousands of times. Note that etckeeper init is still slowed down by all this metadata, but that should be rarely used. | |||
2011-11-25 | Merge branch 'master' into allperms | Joey Hess | |
Conflicts: debian/changelog | |||
2011-11-25 | Bugfix for filenames containing single quotes. | Joey Hess | |
-- Joey Hess <joeyh@debian.org> Fri, 25 Nov 2011 12:00:55 -0400 | |||
2011-11-25 | store all permissions of files and directories, even those with standard ↵ | Joey Hess | |
permissions of 644 and 755 This is unfortunately necessary in order to support etckeeper init on a checkout that was made with a nonstandard umask, in which case the files that were expected to be 644 and 755, won't be. Closes: #649701 Thanks to Дмитрий Матросов for reporting the bug and developing a fixup script (attached to the bug) which could be used if you've already encountered this problem. | |||
2011-11-25 | decruft | Joey Hess | |
2011-09-28 | Use find -path instead of less portable find -wholename. | Joey Hess | |
2011-07-12 | Handle files with % in their names. | Joey Hess | |
2011-06-19 | Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to ↵ | Joey Hess | |
avoid daily noise. (gulikoza) | |||
2011-03-18 | Avoid warning about special or hard linked files that are ignored by hg. ↵ | Joey Hess | |
Thanks Sjoerd Mullender for patch. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=688991 | |||
2011-02-18 | correct exclude_external regexp to match fully relative paths | Joey Hess | |
git ls-files emits paths with no leading subdirectory. But the regexp still needs to avoid false positives. | |||
2010-10-12 | Do not warn about special files or hardlinks if they are ignored by git. ↵ | Joey Hess | |
Fixes #549354 for git, but not for other VCSs. | |||
2010-04-14 | more find portability fix | Joey Hess | |
2010-04-14 | find portability fix | Joey Hess | |
2009-02-16 | Avoid relying on USER being set, won't be for cron job. Closes: #515602 | Joey Hess | |
2009-02-04 | Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032 | Joey Hess | |
2009-02-04 | avoid hardcoding root user/group | Joey Hess | |
Patch from Tobias Hunger who is trying to use etckeeper with non-root users, outside of /etc. | |||
2008-12-31 | releasing version 0.25 | Joey Hess | |
2008-12-27 | Make .etckeeper test that files actually exist before acting on them. ↵ | Joey Hess | |
Closes: #509888 | |||
2008-07-03 | Don't allow LC_COLLATE to reorder the .etckeeper file. Closes: #489057 | Joey Hess | |
2008-03-29 | releasing version 0.14 | Joey Hess | |
2008-03-20 | remove .metadata first so .etckeeper doesn't try to chmod it | Joey Hess | |
Also, remove vcs test, as it's in a code block that already tests that. | |||
2008-03-20 | find has a bug where pruned directories are considered empty, even if ↵ | Scott Bronson | |
they're not. Therefore we'll revert to the previous empty directory finding code. The previous code would let "mkdir -p './.git'" into .etckeeper (no big deal but still wrong). | |||
2008-03-20 | Simplify the store-metadata script by calling chmod every time. | Scott Bronson | |
2008-03-20 | Of course all filenames in .etckeeper should be surrounded by quotes. | Scott Bronson | |
2008-03-20 | Store metadata in .etckeeper, not .fix-metadata. | Scott Bronson | |
2008-03-20 | Turns out dash doesn't support ${string:substibution}. Use printf instead. | Scott Bronson | |
2008-03-17 | $VCS rm .metadata instead of warning about its existence. | Scott Bronson | |
2008-03-17 | Prune .bzr and .hg now (as well as .git) when running the find commands. | Scott Bronson | |
2008-03-17 | Use a filter function to cull UNKNOWN users and groups. | Scott Bronson | |
2008-03-17 | Move .fix-metadata generation into a function. | Scott Bronson | |
2008-03-17 | Don't hard-code /etc, etckeeper might be managing another directory. | Scott Bronson | |
2008-03-17 | Merge branch 'master' of git://git.kitenet.net/etckeeper | Scott Bronson | |
2008-03-14 | exclude .hg and .bzr as well as .git | Joey Hess | |
2008-03-14 | ignore .bzr in find command | Joey Hess | |
2008-03-12 | Remove metastore, use simple find scripts instead. | Scott Bronson | |
2008-03-11 | fix horrible typo in patch | Joey Hess | |