summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
AgeCommit message (Collapse)Author
2008-12-31releasing version 0.25Joey Hess
2008-12-27Make .etckeeper test that files actually exist before acting on them. ↵Joey Hess
Closes: #509888
2008-07-03Don't allow LC_COLLATE to reorder the .etckeeper file. Closes: #489057Joey Hess
2008-03-29releasing version 0.14Joey Hess
2008-03-20remove .metadata first so .etckeeper doesn't try to chmod itJoey Hess
Also, remove vcs test, as it's in a code block that already tests that.
2008-03-20find 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-20Simplify the store-metadata script by calling chmod every time.Scott Bronson
2008-03-20Of course all filenames in .etckeeper should be surrounded by quotes.Scott Bronson
2008-03-20Store metadata in .etckeeper, not .fix-metadata.Scott Bronson
2008-03-20Turns out dash doesn't support ${string:substibution}. Use printf instead.Scott Bronson
2008-03-17Prune .bzr and .hg now (as well as .git) when running the find commands.Scott Bronson
2008-03-17Use a filter function to cull UNKNOWN users and groups.Scott Bronson
2008-03-17Move .fix-metadata generation into a function.Scott Bronson
2008-03-17Don't hard-code /etc, etckeeper might be managing another directory.Scott Bronson
2008-03-12Remove metastore, use simple find scripts instead.Scott Bronson
2008-03-11fix horrible typo in patchJoey Hess
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