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

Re: New lintian pages available for testing



Russ Allbery wrote:
tim hall <tim@64studio.com> writes:
Russ Allbery wrote:

http://svn.wolffelaar.nl/lintian/trunk/reporting/templates/

will also work.

Thanks. :)

My current forward thinking on the presentation of reports like this is
to have the script deliver pure XML and do all the formatting with
XSL+CSS. That way the formatter wouldn't need to care what the Perl
script was doing.

I'm certainly happy to accept someone else's work in that area, and the
restructuring of html_reports should make it much easier to do this.  I
probably won't have time for this significant of a rearchitecture myself,
though.

Well, in order to start with an XML tree to do transforms, someone is
going to need to write the Perl to generate that from Lintian's log.  I
personally don't have time to do that work.  For better or for worse,
Lintian is written in Perl (which does have a rich set of XML libraries).
Another option would be to rewrite the whole reporting infrastructure in
Python, but that's a much bigger project and you'd have to duplicate some
of Lintian's core libraries to get at things like tag descriptions and
package list parsing.

OK, understood.

I'm not offering to re-invent the wheel at this stage. Having just looked at how simple the templates are, I'd be more than happy to do some work on the HTML and add some suitable CSS as and when appropriate.

cheers,

tim







Reply to: