summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-09-11Remove HOME setting in etckeeper. sudo now defaults to setting HOME itself ↵Joey Hess
as of version 1.7.4p4, so it is not necessary for etckeeper to work around its behavior anymore. (sudo also allows disabling that for those who enjoy using guns around feet.) Closes: #583899
2010-09-11Ignore -m switch to etckeeper commit, in case someone tries to use it with ↵Joey Hess
that option common to several VCS. Closes: #592050
2010-09-11note about sudo behaviorJoey Hess
2010-07-25Ensure that PATH contains the directory containing etckeeper, so that hook ↵Joey Hess
scripts that re-exec etckeeper are guaranteed to find it.
2010-07-16releasing version 0.48Joey Hess
2010-07-16document vcs subcommandJoey Hess
2010-07-16properly quote $@; remove pointless IFS setting; add error if VCS not foundJoey Hess
2010-07-16move to middleJoey Hess
2010-07-16Merge remote branch 'wertarbyte/cmd_vcs'Joey Hess
2010-07-15add "vcs" to pass commands to the vcs programStefan Tomanek
This new command allows the user to execute arbitrary commands inside the environment etckeeper runs in. This ensures that variables like $HOME match the values present during the commit process. Using the command "etckeeper vcs config user.email" will use the same git configuration as "etckeeper commit", while the value used by "git config" might vary due to the use of "sudo" and its handling of $HOME.
2010-07-13typoJoey Hess
2010-06-02Fix backwards test for HGUSER. (Mike Rich)Joey Hess
2010-05-30releasing version 0.47Joey Hess
2010-05-28Both git and bzr default to showing the author of a commit, and not the ↵Joey Hess
committer. So, set the author to the user running sudo for both. The committer will then be root.
2010-05-28wordingJoey Hess
2010-05-28hg: Set HGUSER (if not already set) to avoid warning message when ↵Joey Hess
committing. Closes: #533298
2010-05-28Set HOME=~root so that VCS like bzr that write to the home directory when ↵Joey Hess
run by etckeeper do not drop root-owned files in user home directory when sudo etckeeper is run. Closes: #583581
2010-05-24use dpkg-mergechangelogJoey Hess
2010-05-16releasing version 0.46Joey Hess
2010-05-16Fix bug where after a large upgrade, etckeeper's automatic commit message ↵Joey Hess
was so long it exceeded system limits. Closes: #581678
2010-05-16Support etckeeper commit --stdinJoey Hess