jelmer/etckeeper.git
15 years agoAvoid use of etckeeper pre-commit on Trees not on the filesystem. master
Jelmer Vernooij [Sat, 31 Jan 2009 22:37:18 +0000 (23:37 +0100)]
Avoid use of etckeeper pre-commit on Trees not on the filesystem.

15 years agoUse SUDO_USER as the committer if set. Closes: #498739 (Thierry Carrez)
Joey Hess [Wed, 28 Jan 2009 18:37:18 +0000 (13:37 -0500)]
Use SUDO_USER as the committer if set. Closes: #498739 (Thierry Carrez)

15 years agoPrevent git from removing a directory when the last file in it has been removed,...
Joey Hess [Sun, 25 Jan 2009 19:30:36 +0000 (14:30 -0500)]
Prevent git from removing a directory when the last file in it has been removed, but the directory is left existing and empty, by touching a flag file before calling git rm. Closes: 513006

15 years agoAdd Japanese debconf translation. Closes: #512869
Joey Hess [Sat, 24 Jan 2009 17:35:50 +0000 (12:35 -0500)]
Add Japanese debconf translation. Closes: #512869

15 years agoreleasing version 0.25
Joey Hess [Wed, 31 Dec 2008 18:02:14 +0000 (13:02 -0500)]
releasing version 0.25

15 years agoreleasing version 0.24
Joey Hess [Mon, 29 Dec 2008 20:38:48 +0000 (15:38 -0500)]
releasing version 0.24

15 years agosimplify expression
Joey Hess [Sun, 28 Dec 2008 00:14:44 +0000 (19:14 -0500)]
simplify expression

15 years agoMake .etckeeper test that files actually exist before acting on them. Closes: #509888
Joey Hess [Sat, 27 Dec 2008 19:31:47 +0000 (14:31 -0500)]
Make .etckeeper test that files actually exist before acting on them. Closes: #509888

15 years agoreleasing version 0.23
Joey Hess [Thu, 25 Dec 2008 21:27:05 +0000 (16:27 -0500)]
releasing version 0.23

15 years agoFix hook scripts to use new etckeeper path. Closes: #509742
Joey Hess [Thu, 25 Dec 2008 21:25:07 +0000 (16:25 -0500)]
Fix hook scripts to use new etckeeper path. Closes: #509742

15 years agoreleasing version 0.22
Joey Hess [Tue, 23 Dec 2008 23:52:49 +0000 (18:52 -0500)]
releasing version 0.22

15 years agoBuild using python-central. For some reason bzr does not pick up on plugins built...
Joey Hess [Tue, 23 Dec 2008 23:51:07 +0000 (18:51 -0500)]
Build using python-central. For some reason bzr does not pick up on plugins built using python-support.

15 years agofixed
Joey Hess [Mon, 22 Dec 2008 21:21:36 +0000 (16:21 -0500)]
fixed

15 years agobug closure
Joey Hess [Mon, 22 Dec 2008 21:18:12 +0000 (16:18 -0500)]
bug closure

15 years agoMention README file from man page.
Joey Hess [Mon, 22 Dec 2008 21:16:40 +0000 (16:16 -0500)]
Mention README file from man page.

15 years agoMove etckeeper to sbin, and man page to section 8, since only an admin can really...
Joey Hess [Mon, 22 Dec 2008 21:12:01 +0000 (16:12 -0500)]
Move etckeeper to sbin, and man page to section 8, since only an admin can really use etckeeper.

15 years agoreleasing version 0.21
Joey Hess [Thu, 11 Sep 2008 20:55:03 +0000 (16:55 -0400)]
releasing version 0.21

15 years agobe clearer about missing bzr support not failing the build/install
Joey Hess [Thu, 11 Sep 2008 20:34:12 +0000 (16:34 -0400)]
be clearer about missing bzr support not failing the build/install

