Re: Is adding dh_config and a postinst snippet ok ?

2009-07-22 Thread Dominique Dumont
Raphael Hertzog hert...@debian.org writes: A question about this project, I've recently discovered augeas, how do you compare yourself with it? I forgot to mention that a video of the Config::Model presentation done during French Perl Workshop is available there:

Re: Is adding dh_config and a postinst snippet ok ?

2009-07-21 Thread Dominique Dumont
Joey Hess jo...@debian.org writes: Installing third party debhelper commands won't break anything in debhelper, but nor will dh automatically call random such commands. See the sequence addon information in debhelper's PROGRAMMING file for information about adding third-party commands to dh

Re: Is adding dh_config and a postinst snippet ok ?

2009-07-21 Thread Dominique Dumont
Hello Jonathan Yu jonathan.i...@gmail.com writes: I see these two tools as complementary, rather than competing, technologies. You can use the data parsed via Augeas (which to me seems like more of a lexer/tokenizer part, kind of like what yacc/lex do) to get data from the file using a

Is adding dh_config and a postinst snippet ok ?

2009-07-20 Thread Dominique Dumont
Hello I'd like to add the following files in libconfig-model-perl: - /usr/bin/dh_config - /usr/share/debhelper/autoscripts/postinst-config-model In short, the goal is to use these files to perform smooth upgrade of configuration data during package upgrades. See [1] for full details. But we're

Re: Is adding dh_config and a postinst snippet ok ?

2009-07-20 Thread Raphael Hertzog
On Mon, 20 Jul 2009, Dominique Dumont wrote: I'd like to add the following files in libconfig-model-perl: - /usr/bin/dh_config - /usr/share/debhelper/autoscripts/postinst-config-model In short, the goal is to use these files to perform smooth upgrade of configuration data during package

Re: Is adding dh_config and a postinst snippet ok ?

2009-07-20 Thread Jonathan Yu
Raphael: I'm not *too* familiar with either tool, but hopefully my limited understanding is sufficient to answer your question. Disclaimer: I don't use either module, though I have worked somewhat with augeas, so I'm aware of its limitations. Namely, ML programming can be hard for beginners

Re: Is adding dh_config and a postinst snippet ok ?

2009-07-20 Thread Joey Hess
Dominique Dumont wrote: I'd like to add the following files in libconfig-model-perl: - /usr/bin/dh_config - /usr/share/debhelper/autoscripts/postinst-config-model In short, the goal is to use these files to perform smooth upgrade of configuration data during package upgrades. See [1] for