Age | Commit message (Collapse) | Author |
|
etckeeper out to the caller. This is to avoid making apt give up because git is misconfigured and cannot commit, or similar. Closes: #760011"
This reverts commit 1b70e83dddcafbcbea84fc55a6396e4876a9a0c4.
This approach breaks the AVOID_COMMIT_BEFORE_INSTALL feature.
|
|
to the caller. This is to avoid making apt give up because git is misconfigured and cannot commit, or similar. Closes: #760011
I absoltely do not want etckeeper to dive into the rats nest of making git
be able to commit reliably. git commit has about a dozen failure modes, and
it's up to the admin to avoid breaking their system by not giving it a
hostname, or writing a broken ~/.gitconfig, or not giving uid 0 a user
name, etc.
I considered making only apt.conf's etckeeper calls be guarded with ||
true, but this would also need to be done for the other package managers
that can call etckeeper. And it's better to let etckeeper
indicate which script failed, rather than seeing an error message and apt
continuing without an indication of why git commit was being called then.
|
|
Hmm
|
|
Signed-off-by: David De La Harpe Golden (Squared Financial) <dgolden@squaredfinancial.com>
|
|
|
|
say that for every VCS the username is recorded.
|
|
|
|
|
|
|
|
|
|
|
|
* Add uninit subcommand, which cleans up all etckeeper and VCS droppings
in /etc. This is useful if you want to switch to a different VCS and
don't have any history to preserve. (Preserving history and converting
is of course possible, but significantly harder.)
* Run etckeeper init on initial install. Closes: #505772
(The idea being that if someone doesn't want to use git, they can
immediatly uninit to easily reverse this.)
* Document how to change the VCS used by etckeeper, without preserving
any history. Preserving history left as an exersise for the reader.
Closes: #515237
|
|
* etckeeper update-ignore will automatically update the VCS ignore
file, only touching the part inside a "managed by etckeeper"
comment block.
* Run etckeeper update-ignore on upgrade.
|
|
|
|
really use etckeeper.
|