Jelmer Vernooij [Sat, 5 Apr 2008 03:34:08 +0000 (05:34 +0200)]
Update bzr plugin to use new start_commit hook.
Jelmer Vernooij [Sun, 27 Jan 2008 20:44:04 +0000 (21:44 +0100)]
Rename bzr etckeeper plugin to clarify it's for bzr.
Remove warning about install bzr pre-commit hook.
Jelmer Vernooij [Sun, 27 Jan 2008 19:43:21 +0000 (20:43 +0100)]
Import plugin for bzr that can run the etckeeper pre-commit script.
Joey Hess [Thu, 3 Apr 2008 18:43:20 +0000 (14:43 -0400)]
mention bzr in synopsis
Joey Hess [Sat, 29 Mar 2008 17:45:56 +0000 (13:45 -0400)]
releasing version 0.14
Joey Hess [Fri, 28 Mar 2008 16:43:57 +0000 (12:43 -0400)]
some todo items
Joey Hess [Wed, 26 Mar 2008 01:09:45 +0000 (21:09 -0400)]
clean up the commit message
Joey Hess [Wed, 26 Mar 2008 01:05:24 +0000 (21:05 -0400)]
filter out @@ in diff
Joey Hess [Wed, 26 Mar 2008 00:53:02 +0000 (20:53 -0400)]
Keep track of what packages change state during an installation, and include that in the commit message at the end.
Joey Hess [Wed, 26 Mar 2008 00:29:24 +0000 (20:29 -0400)]
misc updates
Joey Hess [Fri, 21 Mar 2008 03:07:47 +0000 (23:07 -0400)]
wording
Joey Hess [Fri, 21 Mar 2008 03:06:07 +0000 (23:06 -0400)]
bug closures
Joey Hess [Fri, 21 Mar 2008 02:50:51 +0000 (22:50 -0400)]
remove .metadata first so .etckeeper doesn't try to chmod it
Also, remove vcs test, as it's in a code block that already tests that.
Joey Hess [Fri, 21 Mar 2008 02:47:24 +0000 (22:47 -0400)]
transition code
Joey Hess [Fri, 21 Mar 2008 02:11:30 +0000 (22:11 -0400)]
Revert "Add files needed to maintain /etc/package-list"
This reverts commit
d2a3a0b04c727430ece08aa4ec0e7719fa037f98.
This shouldn't have been in the nobinary branch,
I am not yet decided about merging the packagelist branch.
Joey Hess [Fri, 21 Mar 2008 02:10:53 +0000 (22:10 -0400)]
Revert "Add support for RPM (note: untested!)"
This reverts commit
2d0f02f740f73bafba187584184ec26fdf1cc3aa.
This shouldn't have been in the nobinary branch,
I am not yet decided about merging the packagelist branch.
Scott Bronson [Thu, 20 Mar 2008 10:06:05 +0000 (03:06 -0700)]
restore-etckeeper should run after restore-metadata so its settings will take priority.
Scott Bronson [Thu, 20 Mar 2008 10:03:05 +0000 (03:03 -0700)]
Restore the 20restore-metadata script so that legacy etckeeper repos will still work.
Scott Bronson [Thu, 20 Mar 2008 09:44:12 +0000 (02:44 -0700)]
find has a bug where pruned directories are considered empty, even if they're not.
Therefore we'll revert to the previous empty directory finding code.
The previous code would let "mkdir -p './.git'" into .etckeeper (no big deal but still wrong).
Scott Bronson [Thu, 20 Mar 2008 09:37:26 +0000 (02:37 -0700)]
Simplify the store-metadata script by calling chmod every time.
Scott Bronson [Thu, 20 Mar 2008 09:34:23 +0000 (02:34 -0700)]
Of course all filenames in .etckeeper should be surrounded by quotes.
Scott Bronson [Thu, 20 Mar 2008 09:28:32 +0000 (02:28 -0700)]
Store metadata in .etckeeper, not .fix-metadata.
Scott Bronson [Thu, 20 Mar 2008 08:49:26 +0000 (01:49 -0700)]
Turns out dash doesn't support ${string:substibution}. Use printf instead.
Scott Bronson [Sat, 15 Mar 2008 17:44:40 +0000 (10:44 -0700)]
$VCS rm .metadata instead of warning about its existence.
Scott Bronson [Sat, 15 Mar 2008 01:07:33 +0000 (18:07 -0700)]
Prune .bzr and .hg now (as well as .git) when running the find commands.
Scott Bronson [Fri, 14 Mar 2008 17:29:04 +0000 (10:29 -0700)]
Use a filter function to cull UNKNOWN users and groups.
Scott Bronson [Fri, 14 Mar 2008 16:46:13 +0000 (09:46 -0700)]
Move .fix-metadata generation into a function.
Scott Bronson [Fri, 14 Mar 2008 00:27:55 +0000 (17:27 -0700)]
Don't hard-code /etc, etckeeper might be managing another directory.
Scott Bronson [Mon, 17 Mar 2008 07:02:45 +0000 (00:02 -0700)]
Merge branch 'master' of git://git.kitenet.net/etckeeper
Joey Hess [Sat, 15 Mar 2008 19:38:27 +0000 (15:38 -0400)]
chmod the file after creating it, since later it will contain potentially secret info
Joey Hess [Fri, 14 Mar 2008 05:55:26 +0000 (01:55 -0400)]
debconf-updatepo
Sorry translators for not using this work..
Joey Hess [Fri, 14 Mar 2008 05:54:25 +0000 (01:54 -0400)]
remove unused function
(Note that this function was missing bzr support. Tch tch.)
Joey Hess [Fri, 14 Mar 2008 05:53:33 +0000 (01:53 -0400)]
* Drop the debconf prompt before committing in pre-install.
Closes: #470577, #462161
Joey Hess [Fri, 14 Mar 2008 05:31:05 +0000 (01:31 -0400)]
exclude .hg and .bzr as well as .git
Joey Hess [Fri, 14 Mar 2008 05:26:59 +0000 (01:26 -0400)]
ignore .bzr in find command
Scott Bronson [Thu, 13 Mar 2008 02:50:29 +0000 (19:50 -0700)]
Merge branches 'packagelist' and 'nobinary'
Scott Bronson [Wed, 12 Mar 2008 23:15:10 +0000 (16:15 -0700)]
Remove metastore, use simple find scripts instead.
Scott Bronson [Wed, 12 Mar 2008 23:30:41 +0000 (16:30 -0700)]
Add support for RPM (note: untested!)
Scott Bronson [Wed, 12 Mar 2008 22:36:21 +0000 (15:36 -0700)]
Add files needed to maintain /etc/package-list
Joey Hess [Tue, 11 Mar 2008 19:12:45 +0000 (15:12 -0400)]
releasing version 0.12
Joey Hess [Tue, 11 Mar 2008 19:09:44 +0000 (15:09 -0400)]
fix horrible typo in patch
Joey Hess [Tue, 11 Mar 2008 19:09:35 +0000 (15:09 -0400)]
did not mean to add this..
Joey Hess [Tue, 11 Mar 2008 19:03:24 +0000 (15:03 -0400)]
* Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515
(Note that bzr does not support etckeeper's pre-commit hook.)
Joey Hess [Fri, 29 Feb 2008 20:13:17 +0000 (15:13 -0500)]
* Use git ls-files instead of git status. Depend on new enough git for this.
Miklos Vajna [Wed, 20 Feb 2008 23:07:40 +0000 (00:07 +0100)]
use git ls-files instead of git status
git status is a porcelain command and should not be used from scripts just to
check if the working directory is clean or not.
Joey Hess [Mon, 11 Feb 2008 05:44:14 +0000 (00:44 -0500)]
releasing version 0.11
Joey Hess [Mon, 11 Feb 2008 05:43:14 +0000 (00:43 -0500)]
* Add nologin to default ignores.
Joey Hess [Sat, 9 Feb 2008 22:00:03 +0000 (17:00 -0500)]
* Add apt hooks for rpm based systems.
Joey Hess [Sat, 9 Feb 2008 18:13:26 +0000 (13:13 -0500)]
* Some initial rpm support. Patch from Евгений Терешков.
Joey Hess [Wed, 30 Jan 2008 01:12:02 +0000 (20:12 -0500)]
* Updated German translation. Closes: #463153
Jelmer Vernooij [Sun, 27 Jan 2008 15:44:56 +0000 (16:44 +0100)]
Fix typo.
Joey Hess [Thu, 24 Jan 2008 21:19:28 +0000 (16:19 -0500)]
* Add lvm cache dir to default ignores. (#462355)
Joey Hess [Tue, 15 Jan 2008 19:38:38 +0000 (14:38 -0500)]
releasing version 0.10
Joey Hess [Tue, 15 Jan 2008 19:34:55 +0000 (14:34 -0500)]
move, don't delete
Joey Hess [Tue, 15 Jan 2008 19:25:53 +0000 (14:25 -0500)]
* Use git status instead of git-status (missed this one before).
Joey Hess [Tue, 15 Jan 2008 19:25:12 +0000 (14:25 -0500)]
German debconf translation. Closes: #460940, #458751
Joey Hess [Tue, 15 Jan 2008 19:21:46 +0000 (14:21 -0500)]
* Convert the directory parameter of etckeeper into "-d directory".
* 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.
Miklos Vajna [Sun, 13 Jan 2008 12:29:37 +0000 (13:29 +0100)]
Fix "Extraneous text after `ifeq' directive" make warnings.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Joey Hess [Mon, 7 Jan 2008 18:46:38 +0000 (13:46 -0500)]
releasing version 0.9
Joey Hess [Mon, 7 Jan 2008 18:46:21 +0000 (13:46 -0500)]
* Separate debconf use from the main flow of the script so the commit
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..)
Joey Hess [Sun, 6 Jan 2008 17:55:02 +0000 (12:55 -0500)]
releasing version 0.8
Joey Hess [Sun, 6 Jan 2008 17:54:47 +0000 (12:54 -0500)]
* Add backwards compatability code to handle post-apt action. Closes: #459441
Joey Hess [Sat, 5 Jan 2008 05:42:19 +0000 (00:42 -0500)]
changelog
Miklos Vajna [Sat, 5 Jan 2008 03:25:32 +0000 (04:25 +0100)]
Fix two typo in README.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Miklos Vajna [Sat, 5 Jan 2008 03:33:53 +0000 (04:33 +0100)]
Makefile: typo fix.
In case LOWLEVEL_PACKAGE_MANAGER=pacman-g2, the /etc path was duplicated. Fix
this.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Miklos Vajna [Sat, 5 Jan 2008 03:47:39 +0000 (04:47 +0100)]
Update pacman-g2.hook
pre-apt -> pre-install; post-apt -> post-install
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Joey Hess [Fri, 4 Jan 2008 23:50:05 +0000 (18:50 -0500)]
releasing version 0.7
Joey Hess [Fri, 4 Jan 2008 23:46:24 +0000 (18:46 -0500)]
* Commit removed files in the pre-install hook to git, as was already done
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.
Joey Hess [Fri, 4 Jan 2008 23:43:29 +0000 (18:43 -0500)]
fix prep_mv_conffile function
somehow I had an old version
(The fact that we copy and paste this function around is absurd and needs fixing!)
Joey Hess [Fri, 4 Jan 2008 23:34:54 +0000 (18:34 -0500)]
tricky stuff to do with storing metadata etc in pre-commit
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.
Joey Hess [Fri, 4 Jan 2008 23:15:57 +0000 (18:15 -0500)]
debconf-updatepo, mark vi fuzzy
Joey Hess [Fri, 4 Jan 2008 23:15:14 +0000 (18:15 -0500)]
typo
Joey Hess [Fri, 4 Jan 2008 23:03:13 +0000 (18:03 -0500)]
updates for mercurial
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.
Joey Hess [Fri, 4 Jan 2008 22:38:10 +0000 (17:38 -0500)]
Merge branch 'hg'
Significantly refactored
Joey Hess [Fri, 4 Jan 2008 21:02:22 +0000 (16:02 -0500)]
update
Joey Hess [Fri, 4 Jan 2008 20:23:04 +0000 (15:23 -0500)]
Merge branch 'debconf-l10n'
Christian Perrier [Fri, 4 Jan 2008 20:18:42 +0000 (15:18 -0500)]
General update after the debconf review process
Joey Hess [Fri, 4 Jan 2008 18:10:58 +0000 (13:10 -0500)]
formatting
Joey Hess [Fri, 4 Jan 2008 18:10:38 +0000 (13:10 -0500)]
this was missed in the merge, re-add
Joey Hess [Fri, 4 Jan 2008 18:08:53 +0000 (13:08 -0500)]
let's call pacman a lowlevel package manager consistently
Miklos Vajna [Fri, 4 Jan 2008 17:32:25 +0000 (18:32 +0100)]
replace git-foo with git foo
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"
Joey Hess [Fri, 4 Jan 2008 17:04:54 +0000 (12:04 -0500)]
Merge branch 'pacman-g2'
Joey Hess [Fri, 4 Jan 2008 17:02:57 +0000 (12:02 -0500)]
changelog
Joey Hess [Fri, 4 Jan 2008 17:01:49 +0000 (12:01 -0500)]
rework tests slightly, test for debconf directly
Joey Hess [Fri, 4 Jan 2008 16:59:16 +0000 (11:59 -0500)]
whitespace
Miklos Vajna [Fri, 4 Jan 2008 16:17:39 +0000 (17:17 +0100)]
Merge branch 'pacman-g2'
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>
Joey Hess [Fri, 4 Jan 2008 02:40:04 +0000 (21:40 -0500)]
minor consistency fix
Joey Hess [Fri, 4 Jan 2008 02:36:13 +0000 (21:36 -0500)]
* Add gnarly conffile renaming code.
Joey Hess [Fri, 4 Jan 2008 02:12:05 +0000 (21:12 -0500)]
* Added configuration options for highlevel and lowlevel package managers
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.
Miklos Vajna [Fri, 4 Jan 2008 00:24:19 +0000 (01:24 +0100)]
Add support for the pacman-g2 package manager.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
.hgignore syntax correction
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
.hgrc section was overwriten
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Ignore .pacsave files
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
hg-pre-commit-hook: typo when touching file
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Adapt bash_completio to the new subdir structure
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Makefile correction - dir creation, and man dest
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Makefile : hg subdirs installation
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
post-apt.d : Translation into mercurial idiom
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
pre-apt.d : Translation into mercurial idiom
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Move git files to hg one