jelmer/etckeeper.git
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 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'

16 years agoRemove metastore, use simple find scripts instead.
Scott Bronson [Wed, 12 Mar 2008 23:15:10 +0000 (16:15 -0700)]
Remove metastore, use simple find scripts instead.

16 years agoAdd support for RPM (note: untested!)
Scott Bronson [Wed, 12 Mar 2008 23:30:41 +0000 (16:30 -0700)]
Add support for RPM (note: untested!)

16 years agoAdd files needed to maintain /etc/package-list
Scott Bronson [Wed, 12 Mar 2008 22:36:21 +0000 (15:36 -0700)]
Add files needed to maintain /etc/package-list

16 years agoreleasing version 0.12
Joey Hess [Tue, 11 Mar 2008 19:12:45 +0000 (15:12 -0400)]
releasing version 0.12

16 years agofix horrible typo in patch
Joey Hess [Tue, 11 Mar 2008 19:09:44 +0000 (15:09 -0400)]
fix horrible typo in patch

16 years agodid not mean to add this..
Joey Hess [Tue, 11 Mar 2008 19:09:35 +0000 (15:09 -0400)]
did not mean to add this..

16 years ago* Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515
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.)

16 years ago* Use git ls-files instead of git status. Depend on new enough git for this.
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.

16 years agouse git ls-files instead of git status
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.

16 years agoreleasing version 0.11
Joey Hess [Mon, 11 Feb 2008 05:44:14 +0000 (00:44 -0500)]
releasing version 0.11

16 years ago* Add nologin to default ignores.
Joey Hess [Mon, 11 Feb 2008 05:43:14 +0000 (00:43 -0500)]
* Add nologin to default ignores.

16 years ago* Add apt hooks for rpm based systems.
Joey Hess [Sat, 9 Feb 2008 22:00:03 +0000 (17:00 -0500)]
* Add apt hooks for rpm based systems.

16 years ago* Some initial rpm support. Patch from Евгений Терешков.
Joey Hess [Sat, 9 Feb 2008 18:13:26 +0000 (13:13 -0500)]
* Some initial rpm support. Patch from Евгений Терешков.

16 years ago* Updated German translation. Closes: #463153
Joey Hess [Wed, 30 Jan 2008 01:12:02 +0000 (20:12 -0500)]
* Updated German translation. Closes: #463153

16 years agoFix typo.
Jelmer Vernooij [Sun, 27 Jan 2008 15:44:56 +0000 (16:44 +0100)]
Fix typo.

16 years ago* Add lvm cache dir to default ignores. (#462355)
Joey Hess [Thu, 24 Jan 2008 21:19:28 +0000 (16:19 -0500)]
* Add lvm cache dir to default ignores. (#462355)

16 years agoreleasing version 0.10
Joey Hess [Tue, 15 Jan 2008 19:38:38 +0000 (14:38 -0500)]
releasing version 0.10

16 years agomove, don't delete
Joey Hess [Tue, 15 Jan 2008 19:34:55 +0000 (14:34 -0500)]
move, don't delete

16 years ago* Use git status instead of git-status (missed this one before).
Joey Hess [Tue, 15 Jan 2008 19:25:53 +0000 (14:25 -0500)]
* Use git status instead of git-status (missed this one before).

16 years agoGerman debconf translation. Closes: #460940, #458751
Joey Hess [Tue, 15 Jan 2008 19:25:12 +0000 (14:25 -0500)]
German debconf translation. Closes: #460940, #458751

16 years ago * Convert the directory parameter of etckeeper into "-d directory".
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.

16 years agoFix "Extraneous text after `ifeq' directive" make warnings.
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>
16 years agoreleasing version 0.9
Joey Hess [Mon, 7 Jan 2008 18:46:38 +0000 (13:46 -0500)]
releasing version 0.9

16 years ago* Separate debconf use from the main flow of the script so the commit
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..)

16 years agoreleasing version 0.8
Joey Hess [Sun, 6 Jan 2008 17:55:02 +0000 (12:55 -0500)]
releasing version 0.8

16 years ago* Add backwards compatability code to handle post-apt action. Closes: #459441
Joey Hess [Sun, 6 Jan 2008 17:54:47 +0000 (12:54 -0500)]
* Add backwards compatability code to handle post-apt action. Closes: #459441

16 years agochangelog
Joey Hess [Sat, 5 Jan 2008 05:42:19 +0000 (00:42 -0500)]
changelog

16 years agoFix two typo in README.
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>
16 years agoMakefile: typo fix.
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>
16 years agoUpdate pacman-g2.hook
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>
16 years agoreleasing version 0.7
Joey Hess [Fri, 4 Jan 2008 23:50:05 +0000 (18:50 -0500)]
releasing version 0.7

16 years ago* Commit removed files in the pre-install hook to git, as was already done
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.

16 years agofix prep_mv_conffile function
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!)