15 years agoMake etckeeper init -d set up commit hooks that call etckeeper -d.
Joey Hess [Thu, 11 Sep 2008 20:16:42 +0000 (16:16 -0400)]
Make etckeeper init -d set up commit hooks that call etckeeper -d.

Note that if you've relied on it setting up such commit hooks for a repo
outside of /etc already, it created broken ones that need to be fixed to
use -d.

Thanks, Wolfgang Karall.

15 years agoadd docs
Joey Hess [Thu, 4 Sep 2008 03:58:13 +0000 (23:58 -0400)]
add docs

15 years agoSwedish debconf translation from Martin Ågren. Closes: #492063
Joey Hess [Wed, 23 Jul 2008 17:14:18 +0000 (13:14 -0400)]
Swedish debconf translation from Martin Ågren. Closes: #492063

15 years agoreleasing version 0.20
Joey Hess [Mon, 7 Jul 2008 16:14:23 +0000 (12:14 -0400)]
releasing version 0.20

15 years agoIgnore warnings from bzr plugins when checking for changes in the tree.
Jelmer Vernooij [Mon, 7 Jul 2008 13:35:48 +0000 (15:35 +0200)]
Ignore warnings from bzr plugins when checking for changes in the tree.

15 years agoMerge branch 'master' of git://git.kitenet.net/etckeeper into bzrplugin
Jelmer Vernooij [Mon, 7 Jul 2008 13:32:23 +0000 (15:32 +0200)]
Merge branch 'master' of git://git.kitenet.net/etckeeper into bzrplugin

15 years agoreleasing version 0.19
Joey Hess [Sat, 5 Jul 2008 12:35:38 +0000 (08:35 -0400)]
releasing version 0.19

15 years agoUse git ls-files instead of git-ls-files.
Miklos Vajna [Sat, 5 Jul 2008 02:30:30 +0000 (04:30 +0200)]
Use git ls-files instead of git-ls-files.

git-ls-files won't be in PATH in the next Git version.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
15 years agoreleasing version 0.18
Joey Hess [Thu, 3 Jul 2008 04:48:51 +0000 (00:48 -0400)]
releasing version 0.18

15 years agoDon't allow LC_COLLATE to reorder the .etckeeper file. Closes: #489057
Joey Hess [Thu, 3 Jul 2008 04:47:22 +0000 (00:47 -0400)]
Don't allow LC_COLLATE to reorder the .etckeeper file. Closes: #489057

15 years agoupdate
Joey Hess [Wed, 2 Jul 2008 22:35:39 +0000 (18:35 -0400)]
update

15 years agoAllow AVOID_COMMIT_BEFORE_INSTALL to be set to zero to disable.
Joey Hess [Sun, 29 Jun 2008 16:56:25 +0000 (12:56 -0400)]
Allow AVOID_COMMIT_BEFORE_INSTALL to be set to zero to disable.

15 years agomake message clearer
Joey Hess [Mon, 23 Jun 2008 20:59:17 +0000 (16:59 -0400)]
make message clearer

15 years agoreleasing version 0.17
Joey Hess [Thu, 19 Jun 2008 00:39:56 +0000 (20:39 -0400)]
releasing version 0.17

15 years agoFix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922
Joey Hess [Thu, 19 Jun 2008 00:37:56 +0000 (20:37 -0400)]
Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922

15 years agoreleasing version 0.16
Joey Hess [Mon, 16 Jun 2008 23:22:40 +0000 (19:22 -0400)]
releasing version 0.16

15 years agoMerge branch 'master' of git://git.kitenet.net/etckeeper into bzrplugin
Jelmer Vernooij [Fri, 13 Jun 2008 14:59:33 +0000 (16:59 +0200)]
Merge branch 'master' of git://git.kitenet.net/etckeeper into bzrplugin

Conflicts:

debian/changelog

15 years agoAdd a AVOID_COMMIT_BEFORE_INSTALL option in the config file to make it easy to config...
Joey Hess [Sat, 7 Jun 2008 20:11:59 +0000 (16:11 -0400)]
Add a AVOID_COMMIT_BEFORE_INSTALL option in the config file to make it easy to configure etckeeper to abort an installation if there are uncommitted changes in /etc. Closes: #478754

15 years agoMake 'bzr add' quiet so new files aren't printed to stdout twice.
Jelmer Vernooij [Fri, 30 May 2008 15:03:29 +0000 (17:03 +0200)]
Make 'bzr add' quiet so new files aren't printed to stdout twice.

15 years agoUse newer API in bzr plugin. bzrplugin
Jelmer Vernooij [Thu, 15 May 2008 17:27:34 +0000 (19:27 +0200)]
Use newer API in bzr plugin.

15 years agodelete build directory on clean
Joey Hess [Sat, 3 May 2008 19:19:18 +0000 (15:19 -0400)]
delete build directory on clean

also, a non-phony build target

15 years agoadd
Joey Hess [Sat, 3 May 2008 19:10:51 +0000 (15:10 -0400)]
add

15 years agoadd phony build target for dh to call
Joey Hess [Sat, 3 May 2008 19:10:42 +0000 (15:10 -0400)]
add phony build target for dh to call

16 years agoupdate
Joey Hess [Sat, 26 Apr 2008 23:27:54 +0000 (19:27 -0400)]
update

16 years agodebhelper v7; rules file minimisation
Joey Hess [Sat, 26 Apr 2008 23:27:29 +0000 (19:27 -0400)]
debhelper v7; rules file minimisation

16 years agoadd conffile removal code
Joey Hess [Tue, 22 Apr 2008 19:54:27 +0000 (15:54 -0400)]
add conffile removal code

16 years agobug closure
Joey Hess [Tue, 22 Apr 2008 16:50:16 +0000 (12:50 -0400)]
bug closure

16 years agoHandle nonzero exit status when building package list diff.
Joey Hess [Thu, 17 Apr 2008 17:42:25 +0000 (13:42 -0400)]
Handle nonzero exit status when building package list diff.

16 years agoadd changelog entry
Joey Hess [Wed, 16 Apr 2008 23:28:54 +0000 (19:28 -0400)]
add changelog entry

16 years agoRevert "remove versioned dependencies on bzr 1.4"
Joey Hess [Wed, 16 Apr 2008 23:26:22 +0000 (19:26 -0400)]
Revert "remove versioned dependencies on bzr 1.4"

This reverts commit ca38120888503b2529d0e69b3556163f89ea0667.

I'll do an interim release branched from the last one instead..

16 years agoremove versioned dependencies on bzr 1.4
Joey Hess [Wed, 16 Apr 2008 23:10:24 +0000 (19:10 -0400)]
remove versioned dependencies on bzr 1.4

I was told that bzr 1.4 would be released last weekend, but that does not
seem to be true, (unless they meant that 1.4rc1 would be released). I don't
want to keep a RC bug open blocked on a bzr release. The versioned deps
arn't really needed; building with an older bzr will drop the bzr hook
and otherwise work.

16 years agoTest whether required hook is present rather than depending on a specific version...
Jelmer Vernooij [Sat, 5 Apr 2008 22:15:34 +0000 (00:15 +0200)]
Test whether required hook is present rather than depending on a specific version of Bazaar.

16 years agoUse standard attribution formatting in changelog.
Jelmer Vernooij [Sat, 5 Apr 2008 21:58:49 +0000 (23:58 +0200)]
Use standard attribution formatting in changelog.

16 years agoRemove pointless bzr-rm script.
Jelmer Vernooij [Sat, 5 Apr 2008 21:45:10 +0000 (23:45 +0200)]
Remove pointless bzr-rm script.

16 years agoMerge commit 'jelmer/master'
Joey Hess [Sat, 5 Apr 2008 19:48:20 +0000 (15:48 -0400)]
Merge commit 'jelmer/master'

Conflicts:

debian/changelog

