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

Bug#759403: lintian: Please publish machine-readable report for all packages



intrigeri:
> Hi,
> 
> intrigeri wrote (05 Jul 2016 11:50:03 GMT) :
>> Also, before we settle on this output format, I would like to quickly
>> validate it by drafting code for the use case I had in mind for that
>> machine-readable report.
> 
> I drafted that code in Python 3 and then in Perl (since the Python 3
> version needed 8GB of RAM to load the YAML file into a Python data
> structure in 135 seconds, while the Perl version needs 1.5GB of RAM
> and 15 seconds), and am happy with what I see, except I realize that
> I totally ignored the possibility that tags can be overridden.
> 
> Now I notice that I need this piece of info in the YAML report, and
> will thus resume working on my draft to add it (I didn't check yet if
> the current code makes this easy, or not — we'll see).
> 
> Cheers,
> --
> intrigeri
> 

Hi,

Thanks for working on this. :)

Re: the memory usage; it may make sense to do the report as multiple
"documents" (e.g. one per source package or something).

It would allow both generator and consumers to process it more
efficiently by processing a single source at the time.  (Disclaimer:
Haven't actually tried it before with the Perl interface).

Thanks,
~Niels


Reply to: