[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 0/8] Cleanup D*A ist formating



Philipp Hahn wrote:
> for my project I need the information which CVE is fixed by which Debian
> package. I do that by reading the DSA list. I tried lib/python/bugs.py
> first, but at the end wrote my own parser based on some simple regular
> expressions.
> While doing that I noticed that the lists are formatted inconsistently. On the
> one hand you could say "so use our bugs.py parser, which knows how to handle
> those exceptions", but making them consistent looks like the better option to me.
> 
> The following 8 patches do
> * lots of white space consolidations,
> * add missing / remove double dashes,
> * add missing package names in two cases.

There's no attachment :-)

We can certainly apply the patch for the missing package names, but the other ones 
seem like pointless churn. Those files are hand-edited and new whitespace/dash 
changes will inevitably reappear, so you should rather robustify your parser 
similar to what's done in bugs.py

Cheers,
        Moritz


Reply to: