The idea of keeping track of the history and statistics of archive-wide Lintian runs has been around for a while (almost 3 years since the initial idea[1], and 2 years since the initial implementation[2]!). $HISTORY was finally enabled last year[3], and after a couple of reminders from Niels I finally got around to update the scripts and visualize the data we have so far. You can take a look at the generated graphs for global statistics[4] and also for each tag[5]. I wrote the initial version as a simple Makefile (with some awk in there) partly because html_reports seems too big and does a lot of stuff already. But I vaguely remember discussing about this a long time ago, and the conclusion was that it would preferable to use Perl to ease its integration with Lintian. I recently rewrote it in Perl, and even though it's still a standalone script, it should be straightforward to move the code to html_reports. I'm attaching both the old and the new version; feel free to review the Perl code, I haven't been coding in Perl for a while. There are a few things I'm still not sure about, such as what's the most appropriate time frame for the graphs. At first I thought 1 month would be enough, but after generating them I think 6 months to 1 year will be a lot more useful. Any thoughts? Your input on the readability of the graphs is welcome too, specially for tags: I have been thinking of removing the number of packages and keeping tags/overrides only, seems easier to understand. 1. http://lists.debian.org/debian-lint-maint/2009/06/msg00278.html 2. http://lists.debian.org/debian-lint-maint/2010/01/msg00086.html 3. http://lists.debian.org/debian-lint-maint/2011/09/msg00010.html 4. http://ettin.org/tmp/lintian/history/graph/statistics.svg 5. http://ettin.org/tmp/lintian/history/graph/tags/
Attachment:
Plot-Lintian-history-scripts-Perl.patch.gz
Description: Binary data
Attachment:
Plot-Lintian-history-scripts-Make.patch.gz
Description: Binary data