Size: 1248
Comment:
|
← Revision 6 as of 2020-04-02 12:19:04 ⇥
Size: 484
Comment: cleanup
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
== Using Etckeeper == ''The DebPkg:etckeeper program is a tool to let /etc be stored in a git, mercurial, or bzr repository. It hooks into APT to automatically commit changes made to /etc during package upgrades.'' |
== Using etckeeper == |
Line 8: | Line 7: |
See package's README file == Using svk == /!\ svk and etcinsvk were removed from Debian in Squeeze, since svk is dead upstream.<<BR>> see DebianBug:554335, DebianBug:557074. ''DebPkg:svk is a decentralized version control system written in Perl. It uses the subversion filesystem.'' Install svk {{{ apt-get install svk }}} Initialize a depot in ~root/.svk {{{ svk depotmap --init }}} Import /etc making it a working copy {{{ svk import --to-checkout //etc /etc }}} Make your depot not that readable {{{ chmod -R go-rwx ~/.svk }}} Remove volatile files from revision control {{{ cd /etc svk rm -K adjtime ld.so.cache }}} ...and voilà, you have ''etc'' under revision control, without CVS or .svn or {arch} files around. The syntax of svk is just like the syntax of svn, of which it's a distributed extension. ##Copied from Debian-devel. Original author: Enrico Zini |
The DebPkg:etckeeper program is a tool to store /etc git, mercurial, or bzr repository. git is the default repository type. It hooks into APT to automatically commit changes made to /etc during package upgrades as well as daily via a systemd timer or cron job. Installing the package is all the setup that is needed, it does everything for you. |
Line 51: | Line 10: |
Putting /etc under Revision Control...
Using etckeeper
The etckeeper program is a tool to store /etc git, mercurial, or bzr repository. git is the default repository type. It hooks into APT to automatically commit changes made to /etc during package upgrades as well as daily via a systemd timer or cron job. Installing the package is all the setup that is needed, it does everything for you.