summaryrefslogtreecommitdiff
path: root/init.d
AgeCommit message (Collapse)Author
2008-01-04Merge branch 'pacman-g2'Miklos Vajna
Conflicts: Makefile pre-install.d/50uncommitted-changes Additinoal fix: As noted by Joey, we should bail out with an error if git commit fails when using pacman-g2. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
2008-01-03 * Added configuration options for highlevel and lowlevel package managersJoey Hess
in etckeeper.conf. * Only install apt hooks if apt is used. * Only add backup conffile exclusion to gitignore if dpkg is used. * Rename pre/post-apt.d to pre/post-install.d to allow the same directories to be used for other package managers. * Use the name of the highlevel package manager in commit messages.
2007-11-15* Add network/run and adjtime to default gitignore. Closes: #451347Joey Hess
2007-11-11* Add .pwd.lock to default ignores, this file is created by programsJoey Hess
that call getspent().
2007-11-10add ld.so.cache to default ignoresJoey Hess
2007-11-06go ahead and restore mtimes tooJoey Hess
2007-11-05renumberJoey 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-05drop support for etckeeper-Joey 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-05support git commit being run in a subdirJoey Hess
Store the toplevel directory of the repo in the pre-commit hook, and cd to there. This is not ideal, but good enough.
2007-11-05more /etc cd fixesJoey Hess
2007-11-05rationalise the cd /etc handlingJoey Hess
2007-11-05bugfixesJoey Hess
2007-11-05improvementsJoey Hess
2007-11-05implemented pre-apt checksJoey Hess
other development too..
2007-11-05cd to /etc before running the hookJoey Hess
2007-11-05rename etc-* to etckeeper-*Joey Hess