[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680197: etckeeper: Help track changes in /usr/share/myapp dir



Control: tags -1 upstream wontfix

On Wed, Jul 04, 2012 at 02:39:15PM +0200, Olivier Berger wrote:
> Hi.
> 
> Sometimes, some local installations of (web) apps in /usr/share need some patching that would be erased at next upgrade.
> 
> I think etckeeper could be used (with the -d option) to manage such dirs, at least manually.
> 
> What would be great is to be able to have the APT hooks able to manage such dirs (that could be listed in etckeeper.conf) too.

I don't believe upstream is opened to handling multiple repositories:

https://etckeeper.branchable.com/todo/track_multiple_directories/

It seems like a pandora's box to me: how would you configure which
directories to track?

Besides, /usr is designed to be readonly, if you're patching files there
without building debian packages, you are doing something wrong and
etckeeper is unlikely to help you.

You are free to get inspiration from etckeeper as to how to implement
your own APT hooks, of course. :)

A.

Attachment: signature.asc
Description: Digital signature


Reply to: