summaryrefslogtreecommitdiff
path: root/pre-install.d
AgeCommit message (Collapse)Author
2014-11-05add format marker for package listJoey Hess
to avoid spamming commit message with big diff when format changes
2014-09-04let's not use debconf to display a possibly minor warningJoey Hess
2014-09-04Use debconf for prompting when post-install commit fails, as was already ↵Joey Hess
done for pre-install commit. This avoids propigating errors to apt when eg, git is misconfigured and cannot commit. Closes: #760011
2009-12-04Deal with removal of the cache directory. Closes: #559418Joey Hess
2009-08-08Avoid infinite loop when displaying message about failure to commit changes ↵Joey Hess
in /etc. Closes: #540596
2008-06-29Allow AVOID_COMMIT_BEFORE_INSTALL to be set to zero to disable.Joey Hess
2008-06-23make message clearerJoey Hess
2008-06-18Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922Joey 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-25Keep track of what packages change state during an installation, and include ↵Joey Hess
that in the commit message at the end.
2008-03-14remove unused functionJoey Hess
(Note that this function was missing bzr support. Tch tch.)
2008-03-14* Drop the debconf prompt before committing in pre-install.Joey Hess
Closes: #470577, #462161
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-07* Separate debconf use from the main flow of the script so the commitJoey Hess
stage can use editors etc. Closes: #459547 * Remove the hint about setting -e to get interactive commits, since I don't want to encourage users to do that. (For one thing, it's unlikely to work if a graphical package manager is used..)
2008-01-04* Commit removed files in the pre-install hook to git, as was already doneJoey Hess
for hg. Avoided changing the debconf template so bubulle doesn't murder me; the current wording is just vague enough to still work with the current behavior.
2008-01-04updates for mercurialJoey Hess
Changed the templates file to not hardcode 'git', and manually unfuzzied all translations except for Vietnamese, which stumped me. A few translations _may_ read incorrectly when VCS=hg, most should be ok. Updated git-specific documentation, but left the tutorial git-specific. Rename more conffiles. Joy oh, joy. Update dependencies. Add some more documentation about etckeeper.conf.
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-04rework tests slightly, test for debconf directlyJoey 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.