Bug#1018874: etckeeper noisy when using bzr/brz

2024-05-06 Thread Mitchell Dzurick
Hi, any activity on this bug? I also made a MR for your consideration at
https://salsa.debian.org/debian/etckeeper/-/merge_requests/3

Thanks,
-Mitch


Bug#1018874: etckeeper noisy when using bzr/brz

2022-09-01 Thread Haw Loeung
Package: etckeeper
Version: 1.18.16-1

When etckeeper is configured to use bzr (instead of the default git)
as it's backend, it's noisy with periodic output from the daily
autocommit hook. Steps to reproduce below.

| ubuntu@machine-0:/etc$ sudo touch testing-etckeeper
| ubuntu@machine-0:/etc$ sudo etckeeper commit "daily autocommit" >/dev/null
| Committing to: /etc/
| added testing-etckeeper
| Committed revision 20.
| ubuntu@machine-0:/etc$

For git, it's quite with no putput:

| ubuntu@juju-87625f-hloeung-120:/etc$ sudo touch testing-etckeeper
| ubuntu@juju-87625f-hloeung-120:/etc$ sudo etckeeper commit "daily autocommit" 
>/dev/null
| ubuntu@juju-87625f-hloeung-120:/etc$

The fix appears to update /etc/etckeeper/etckeeper.conf with:

| BZR_COMMIT_OPTIONS="--quiet"

Thus passing --quite to bzr/brz makes it consistent with when
etckeeper is configured to use git, the default.

This is also reported on Launchpad:

| https://bugs.launchpad.net/etckeeper/+bug/1986739


Thanks,

Haw