summaryrefslogtreecommitdiff
path: root/pre-commit.d
AgeCommit message (Collapse)Author
2008-03-11* Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515Joey Hess
(Note that bzr does not support etckeeper's pre-commit hook.)
2008-01-04tricky stuff to do with storing metadata etc in pre-commitJoey Hess
git needs to git add the files to stage them as part of the current commit, but hg does not, and hg add doesn't do that. Create the files as part of init, this will cause them to be added, pre-commit, which hg needs.
2008-01-04Merge branch 'hg'Joey Hess
Significantly refactored
2008-01-03hg and git subrepo creation (hg is for now a copy of git)Mathieu Clabaut
2007-11-05renumberJoey Hess
2007-11-05remove debuggingJoey Hess
2007-11-05store empty directories and restore in etckeeper initJoey Hess
While working on this, I had to consider security policies -- is it ok if etckeeper init can run code from the /etc repository? I've decided this should be ok, and documented that it should only be run on trusted repos. Note that metastore could also be exploited by untrusted repos, and of course, note that you're checking out your *** /etc *** so it damn well better be trusted! With that determined, I decided to use a simple shell script to hold the empty directory info and allow them to be easily created. Expanding this for other files git can't represent is a possibility..
2007-11-05fix .metadata file perms after initial creation tooJoey Hess
2007-11-05polishJoey Hess
2007-11-05finishing touches etcJoey Hess
2007-11-05metastore funJoey Hess
work around various bugs and issues to avoid each commit making a change that would be seen by the next commit..
2007-11-05fixesJoey Hess
2007-11-05hopefully this is unncessary paranoia, as it's too hard to do it properly..Joey Hess
2007-11-05improvementsJoey Hess
2007-11-05implemented pre-apt checksJoey Hess
other development too..
2007-11-05implemented the pre-commit hookJoey Hess
2007-11-05rename etc-* to etckeeper-*Joey Hess