Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default to cding to /etc, but allow the user to specify another directory
to operate on.
|
|
|
|
|
|
|
|
While working on this, I had to consider security policies -- is it ok if
etckeeper init can run code from the /etc repository? I've decided this
should be ok, and documented that it should only be run on trusted repos.
Note that metastore could also be exploited by untrusted repos, and of
course, note that you're checking out your *** /etc *** so it damn well
better be trusted!
With that determined, I decided to use a simple shell script to hold the
empty directory info and allow them to be easily created. Expanding this for
other files git can't represent is a possibility..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
work around various bugs and issues to avoid each commit making a change that
would be seen by the next commit..
|
|
other development too..
|
|
|
|
|
|
|