joey/ code/ etckeeper

etckeeper is a collection of tools to let /etc be stored in a git, mercurial, or bzr repository. It hooks into apt (and other package managers) to automatically commit changes made to /etc during package upgrades. It tracks file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. It's quite modular and configurable, while also being simple to use if you understand the basics of working with revision control.

etckeeper is available in git at git://git.kitenet.net/etckeeper, or in gitweb. It's packaged in Debian; packages for other distributions are forthcoming.

News

version 0.15

etckeeper 0.15 released with these changes

  • [ Daniel Hahler ]
    • bzr: Set nickname for tree in init.d/40vcs-init.
    • Add script to add new files during "commit" for bzr (commit.d/30bzr-add). Closes: #477321
    • Fix handling of files with spaces, by setting IFS to "newline" in commit.d/40git-rm.
  • [ Jelmer Vernooij ]
    • Support for the new bzr pre-commit hook. This requires bzr version 1.4. Closes: #473069
    • Remove pointless commit.d/40bzr-rm script.
  • [ Joey Hess ]
    • debhelper v7; rules file minimisation
Posted Saturday afternoon, May 3rd, 2008
version 0.14.2

etckeeper 0.14.2 released with these changes

  • Handle nonzero exit status when building package list diff.
Posted at lunch time on Thursday, April 17th, 2008
version 0.14.1

etckeeper 0.14.1 released with these changes

  • Fix typo in bzr-precommit script. Closes: #473069 This is an interim fix -- full bzr precommit support has been implemented, but the bzr that supports it is not yet released.
  • Fix handling of files with spaces, by setting IFS to NL.
Posted Wednesday evening, April 16th, 2008