16 years agoRemove pre-commit hook for bzr from the TODO.
Jelmer Vernooij [Sat, 5 Apr 2008 19:39:39 +0000 (21:39 +0200)]
Remove pre-commit hook for bzr from the TODO.

16 years agoupdate
Joey Hess [Sat, 5 Apr 2008 19:14:55 +0000 (15:14 -0400)]
update

16 years agoAdd commit hook script for bzr to add new files
Joey Hess [Sat, 5 Apr 2008 19:14:41 +0000 (15:14 -0400)]
Add commit hook script for bzr to add new files

16 years agoRemove now obsolete precommit script for bzr.
Jelmer Vernooij [Sat, 5 Apr 2008 19:08:31 +0000 (21:08 +0200)]
Remove now obsolete precommit script for bzr.

16 years agoSet branch nicks on bzr branches.
Jelmer Vernooij [Sat, 5 Apr 2008 19:07:59 +0000 (21:07 +0200)]
Set branch nicks on bzr branches.

16 years agoAdd commit hook script for bzr to add new files
dAniel hAhler [Wed, 12 Mar 2008 00:53:48 +0000 (01:53 +0100)]
Add commit hook script for bzr to add new files

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.

16 years agobzr: Set nickname for tree in init.d/40vcs-init
dAniel hAhler [Fri, 4 Apr 2008 20:15:52 +0000 (22:15 +0200)]
bzr: Set nickname for tree in init.d/40vcs-init

16 years agoremove unused TAB settings
Joey Hess [Sat, 5 Apr 2008 18:54:20 +0000 (14:54 -0400)]
remove unused TAB settings

16 years agochangelog entry and remove obsolete warning
Joey Hess [Sat, 5 Apr 2008 18:40:49 +0000 (14:40 -0400)]
changelog entry and remove obsolete warning

16 years agoConflict with older versions of bzr.
Joey Hess [Sat, 5 Apr 2008 18:31:58 +0000 (14:31 -0400)]
Conflict with older versions of bzr.

This combination causes the bzr etckeeper plugin to be unloadable.

Conflicts:

debian/control

16 years agoInclude etckeeper plugin in Debian package.
Joey Hess [Sat, 5 Apr 2008 18:31:19 +0000 (14:31 -0400)]
Include etckeeper plugin in Debian package.

Conflicts:

debian/control

16 years agoUpdate bzr plugin to use new start_commit hook.
Jelmer Vernooij [Sat, 5 Apr 2008 03:34:08 +0000 (05:34 +0200)]
Update bzr plugin to use new start_commit hook.

16 years agoRename bzr etckeeper plugin to clarify it's for bzr.
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.

16 years agoImport plugin for bzr that can run the etckeeper pre-commit script.
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.

16 years agomention bzr in synopsis
Joey Hess [Thu, 3 Apr 2008 18:43:20 +0000 (14:43 -0400)]
mention bzr in synopsis

16 years agoreleasing version 0.14
Joey Hess [Sat, 29 Mar 2008 17:45:56 +0000 (13:45 -0400)]
releasing version 0.14

16 years agosome todo items
Joey Hess [Fri, 28 Mar 2008 16:43:57 +0000 (12:43 -0400)]
some todo items

16 years agoclean up the commit message
Joey Hess [Wed, 26 Mar 2008 01:09:45 +0000 (21:09 -0400)]
clean up the commit message

16 years agofilter out @@ in diff
Joey Hess [Wed, 26 Mar 2008 01:05:24 +0000 (21:05 -0400)]
filter out @@ in diff

16 years agoKeep track of what packages change state during an installation, and include that...
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.

16 years agomisc updates
Joey Hess [Wed, 26 Mar 2008 00:29:24 +0000 (20:29 -0400)]
misc updates

16 years agowording
Joey Hess [Fri, 21 Mar 2008 03:07:47 +0000 (23:07 -0400)]
wording

