summaryrefslogtreecommitdiff
path: root/etckeeper
AgeCommit message (Collapse)Author
2016-07-17prep releaseJoey Hess
2016-05-17fixJoey Hess
2016-02-15releasing package etckeeper version 1.18.3Joey Hess
2016-02-15Set HOME if it's not set, as is the case when using ubuntu's update-manager.Joey Hess
2015-08-04releasing package etckeeper version 1.18.2Joey Hess
2015-03-21prepare ITP uploads (Closes: #768516)Antoine Beaupré
2015-03-14releasing package etckeeper version 1.18Joey Hess
2015-03-14Set LANG=C internally when doing some operations that have been reported to ↵Joey Hess
fail in other locales. Bug report: > + egrep -q '[^-a-z_]' > + echo 'etckeeper: invalid command init' Strangely, I cannot reproduce this problem when using the LANG=et_EE.UTF-8 locale. I guess our egreps are somehow behaving differently, even though a-z is not a character class that should be affected by locale AFAIK. I'll go ahead and set LANG=C when calling things that use character classes.
2014-12-17commentJoey Hess
2014-12-17Add commandline option --versionAndreas Wansner
2014-09-04Revert "Avoid propigating nonzero exit status of any command called by ↵Joey Hess
etckeeper out to the caller. This is to avoid making apt give up because git is misconfigured and cannot commit, or similar. Closes: #760011" This reverts commit 1b70e83dddcafbcbea84fc55a6396e4876a9a0c4. This approach breaks the AVOID_COMMIT_BEFORE_INSTALL feature.
2014-09-04better status outputJoey Hess
2014-09-04Avoid propigating nonzero exit status of any command called by etckeeper out ↵Joey Hess
to the caller. This is to avoid making apt give up because git is misconfigured and cannot commit, or similar. Closes: #760011 I absoltely do not want etckeeper to dive into the rats nest of making git be able to commit reliably. git commit has about a dozen failure modes, and it's up to the admin to avoid breaking their system by not giving it a hostname, or writing a broken ~/.gitconfig, or not giving uid 0 a user name, etc. I considered making only apt.conf's etckeeper calls be guarded with || true, but this would also need to be done for the other package managers that can call etckeeper. And it's better to let etckeeper indicate which script failed, rather than seeing an error message and apt continuing without an indication of why git commit was being called then.
2014-07-15Only allow [-a-z_] in etckeeper commands to avoid any possible directory ↵Joey Hess
traversal etc issues.
2013-11-10guard unsetsJoey Hess
Apparently fails with netbsd's shell. Unsure if that shell is POSIX.
2012-12-28move VCS probing to after we know what ETCKEEPER_DIR isJoey Hess
CWD does not have to be /etc when using etckeeper..
2012-12-28Auto-detect the VCS setting if there already is a repository in /etc.Jelmer Vernooij
2012-11-19Merge branch 'autopush' of github.com:agimenez/etckeeperJoey Hess
2012-11-18Add support for auto-pushing after a commitL. Alberto Giménez
A new variable is introduced that will cause etckeeper to push to a configuration-defined remote.
2012-09-29Unset GIT_DIR and GIT_WORK_TREE. Closes: #689101Joey Hess
2012-02-17typoJoey Hess
2012-01-02Support -h and --help. Closes: #654188Joey Hess
2011-06-19Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to ↵Joey Hess
avoid daily noise. (gulikoza)
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-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-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
2009-05-06Uninit on purge, guarded by a debconf prompt. Closes: #527218Joey Hess
2009-02-14Fix handling of -d in recursive calls to etckeeperJoey Hess
Some etckeeper scripts run 'etckeeper unclean' and other subcommands. If -d was specified, those subcommands would run on /etc, rather than the -d directory. Use an env var to propigate the directory to the subcommands.
2009-02-04Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032Joey Hess
2008-06-07Add a AVOID_COMMIT_BEFORE_INSTALL option in the config file to make it easy ↵Joey Hess
to configure etckeeper to abort an installation if there are uncommitted changes in /etc. Closes: #478754
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-15 * Convert the directory parameter of etckeeper into "-d directory".Joey Hess
* Pass other patameters on from etckeeper to the .d scripts. * Stop using run-parts for various reasons. * Split out a commit.d that contains committing code that's used by both the pre-install.d and post-install.d scripts. * Split out an unclean.d that tests if the WC contains uncommitted changes. * Add preinst code to remove old post-install.d scripts.
2008-01-06* Add backwards compatability code to handle post-apt action. Closes: #459441Joey Hess
2008-01-04Merge branch 'hg'Joey Hess
Significantly refactored
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
2008-01-03Debut intégration HGMathieu Clabaut
2007-11-14rewordingJoey Hess
2007-11-14Render option to git commit configurableRémi Vanicat
When etckeeper commit something it use a default message that can be configured, but not easily edited on a case by case basis. To make this possible, and to give other way to customize commit, I add a configuration file that contain for now only one option: GIT_COMMIT_OPTION that can contain option given to git commit when run by etckeeper
2007-11-06use run-parts --exit-on-error so it really stops at the first errorJoey Hess
2007-11-06improve usage messageJoey Hess
2007-11-06rationallised directory handlingJoey Hess
Default to cding to /etc, but allow the user to specify another directory to operate on.
2007-11-05typoJoey Hess
2007-11-05drop support for etckeeper-Joey Hess
2007-11-05polishJoey Hess
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-05typoJoey Hess
2007-11-05rationalise the cd /etc handlingJoey Hess
2007-11-05improvementsJoey Hess