[Popcon-developers] Bug#291747: popularity-contest: Please give stats on source packages as well
On Sat, Jan 22, 2005 at 11:24:31PM +0100, Martin Quinson wrote:
> I am one of the authors of the www.debian.org/intl/l10n pages which
> display some stats about the translation of the debian packages. To make
> those pages more useful to translators, we were recently asked to sort the
> packages not alphabetically but based on their popularity. It would help
> at least small translation teams to choose which file to translate
> The issue is that the stats I maintain are sorted by source packages
> while yours are for bin packages. I thus wrote a tiny perl script to get
> the missing info from apt files and give me a ranking of the source
It is certainly possible to provide statistic per source package on
popcon.debian.org, and I will try to add this feature.
However, there are a couple of issues here, similar to the issue with
the Maintainers ranking:
1) popcon reports include only data about binaries packages, so the
source package name need to be derivated from Packages files, but we
might not use the same release Packages than the one used for the report
and source package might have changed names between release. This is
probably not a concern for you.
2) How do you define the popularity of source packages ?
As the sum of the popularity of each binaries packages ?
This is what is used for Maintainers ranking currently.
> PS: I agree my 'patch' tag may be a bit lying since it's only a proof of
> concept ;)
It is OK, but please don't abuse the 'patch' tag. This tag is meant for
people doing NMU or QA to quickly find bugs that are easy to fix.
This is not the case here. A proper patch would be made against the
popcon.pl script that generate the pages.
Imagine a large red swirl here.