summaryrefslogtreecommitdiff
path: root/init.d
AgeCommit message (Collapse)Author
2009-09-07Fix hgrc setup code to not warn if the hgrc already contains a call to ↵Joey Hess
etckeeper. (Thanks, Jakov Sosic)
2009-02-13ignore file update supportJoey Hess
* etckeeper update-ignore will automatically update the VCS ignore file, only touching the part inside a "managed by etckeeper" comment block. * Run etckeeper update-ignore on upgrade.
2009-02-13Also add emacs #*# autosave files to default ignores.Joey Hess
And DEADJOE files, for good measure.
2009-02-13Add vim .*.sw? files to default ignores.Joey Hess
And enhance the darcs glob to re code to support `?`
2009-02-13Fix executable bits on two darcs support scripts.Joey Hess
2009-02-05add commentJoey Hess
2009-02-04Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032Joey Hess
2008-12-27simplify expressionJoey Hess
2008-12-27Make .etckeeper test that files actually exist before acting on them. ↵Joey Hess
Closes: #509888
2008-09-11Make etckeeper init -d set up commit hooks that call etckeeper -d.Joey Hess
Note that if you've relied on it setting up such commit hooks for a repo outside of /etc already, it created broken ones that need to be fixed to use -d. Thanks, Wolfgang Karall.
2008-04-05bzr: Set nickname for tree in init.d/40vcs-initdAniel hAhler
2008-03-20Revert "Add files needed to maintain /etc/package-list"Joey Hess
This reverts commit d2a3a0b04c727430ece08aa4ec0e7719fa037f98. This shouldn't have been in the nobinary branch, I am not yet decided about merging the packagelist branch.
2008-03-20Revert "Add support for RPM (note: untested!)"Joey Hess
This reverts commit 2d0f02f740f73bafba187584184ec26fdf1cc3aa. This shouldn't have been in the nobinary branch, I am not yet decided about merging the packagelist branch.
2008-03-20restore-etckeeper should run after restore-metadata so its settings will ↵Scott Bronson
take priority.
2008-03-20Restore the 20restore-metadata script so that legacy etckeeper repos will ↵Scott Bronson
still work.
2008-03-20Store metadata in .etckeeper, not .fix-metadata.Scott Bronson
2008-03-17Merge branch 'master' of git://git.kitenet.net/etckeeperScott Bronson
2008-03-15chmod the file after creating it, since later it will contain potentially ↵Joey Hess
secret info
2008-03-12Merge branches 'packagelist' and 'nobinary'Scott Bronson
2008-03-12Remove metastore, use simple find scripts instead.Scott Bronson
2008-03-12Add support for RPM (note: untested!)Scott Bronson
2008-03-12Add files needed to maintain /etc/package-listScott Bronson
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-02-11* Add nologin to default ignores.Joey Hess
2008-02-09* Some initial rpm support. Patch from Евгений Терешков.Joey Hess
2008-01-27Fix typo.Jelmer Vernooij
2008-01-24* Add lvm cache dir to default ignores. (#462355)Joey Hess
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-04replace git-foo with git fooMiklos Vajna
from the release notes of the upcoming 1.5.4 release: "The next feature release of git (this change is scheduled for v1.6.0) will by default install dashed form of commands (e.g. "git-commit") outside of users' normal $PATH"
2008-01-04whitespaceJoey Hess
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.
2008-01-03hg and git subrepo creation (hg is for now a copy of git)Mathieu Clabaut
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..