16 years agotricky stuff to do with storing metadata etc in pre-commit
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.

16 years agodebconf-updatepo, mark vi fuzzy
Joey Hess [Fri, 4 Jan 2008 23:15:57 +0000 (18:15 -0500)]
debconf-updatepo, mark vi fuzzy

16 years agotypo
Joey Hess [Fri, 4 Jan 2008 23:15:14 +0000 (18:15 -0500)]
typo

16 years agoupdates for mercurial
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.

16 years agoMerge branch 'hg'
Joey Hess [Fri, 4 Jan 2008 22:38:10 +0000 (17:38 -0500)]
Merge branch 'hg'

Significantly refactored

16 years agoupdate
Joey Hess [Fri, 4 Jan 2008 21:02:22 +0000 (16:02 -0500)]
update

16 years agoMerge branch 'debconf-l10n'
Joey Hess [Fri, 4 Jan 2008 20:23:04 +0000 (15:23 -0500)]
Merge branch 'debconf-l10n'

16 years agoGeneral update after the debconf review process
Christian Perrier [Fri, 4 Jan 2008 20:18:42 +0000 (15:18 -0500)]
General update after the debconf review process

16 years agoformatting
Joey Hess [Fri, 4 Jan 2008 18:10:58 +0000 (13:10 -0500)]
formatting

16 years agothis was missed in the merge, re-add
Joey Hess [Fri, 4 Jan 2008 18:10:38 +0000 (13:10 -0500)]
this was missed in the merge, re-add

16 years agolet's call pacman a lowlevel package manager consistently
Joey Hess [Fri, 4 Jan 2008 18:08:53 +0000 (13:08 -0500)]
let's call pacman a lowlevel package manager consistently

16 years agoreplace git-foo with git foo
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"

16 years agoMerge branch 'pacman-g2'
Joey Hess [Fri, 4 Jan 2008 17:04:54 +0000 (12:04 -0500)]
Merge branch 'pacman-g2'

16 years agochangelog
Joey Hess [Fri, 4 Jan 2008 17:02:57 +0000 (12:02 -0500)]
changelog

16 years agorework tests slightly, test for debconf directly
Joey Hess [Fri, 4 Jan 2008 17:01:49 +0000 (12:01 -0500)]
rework tests slightly, test for debconf directly

16 years agowhitespace
Joey Hess [Fri, 4 Jan 2008 16:59:16 +0000 (11:59 -0500)]
whitespace

16 years agoMerge branch 'pacman-g2'
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>
16 years agominor consistency fix
Joey Hess [Fri, 4 Jan 2008 02:40:04 +0000 (21:40 -0500)]
minor consistency fix

16 years ago* Add gnarly conffile renaming code.
Joey Hess [Fri, 4 Jan 2008 02:36:13 +0000 (21:36 -0500)]
* Add gnarly conffile renaming code.

16 years ago * Added configuration options for highlevel and lowlevel package managers
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.

16 years agoAdd support for the pacman-g2 package manager.
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>
16 years ago.hgignore syntax correction
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
.hgignore syntax correction

16 years ago.hgrc section was overwriten
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
.hgrc section was overwriten

16 years agoIgnore .pacsave files
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Ignore .pacsave files

16 years agohg-pre-commit-hook: typo when touching file
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
hg-pre-commit-hook: typo when touching file

16 years agoAdapt bash_completio to the new subdir structure
Mathieu Clabaut [Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)]
Adapt bash_completio to the new subdir structure