On Tue, Mar 19 2013, Thomas Goirand wrote:

> Who's problem then?

I don't know -- I'm not sure it's a even problem. Maybe dpkg's problem?

> I thought like you first. Then I realized that we have no choice but to
> implement something anyway, because the upstream library doesn't have a
> feature to actually write the configuration, it only can read it.

That's a good point indeed. Still, I think it'd be better to contribute
to oslo.config and add write support, which could even be useful to
others, than hack something in Debian's corner.

> Well, if we're writing some debconf stuff, it is so it can be used. I
> don't believe it is reasonable to say "bha... people are going to
> preseed anyway, so why should we care". I do care!
>
> Also, I believe that my final solution, based on regular expression, is
> easy to change if there was any trouble with the parsing. The fact that
> I use a unique logic to both read and write values also helps
> maintainability.

As I said, I think you're wrong, but the decision is up to you anyway.
:-)

-- 
Julien Danjou
// Free Software hacker / freelance consultant
// http://julien.danjou.info

Attachment: pgpCwMFI2IsjY.pgp
Description: PGP signature

Reply via email to