16 years agobug closures
Joey Hess [Fri, 21 Mar 2008 03:06:07 +0000 (23:06 -0400)]
bug closures

16 years agoremove .metadata first so .etckeeper doesn't try to chmod it
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.

16 years agotransition code
Joey Hess [Fri, 21 Mar 2008 02:47:24 +0000 (22:47 -0400)]
transition code

16 years agoRevert "Add files needed to maintain /etc/package-list"
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.

16 years agoRevert "Add support for RPM (note: untested!)"
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.

16 years agorestore-etckeeper should run after restore-metadata so its settings will take priority.
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.

16 years agoRestore the 20restore-metadata script so that legacy etckeeper repos will still work.
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.

16 years agofind has a bug where pruned directories are considered empty, even if they're not.
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).

16 years agoSimplify the store-metadata script by calling chmod every time.
Scott Bronson [Thu, 20 Mar 2008 09:37:26 +0000 (02:37 -0700)]
Simplify the store-metadata script by calling chmod every time.

16 years agoOf course all filenames in .etckeeper should be surrounded by quotes.
Scott Bronson [Thu, 20 Mar 2008 09:34:23 +0000 (02:34 -0700)]
Of course all filenames in .etckeeper should be surrounded by quotes.

16 years agoStore metadata in .etckeeper, not .fix-metadata.
Scott Bronson [Thu, 20 Mar 2008 09:28:32 +0000 (02:28 -0700)]
Store metadata in .etckeeper, not .fix-metadata.

16 years agoTurns out dash doesn't support ${string:substibution}. Use printf instead.
Scott Bronson [Thu, 20 Mar 2008 08:49:26 +0000 (01:49 -0700)]
Turns out dash doesn't support ${string:substibution}.  Use printf instead.

16 years ago$VCS rm .metadata instead of warning about its existence.
Scott Bronson [Sat, 15 Mar 2008 17:44:40 +0000 (10:44 -0700)]
$VCS rm .metadata instead of warning about its existence.

16 years agoPrune .bzr and .hg now (as well as .git) when running the find commands.
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.

16 years agoUse a filter function to cull UNKNOWN users and groups.
Scott Bronson [Fri, 14 Mar 2008 17:29:04 +0000 (10:29 -0700)]
Use a filter function to cull UNKNOWN users and groups.

16 years agoMove .fix-metadata generation into a function.
Scott Bronson [Fri, 14 Mar 2008 16:46:13 +0000 (09:46 -0700)]
Move .fix-metadata generation into a function.

16 years agoDon't hard-code /etc, etckeeper might be managing another directory.
Scott Bronson [Fri, 14 Mar 2008 00:27:55 +0000 (17:27 -0700)]
Don't hard-code /etc, etckeeper might be managing another directory.

16 years agoMerge branch 'master' of git://git.kitenet.net/etckeeper
Scott Bronson [Mon, 17 Mar 2008 07:02:45 +0000 (00:02 -0700)]
Merge branch 'master' of git://git.kitenet.net/etckeeper

16 years agochmod the file after creating it, since later it will contain potentially secret...
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

16 years agodebconf-updatepo
Joey Hess [Fri, 14 Mar 2008 05:55:26 +0000 (01:55 -0400)]
debconf-updatepo

Sorry translators for not using this work..

16 years agoremove unused function
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.)

16 years ago* Drop the debconf prompt before committing in pre-install.
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
16 years agoexclude .hg and .bzr as well as .git
Joey Hess [Fri, 14 Mar 2008 05:31:05 +0000 (01:31 -0400)]
exclude .hg and .bzr as well as .git

16 years agoignore .bzr in find command
Joey Hess [Fri, 14 Mar 2008 05:26:59 +0000 (01:26 -0400)]
ignore .bzr in find command

16 years agoMerge branches 'packagelist' and 'nobinary'
Scott Bronson [Thu, 13 Mar 2008 02:50:29 +0000 (19:50 -0700)]
Merge branches 'packagelist' and 'nobinary'