Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-30 | bzr: make sure EMAIL is defined | Serge Hallyn | |
Bzr refuses to commit changes before name and email are configured. If etckeeper is run very early during install, it can happen that these are in fac tnot yet set up. This patch ensures that they are configured. It has been in the Ubuntu delta for many years. Reference: https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/661024 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> | |||
2015-08-04 | Fix typo of GIT_COMMITTER_EMAIL. | Joey Hess | |
2015-06-01 | use getent(1) from glibc to retrieve user home | Elan Ruusamäe | |
2014-05-08 | Added support for pushing to multiple remote repositories | Rouben | |
2013-11-03 | export on separate line from variable definition | Joey Hess | |
2013-11-03 | Export Git variables, otherwise Git falls back to determining them itself. | Michael Kuhn | |
2013-10-01 | Autopush support for mercurial added. | kes31 | |
The commit script was edited, for using the default branch of mercurial to do autopush. | |||
2013-07-31 | Fix hilarious typo hardcoding my name. Closes: #718425 | Joey Hess | |
2013-07-27 | Guard git config calls. Closes: #717957 | Joey Hess | |
2013-07-22 | Use user.name and user.email from the .gitconfig file belonging to the user ↵ | Joey Hess | |
who sued or sudoed to root, in preference to making up values for that user. | |||
2013-05-06 | Fix warning when PUSH_REMOTE is not set. Closes: #706917 | Joey Hess | |
2012-11-19 | improvements to push code | Joey Hess | |
2012-11-18 | Add support for auto-pushing after a commit | L. Alberto Giménez | |
A new variable is introduced that will cause etckeeper to push to a configuration-defined remote. | |||
2012-01-14 | Fix up botched git-rm conffile removal from 0.58. | Joey Hess | |
The file could be in any of three states; absent, present, or .dpkg-dist. Finish fully removing it. Closes: #655836 | |||
2011-11-25 | Use git add -A, which automatically removes deleted files, and avoids a ↵ | Joey Hess | |
separate call to git add -u. Thanks to Miklos Vajna, whose patch in 2008 was deferred because -A was then too new, and languished in a branch until found today. | |||
2011-02-20 | Only set environment variables for commit authorship (EMAIL, ↵ | Josh Triplett | |
GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_EMAIL) if they don't already exist. | |||
2011-01-13 | Rewrote 50git-rm | Joey Hess | |
This avoids using git ls-files, and thus avoids encoding problems with filenames. Using git add . -u stages all deleted files for deletion. It also avoids the problem with git rm deleting empty directories. It might be better to just use git commit -a, but I've taken the conservative approach. There are a few other git ls-files uses in etckeeper that I have not fixed, but they are only shown to the user, and shouldn't cause a crash as this did. Unfortunatly, git does expose the nasty C-style encoding of such characters in filenames to the user all over (eg, git commit, git log ..), so fixing etckeeper to not also expose them is probably a waste of time. And core.quotepath can be unset by users who want to clean that up. Bug report: https://bugzilla.altlinux.org/show_bug.cgi?id=24903 | |||
2010-10-20 | Deal with strange systems that include the domain name in the hostname, by ↵ | Joey Hess | |
stripping it. Closes: #600026 | |||
2010-10-20 | Set GIT_COMMITTER_EMAIL to root@$hostname to avoid git prompting the user to ↵ | Joey Hess | |
configure it in .gitconfig. Closes: #599749 | |||
2010-09-11 | Ignore -m switch to etckeeper commit, in case someone tries to use it with ↵ | Joey Hess | |
that option common to several VCS. Closes: #592050 | |||
2010-06-02 | Fix backwards test for HGUSER. (Mike Rich) | Joey Hess | |
2010-05-28 | Both git and bzr default to showing the author of a commit, and not the ↵ | Joey Hess | |
committer. So, set the author to the user running sudo for both. The committer will then be root. | |||
2010-05-28 | hg: Set HGUSER (if not already set) to avoid warning message when ↵ | Joey Hess | |
committing. Closes: #533298 | |||
2010-05-16 | Support etckeeper commit --stdin | Joey Hess | |
2010-04-15 | missing rm | Joey Hess | |
2010-04-15 | Fix logic error in darcs user code. Closes: #577918 | Joey Hess | |
2010-04-15 | Revert darcs to using --logfile again, necessary for multiline commit ↵ | Joey Hess | |
messages. Closes: #577915 | |||
2010-04-08 | Avoid using hostname -f, since on Solaris that sets the hostname to -f. Yay, ↵ | Joey Hess | |
Unix portability! (Instead, use dnsdomainname if available, and otherwise, fall back to the unqualified hostname.) | |||
2010-03-12 | darcs cleanup | Joey Hess | |
* Changed darcs to specify --author instead of noting the committing user inside the commit log. * Add -a to DARCS_COMMIT_OPTIONS so commits are noninteractive by default, but users who want darcs prompting can disable it. * Use darcs record -m to specify commit message, instead of using a logfile. | |||
2010-02-18 | Record real committer username in the darcs log, so that the man page can ↵ | Joey Hess | |
say that for every VCS the username is recorded. | |||
2010-02-18 | Check owner of tty to determine who has su'd to root when committing, based ↵ | Joey Hess | |
on a patch by Jakov Sosic. | |||
2009-07-19 | bzr: Set author to root when committing via sudo. Committer will be the sudo ↵ | Joey Hess | |
user, as it is in git. | |||
2009-06-28 | Use hostname if hostname -f fails. Closes: #533295 | Joey Hess | |
2009-02-13 | Fix executable bits on two darcs support scripts. | Joey Hess | |
2009-02-04 | Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032 | Joey Hess | |
2009-01-28 | Use SUDO_USER as the committer if set. Closes: #498739 (Thierry Carrez) | Joey Hess | |
2009-01-25 | Prevent git from removing a directory when the last file in it has been ↵ | Joey Hess | |
removed, but the directory is left existing and empty, by touching a flag file before calling git rm. Closes: 513006 | |||
2008-09-14 | commit.d: use git add -A | Miklos Vajna | |
Till now we were doing this by hand, using git add . and git ls-files|git rm, but git add -A does the same and it's faster. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> | |||
2008-05-30 | Make 'bzr add' quiet so new files aren't printed to stdout twice. | Jelmer Vernooij | |
2008-04-05 | Remove pointless bzr-rm script. | Jelmer Vernooij | |
2008-04-05 | Merge commit 'jelmer/master' | Joey Hess | |
Conflicts: debian/changelog | |||
2008-04-05 | Add commit hook script for bzr to add new files | Joey Hess | |
2008-04-05 | Remove now obsolete precommit script for bzr. | Jelmer Vernooij | |
2008-04-05 | Add commit hook script for bzr to add new files | dAniel hAhler | |
Committing fails with "bzr", if there are only new files and new files probably never get added. This script adds the files during the "commit" process. | |||
2008-04-05 | remove unused TAB settings | Joey Hess | |
2008-03-11 | * Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515 | Joey 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. |