Bug#457759: PTS: bug summary counts bugs that are assigned to two or more packages more than once
On Sat, 26 Jan 2008, Stefano Zacchiroli wrote:
> On Tue, 25 Dec 2007 13:13:56 +0100, "Frank S. Thomas" wrote:
> > If one bug is assigned to two or more binary packages of the same
> > source package, the PTS' "Bugs count" summary counts this bug more
> > than once. This summary should only count bugs in the source package.
> > The DDPO does this right, compare for example:
>
> The fix for this is trickier than what it might seem.
> Apparently, the PTS has only bug stats about binary packages. Here is
> the relevant snippet from www/bin/update_incoming.sh:
>
> # Download bugs summary
> nice_wget http://merkel.debian.org/~hertzog/pts/bugs.txt bugs.txt
>
> and the downloaded file is binary package oriented (for example, "boinc"
> itself does not appear).
>
> Raphael, how is that file generated? Can we add the generation of an
> extra incoming source containing source oriented bug stats?
hertzog@merkel:~$ crontab -l
# List of bugs for PTS
20 15,7,23 * * * ($HOME/bin/process-index.pl /org/bugs.debian.org/spool/index.db >$HOME/public_html/pts/bugs.txt)
*/10 * * * * (cp -fp /org/bugs.debian.org/etc/indices/sources $HOME/public_html/pts/sources)
Feel free to improve whatever you want in that script. :)
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
Reply to: