[Openstack-devel] Bug#700620: Bug#700620: Bug#700620: Bug#700620: Rewriting the .ini parsing bit of openstack-pkg-tools

Julien Danjou acid at debian.org
Tue Mar 19 09:53:26 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20130319/a2694e2b/attachment-0002.pgp>


More information about the Openstack-devel mailing list