Bug#647565: madison.cgi: make it produce an easier to parse output
On Wed, Nov 9, 2011 at 12:48, Jakub Wilk <jwilk@debian.org> wrote:
> Hi Sandro,
>
> * Sandro Tosi <morph@debian.org>, 2011-11-04, 00:41:
>>
>> currently madison.cgi (and it's rmadison command friend) doesn't emit an
>> easy-to-parse output: please enable it. yaml, whatever that's easy from a
>> programming language to parse and understand.
>
> Why parsing the current output is hard?
It's not hard, but it's not even that much easily machine parsable as
some other formats. Also, every clients needing to parse information,
needs to implement its own parser, instead of getting data alraedy
structurated.
It's not i'm stuck if this is not fixed, the parser it's at [1], still
I won't call it that optimal.
[1] http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff;h=211802564a16717f29b7de8208841662b127cbd5
Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
Reply to: