summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-25optimise metadata storageJoey 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-25fixJoey Hess
2011-11-25add a note because Ubuntu modifies etckeeper to not use gitJoey Hess
2011-11-25Use git add -A, which automatically removes deleted files, and avoids a ↵Joey Hess
separate call to git add -u. Thanks to Miklos Vajna, whose patch in 2008 was deferred because -A was then too new, and languished in a branch until found today.
2011-11-25optimize file mode storingJoey 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-25Merge branch 'master' into allpermsJoey Hess
Conflicts: debian/changelog
2011-11-25Bugfix for filenames containing single quotes.Joey Hess
-- Joey Hess <joeyh@debian.org> Fri, 25 Nov 2011 12:00:55 -0400
2011-11-25python2 fixesJoey Hess
2011-11-25store 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-25decruftJoey Hess
2011-11-04releasing version 0.57Joey Hess
2011-09-28Use find -path instead of less portable find -wholename.Joey Hess
2011-07-12releasing version 0.56Joey Hess
2011-07-12Handle files with % in their names.Joey Hess
2011-06-28Converted to use dh_python2. Closes: #616800Joey Hess
2011-06-19releasing version 0.55Joey Hess
2011-06-19Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to ↵Joey Hess
avoid daily noise. (gulikoza)
2011-06-19Ignore *.LOCK files, as used by selinux policies.Joey Hess
2011-06-11Ignore FHS violating prelink.cache and openvpn-status.log.Joey Hess
2011-06-11Avoid being noisy in post-install after automatic yum updates. (Tuomo Soini)Joey Hess
2011-05-31Fix error propigation to yum, which makes AVOID_COMMIT_BEFORE_INSTALL work. ↵Joey Hess
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=709487 Thanks, Thomas Moschny
2011-05-30releasing version 0.54Joey Hess
2011-04-09Use hg pre-commit hook, rather than its precommit hook, as the latter is run ↵Joey Hess
after the files staged for commit are determined and so .etckeeper cannot be staged as part of the current commit. Closes: #621827
2011-03-25Ignore inssev's FHS violating /etc/init.d/.depend.* files. Closes: #619407 ↵Joey Hess
See #619409
2011-03-18releasing version 0.53Joey Hess
2011-03-18Avoid 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-26Add lvm/backup and lvm/cache to ignore. Closes: #462355Joey Hess
2011-02-26Add .pyc and .pyo files to ignore.Joey Hess
2011-02-20Only set environment variables for commit authorship (EMAIL, ↵Josh Triplett
GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_EMAIL) if they don't already exist.
2011-02-19changelogJoey Hess
2011-02-19Install bzr hook lazily, clean up some compatibility code.Jelmer Vernooij
2011-02-18correct exclude_external regexp to match fully relative pathsJoey Hess
git ls-files emits paths with no leading subdirectory. But the regexp still needs to avoid false positives.
2011-02-06releasing version 0.52Joey Hess
2011-01-13DEP5Joey Hess
2011-01-13Rewrote 50git-rmJoey Hess
This avoids using git ls-files, and thus avoids encoding problems with filenames. Using git add . -u stages all deleted files for deletion. It also avoids the problem with git rm deleting empty directories. It might be better to just use git commit -a, but I've taken the conservative approach. There are a few other git ls-files uses in etckeeper that I have not fixed, but they are only shown to the user, and shouldn't cause a crash as this did. Unfortunatly, git does expose the nasty C-style encoding of such characters in filenames to the user all over (eg, git commit, git log ..), so fixing etckeeper to not also expose them is probably a waste of time. And core.quotepath can be unset by users who want to clean that up. Bug report: https://bugzilla.altlinux.org/show_bug.cgi?id=24903
2010-12-25releasing version 0.51Joey Hess
2010-12-20Added Polish translation of debconf templates. Closes: #607563Joey Hess
2010-11-16Move etckeeper out of sbin, to avoid needing to work around broken root PATH ↵Joey Hess
settings in eg, crontab. Closes: #602438
2010-11-05changelogJoey Hess
2010-11-05detect change in rpm epoch, name, version, releasePaul Morgan
ITIL compliance requires that _every_ package change is detectable. This fix ensures etckeeper properly reports any change in rpm manifest, including epoch and release. It uses an RPM query-format string that yields reproducible results. By example, assume you update a package that differs only in the release number. Before fix, etckeeper logs: committing changes in /etc after yum run Package changes: After fix, etckeeper logs: committing changes in /etc after yum run Package changes: -0:baseline-0.3.6-2.fc13.noarch -0:baseline-devel-0.3.6-2.fc13.noarch -0:baseline-release-0.3.6-2.fc13.noarch +0:baseline-0.3.6-3.fc13.noarch +0:baseline-devel-0.3.6-3.fc13.noarch +0:baseline-release-0.3.6-3.fc13.noarch Signed-off-by: Paul Morgan <jumanjiman@gmail.com>
2010-10-30Updated Vietnamese translation of debconf templates. Closes: #601921Joey Hess
2010-10-27update copyright dateJoey Hess
2010-10-20releasing version 0.50Joey Hess
2010-10-20Deal with strange systems that include the domain name in the hostname, by ↵Joey Hess
stripping it. Closes: #600026
2010-10-20Set GIT_COMMITTER_EMAIL to root@$hostname to avoid git prompting the user to ↵Joey Hess
configure it in .gitconfig. Closes: #599749
2010-10-12Do 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-09-26Ignore /etc/.initctl. Closes: #598121Joey Hess
2010-09-22Add Danish translation of debconf templates. Closes: #597768Joey Hess
2010-09-13releasing version 0.49Joey Hess
2010-09-13Fix file quoting problem in processing .etckeeper file in init.Joey Hess