[Bug 482986] [NEW] Tracks some unnecessary/autogenerated files
gpk
gpk at kochanski.org
Sun Nov 15 09:08:30 UTC 2009
Public bug reported:
Binary package hint: etckeeper
Etckeeper tracks files like these:
> Committing to: /etc/
> modified cups/printers.conf
> modified cups/printers.conf.O
> modified cups/subscriptions.conf
> modified cups/subscriptions.conf.O
> Committed revision 148.
Things like cups/printers.conf.O are simply auto-generated copies of
old versions of cups/printers.conf . That information is already in
etckeeper. All you'd have to do is to go to the previous version
of cups/printers.conf .
For instance, if I compare them:
$ sudo diff /etc/cups/printers.conf /etc/cups/printers.conf.O
2c2
< # Written by cupsd on 2009-11-15 07:57
---
> # Written by cupsd on 2009-11-12 07:57
$
You can see that there's really not a lot of point in keeping both...
I suggest that (by default) etckeeper should ignore filenames in the
forms
*.conf.O
*.conf.[0123456789]
*.conf.bak
*.conf.20090418201001 (as a regular expression, something like [.]conf[.][0-9]{8,} would do)
* DO NOT ignore things like /etc/sgml/docbook-xml/4.1.2
*.[0123456789].gz
It's an easy and safe way to get rid of some cruft and bloat.
** Affects: etckeeper (Ubuntu)
Importance: Undecided
Status: New
--
Tracks some unnecessary/autogenerated files
https://bugs.launchpad.net/bugs/482986
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list