Hello

For the record, a 3-way configuration file merge is currently deployed
with lcdproc package using dh_cme_upgrade (which uses Config::Model 
and cme). [1] and [4]

Implementation details are provided in [2]

This approach can be applied to other packages even if cme is not a silver 
bullet: some work is required to use cme upgrade on configuration files.

A lot of work was done for lcdproc to provide a complete configuration model
that provide both upgrade and a configuration editor [3]. I believe that work
can be reduced if only configuration upgrade is desired: such a model needs 
less details.

Feel free to contact me for more details.

All the best

[1] 
https://ddumont.wordpress.com/2014/03/23/easier-lcdproc-package-upgrade-with-automatic-configuration-merge/
[2] https://wiki.debian.org/PackageConfigUpgrade
[3] 
https://ddumont.wordpress.com/2011/07/03/generate-a-configuration-editor-from-a-config-template-file-with-perl-lcdproc-example/
[4] 
https://ddumont.wordpress.com/2014/07/06/status-and-next-step-on-lcdproc-automatic-configuration-upgrade-with-perl-and-configmodel/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to