[Bro-Dev] bro-pkg upgrade and over-writing of files

Aashish Sharma asharma at lbl.gov
Tue Nov 29 11:58:54 PST 2016


On Tue, Nov 29, 2016 at 07:51:21PM +0000, Siwek, Jon wrote:
> 
> But a new feature could be added to bro-pkg that allows package authors to specify a list of config files in their bro-pkg.meta.  Then on install/upgrade/remove, if a user has made modifications to any of those files, they can be warned/prompted about how to proceed (show a diff, ask to overwrite or keep modified version, etc.).  This seems a common way to handle config files in the package management scene.
> 
I like the idea of warned/prompted (show a diff, ask to overwrite or keep new version etc) is good. That helps with situations where a new variables introduced in in a config file after the upgrade also don't go unnoticed. 

> Would such a feature work for you?

Yes absolutely. This would be rather perfect. 

Thank you, 
Aashish 


More information about the bro-dev mailing list