Jelmer Vernooij [Thu, 27 Dec 2012 16:23:18 +0000 (17:23 +0100)]
Warn if the configured VCS is different from the detected VCS.
Jelmer Vernooij [Thu, 27 Dec 2012 16:07:35 +0000 (17:07 +0100)]
Auto-detect the VCS setting if there already is a repository in /etc.
Joey Hess [Mon, 19 Nov 2012 16:09:54 +0000 (12:09 -0400)]
changelog
Joey Hess [Mon, 19 Nov 2012 16:08:53 +0000 (12:08 -0400)]
improvements to push code
Joey Hess [Mon, 19 Nov 2012 16:05:00 +0000 (12:05 -0400)]
Merge branch 'autopush' of github.com:agimenez/etckeeper
L. Alberto Giménez [Sun, 18 Nov 2012 22:51:20 +0000 (23:51 +0100)]
Add support for auto-pushing after a commit
A new variable is introduced that will cause etckeeper to push to a
configuration-defined remote.
Joey Hess [Sat, 29 Sep 2012 14:46:38 +0000 (10:46 -0400)]
Unset GIT_DIR and GIT_WORK_TREE. Closes: #689101
Joey Hess [Sat, 25 Aug 2012 15:54:21 +0000 (11:54 -0400)]
releasing version 0.64
Joey Hess [Fri, 24 Aug 2012 15:40:22 +0000 (11:40 -0400)]
Add Brazilian Portuguese debconf translation. Closes: #685771 Thanks, Adriano Rafael Gomes
Joey Hess [Mon, 6 Aug 2012 21:17:59 +0000 (17:17 -0400)]
zypper
Joey Hess [Mon, 6 Aug 2012 21:16:29 +0000 (17:16 -0400)]
Merge git://github.com/cataliniacob/etckeeper
Catalin Iacob [Mon, 6 Aug 2012 20:15:24 +0000 (22:15 +0200)]
Add zypper plugin for openSUSE
This uses zypp_plugin, a Python helper for implementing the protocol
between zypper and plugins.
Joey Hess [Sat, 4 Aug 2012 01:17:03 +0000 (21:17 -0400)]
Revert "Avoid hardcoded path in apt.conf. Closes: #683778"
This reverts commit
ee919b6c8ce8ba1c85c96fb5cf7c707ae8f21529.
Actually, apt doesn't let me do this.
Joey Hess [Sat, 4 Aug 2012 00:52:43 +0000 (20:52 -0400)]
Avoid hardcoded path in apt.conf. Closes: #683778
Joey Hess [Sat, 2 Jun 2012 22:24:48 +0000 (18:24 -0400)]
releasing version 0.63
Joey Hess [Sat, 2 Jun 2012 22:22:27 +0000 (18:22 -0400)]
uninit: Now preserves parts of the gitignore and similar files that are outside the managed by etckeeper block. Closes: #673996 Thanks, David De La Harpe Golden (Squared Financial)
Joey Hess [Sat, 2 Jun 2012 22:17:22 +0000 (18:17 -0400)]
fix indentation and remove a few probably too verbose messages
David De La Harpe Golden (Squared Financial) [Thu, 31 May 2012 17:27:06 +0000 (18:27 +0100)]
Preserve unmanaged ignore file entries on uninit (#673996)
Signed-off-by: David De La Harpe Golden (Squared Financial) <dgolden@squaredfinancial.com>
Joey Hess [Fri, 20 Apr 2012 17:38:26 +0000 (13:38 -0400)]
bzr: Improve detection of unclean repos, to work when there are shelved changes.
Joey Hess [Tue, 3 Apr 2012 00:30:59 +0000 (20:30 -0400)]
remove dead link
Joey Hess [Tue, 3 Apr 2012 00:20:35 +0000 (20:20 -0400)]
read thru, fixed some rotted stuff etc
Joey Hess [Mon, 5 Mar 2012 14:44:44 +0000 (10:44 -0400)]
releasing version 0.62
Joey Hess [Mon, 5 Mar 2012 14:41:42 +0000 (10:41 -0400)]
Autocommit git staged files. Closes: #662614
Joey Hess [Sat, 25 Feb 2012 14:51:45 +0000 (10:51 -0400)]
updated debian copyright format url
Joey Hess [Sat, 18 Feb 2012 02:52:53 +0000 (22:52 -0400)]
typo
Joey Hess [Sat, 14 Jan 2012 16:43:24 +0000 (12:43 -0400)]
releasing version 0.61
Joey Hess [Sat, 14 Jan 2012 16:42:46 +0000 (12:42 -0400)]
Fix up botched git-rm conffile removal from 0.58.
The file could be in any of three states; absent, present, or .dpkg-dist.
Finish fully removing it. Closes: #655836
Joey Hess [Fri, 6 Jan 2012 23:26:20 +0000 (19:26 -0400)]
Improve yum hook to avoid running if etckeeper was just removed. Thanks, Mykola Marzhan
Joey Hess [Fri, 6 Jan 2012 23:23:27 +0000 (19:23 -0400)]
Fix typo in bugfix for #651168.
Joey Hess [Mon, 2 Jan 2012 16:15:09 +0000 (12:15 -0400)]
Support -h and --help. Closes: #654188
Joey Hess [Mon, 2 Jan 2012 15:40:38 +0000 (11:40 -0400)]
Updated Dutch translation of debconf templates. Closes: #654244
Joey Hess [Thu, 22 Dec 2011 15:49:53 +0000 (11:49 -0400)]
releasing version 0.59
Daniel Hahler [Thu, 22 Dec 2011 02:01:45 +0000 (03:01 +0100)]
Add `g` to shellquote's sed.
Props danielsh (Daniel Shahaf) in #zsh.
Joey Hess [Tue, 6 Dec 2011 19:27:04 +0000 (15:27 -0400)]
Add /etc/cups/subscriptions.conf to default ignores, as the content of this file does not normally contain configuration and it changes frequently. Closes: #651168
Joey Hess [Sat, 26 Nov 2011 00:08:53 +0000 (20:08 -0400)]
releasing version 0.58
Joey Hess [Sat, 26 Nov 2011 00:02:11 +0000 (20:02 -0400)]
cron.daily: Don't stop committing when a stale packagelist.pre-install file exists.
The file could exist because AVOID_COMMIT_BEFORE_INSTALL is set,
or just because the install was interrupted/system crashed etc.
If the file's more than a day old, continue with autocommit.
Joey Hess [Fri, 25 Nov 2011 23:41:38 +0000 (19:41 -0400)]
typo
Joey Hess [Fri, 25 Nov 2011 23:40:33 +0000 (19:40 -0400)]
typo
Joey Hess [Fri, 25 Nov 2011 23:37:40 +0000 (19:37 -0400)]
fix fix
Joey Hess [Fri, 25 Nov 2011 23:34:11 +0000 (19:34 -0400)]
optimise metadata storage
Avoid running find on /etc three times, only run once; and avoid
redundant user name lookups, and calls to stat(1). All done in perl now.
Joey Hess [Fri, 25 Nov 2011 23:34:03 +0000 (19:34 -0400)]
fix
Joey Hess [Fri, 25 Nov 2011 23:18:34 +0000 (19:18 -0400)]
add a note because Ubuntu modifies etckeeper to not use git
Joey Hess [Fri, 25 Nov 2011 23:10:16 +0000 (19:10 -0400)]
Use git add -A, which automatically removes deleted files, and avoids a 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.
Joey Hess [Fri, 25 Nov 2011 16:52:23 +0000 (12:52 -0400)]
optimize file mode storing
Avoid runing stat(1) thousands of times.
Note that etckeeper init is still slowed down by all this metadata, but
that should be rarely used.
Joey Hess [Fri, 25 Nov 2011 16:33:48 +0000 (12:33 -0400)]
Merge branch 'master' into allperms
Conflicts:
debian/changelog
Joey Hess [Fri, 25 Nov 2011 16:32:29 +0000 (12:32 -0400)]
Bugfix for filenames containing single quotes.
-- Joey Hess <joeyh@debian.org> Fri, 25 Nov 2011 12:00:55 -0400
Joey Hess [Fri, 25 Nov 2011 16:30:25 +0000 (12:30 -0400)]
python2 fixes
Joey Hess [Fri, 25 Nov 2011 16:07:37 +0000 (12:07 -0400)]
store all permissions of files and directories, even those with standard permissions of 644 and 755
This is unfortunately necessary in order to support etckeeper init on a
checkout that was made with a nonstandard umask, in which case the files
that were expected to be 644 and 755, won't be. Closes: #649701
Thanks to Дмитрий Матросов for reporting the bug and developing a fixup
script (attached to the bug) which could be used if you've already
encountered this problem.
Joey Hess [Fri, 25 Nov 2011 15:58:22 +0000 (11:58 -0400)]
decruft
Joey Hess [Fri, 4 Nov 2011 21:05:55 +0000 (17:05 -0400)]
releasing version 0.57
Joey Hess [Wed, 28 Sep 2011 16:11:06 +0000 (12:11 -0400)]
Use find -path instead of less portable find -wholename.
Joey Hess [Tue, 12 Jul 2011 18:39:08 +0000 (14:39 -0400)]
releasing version 0.56
Joey Hess [Tue, 12 Jul 2011 18:35:17 +0000 (14:35 -0400)]
Handle files with % in their names.
Joey Hess [Tue, 28 Jun 2011 17:43:31 +0000 (13:43 -0400)]
Converted to use dh_python2. Closes: #616800
Joey Hess [Sun, 19 Jun 2011 19:25:25 +0000 (15:25 -0400)]
releasing version 0.55
Joey Hess [Sun, 19 Jun 2011 19:19:03 +0000 (15:19 -0400)]
Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to avoid daily noise. (gulikoza)
Joey Hess [Sun, 19 Jun 2011 19:12:38 +0000 (15:12 -0400)]
Ignore *.LOCK files, as used by selinux policies.
Joey Hess [Sat, 11 Jun 2011 16:08:41 +0000 (12:08 -0400)]
Ignore FHS violating prelink.cache and openvpn-status.log.
Joey Hess [Sat, 11 Jun 2011 16:03:18 +0000 (12:03 -0400)]
Avoid being noisy in post-install after automatic yum updates. (Tuomo Soini)
Joey Hess [Tue, 31 May 2011 21:36:47 +0000 (17:36 -0400)]
Fix error propigation to yum, which makes AVOID_COMMIT_BEFORE_INSTALL work. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=709487 Thanks, Thomas Moschny
Joey Hess [Mon, 30 May 2011 22:25:26 +0000 (18:25 -0400)]
releasing version 0.54
Joey Hess [Sat, 9 Apr 2011 17:41:43 +0000 (13:41 -0400)]
Use hg pre-commit hook, rather than its precommit hook, as the latter is run after the files staged for commit are determined and so .etckeeper cannot be staged as part of the current commit. Closes: #621827
Joey Hess [Fri, 25 Mar 2011 19:15:26 +0000 (15:15 -0400)]
Ignore inssev's FHS violating /etc/init.d/.depend.* files. Closes: #619407 See #619409
Joey Hess [Fri, 18 Mar 2011 19:48:30 +0000 (15:48 -0400)]
releasing version 0.53
Joey Hess [Fri, 18 Mar 2011 19:37:52 +0000 (15:37 -0400)]
Avoid warning about special or hard linked files that are ignored by hg. Thanks Sjoerd Mullender for patch. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=688991
Joey Hess [Sat, 26 Feb 2011 19:42:55 +0000 (15:42 -0400)]
Add lvm/backup and lvm/cache to ignore. Closes: #462355
Joey Hess [Sat, 26 Feb 2011 19:41:06 +0000 (15:41 -0400)]
Add .pyc and .pyo files to ignore.
Josh Triplett [Sun, 20 Feb 2011 19:02:33 +0000 (11:02 -0800)]
Only set environment variables for commit authorship (EMAIL, GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_EMAIL) if they don't already exist.
Joey Hess [Sun, 20 Feb 2011 00:03:28 +0000 (20:03 -0400)]
changelog
Jelmer Vernooij [Sat, 19 Feb 2011 23:09:06 +0000 (00:09 +0100)]
Install bzr hook lazily, clean up some compatibility code.
Joey Hess [Sat, 19 Feb 2011 03:06:05 +0000 (23:06 -0400)]
correct exclude_external regexp to match fully relative paths
git ls-files emits paths with no leading subdirectory. But the regexp
still needs to avoid false positives.
Joey Hess [Sun, 6 Feb 2011 04:01:26 +0000 (00:01 -0400)]
releasing version 0.52
Joey Hess [Thu, 13 Jan 2011 22:46:02 +0000 (18:46 -0400)]
DEP5
Joey Hess [Thu, 13 Jan 2011 18:11:54 +0000 (14:11 -0400)]
Rewrote 50git-rm
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
Joey Hess [Sat, 25 Dec 2010 18:42:27 +0000 (14:42 -0400)]
releasing version 0.51
Joey Hess [Mon, 20 Dec 2010 19:08:05 +0000 (15:08 -0400)]
Added Polish translation of debconf templates. Closes: #607563
Joey Hess [Tue, 16 Nov 2010 18:15:01 +0000 (14:15 -0400)]
Move etckeeper out of sbin, to avoid needing to work around broken root PATH settings in eg, crontab. Closes: #602438
Joey Hess [Fri, 5 Nov 2010 17:17:39 +0000 (13:17 -0400)]
changelog
Paul Morgan [Thu, 4 Nov 2010 23:55:13 +0000 (19:55 -0400)]
detect change in rpm epoch, name, version, release
ITIL compliance requires that _every_ package
change is detectable.
This fix ensures etckeeper properly reports any
change in rpm manifest, including epoch and release.
It uses an RPM query-format string that yields
reproducible results.
By example, assume you update a package that
differs only in the release number.
Before fix, etckeeper logs:
committing changes in /etc after yum run
Package changes:
After fix, etckeeper logs:
committing changes in /etc after yum run
Package changes:
-0:baseline-0.3.6-2.fc13.noarch
-0:baseline-devel-0.3.6-2.fc13.noarch
-0:baseline-release-0.3.6-2.fc13.noarch
+0:baseline-0.3.6-3.fc13.noarch
+0:baseline-devel-0.3.6-3.fc13.noarch
+0:baseline-release-0.3.6-3.fc13.noarch
Signed-off-by: Paul Morgan <jumanjiman@gmail.com>
Joey Hess [Sun, 31 Oct 2010 03:54:34 +0000 (23:54 -0400)]
Updated Vietnamese translation of debconf templates. Closes: #601921
Joey Hess [Wed, 27 Oct 2010 20:56:17 +0000 (16:56 -0400)]
update copyright date
Joey Hess [Wed, 20 Oct 2010 22:35:55 +0000 (18:35 -0400)]
releasing version 0.50
Joey Hess [Wed, 20 Oct 2010 18:04:26 +0000 (14:04 -0400)]
Deal with strange systems that include the domain name in the hostname, by stripping it. Closes: #600026
Joey Hess [Wed, 20 Oct 2010 18:02:21 +0000 (14:02 -0400)]
Set GIT_COMMITTER_EMAIL to root@$hostname to avoid git prompting the user to configure it in .gitconfig. Closes: #599749
Joey Hess [Tue, 12 Oct 2010 06:36:20 +0000 (02:36 -0400)]
Do not warn about special files or hardlinks if they are ignored by git. Fixes #549354 for git, but not for other VCSs.
Joey Hess [Sun, 26 Sep 2010 17:24:30 +0000 (13:24 -0400)]
Ignore /etc/.initctl. Closes: #598121
Joey Hess [Wed, 22 Sep 2010 21:46:22 +0000 (17:46 -0400)]
Add Danish translation of debconf templates. Closes: #597768
Joey Hess [Mon, 13 Sep 2010 17:12:25 +0000 (13:12 -0400)]
releasing version 0.49
Joey Hess [Mon, 13 Sep 2010 17:10:41 +0000 (13:10 -0400)]
Fix file quoting problem in processing .etckeeper file in init.
Joey Hess [Sat, 11 Sep 2010 22:17:19 +0000 (18:17 -0400)]
Remove HOME setting in etckeeper. sudo now defaults to setting HOME itself 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
Joey Hess [Sat, 11 Sep 2010 21:09:51 +0000 (17:09 -0400)]
Ignore -m switch to etckeeper commit, in case someone tries to use it with that option common to several VCS. Closes: #592050
Joey Hess [Sat, 11 Sep 2010 21:09:39 +0000 (17:09 -0400)]
note about sudo behavior
Joey Hess [Sun, 25 Jul 2010 23:47:45 +0000 (19:47 -0400)]
Ensure that PATH contains the directory containing etckeeper, so that hook scripts that re-exec etckeeper are guaranteed to find it.
Joey Hess [Fri, 16 Jul 2010 19:28:45 +0000 (15:28 -0400)]
releasing version 0.48
Joey Hess [Fri, 16 Jul 2010 19:22:44 +0000 (15:22 -0400)]
document vcs subcommand
Joey Hess [Fri, 16 Jul 2010 19:19:54 +0000 (15:19 -0400)]
properly quote $@; remove pointless IFS setting; add error if VCS not found
Joey Hess [Fri, 16 Jul 2010 19:18:36 +0000 (15:18 -0400)]
move to middle
Joey Hess [Fri, 16 Jul 2010 19:17:58 +0000 (15:17 -0400)]
Merge remote branch 'wertarbyte/cmd_vcs'
Stefan Tomanek [Thu, 15 Jul 2010 20:34:10 +0000 (22:34 +0200)]
add "vcs" to pass commands to the vcs program
This new command allows the user to execute arbitrary commands inside the
environment etckeeper runs in. This ensures that variables like $HOME match
the values present during the commit process.
Using the command "etckeeper vcs config user.email" will use the same git
configuration as "etckeeper commit", while the value used by "git config"
might vary due to the use of "sudo" and its handling of $HOME.
Joey Hess [Tue, 13 Jul 2010 22:25:57 +0000 (18:25 -0400)]
typo