[Popcon-developers] Bug#291747: popularity-contest: Please give stats on source packages as well

Martin Quinson Martin Quinson <Martin.Quinson@tuxfamily.org>, 291747@bugs.debian.org
Sat, 22 Jan 2005 23:24:31 +0100


This is a multi-part MIME message sent by reportbug.

--===============0053203098==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: popularity-contest
Version: 1.26
Severity: wishlist
Tags: patch

Hello,

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
first.

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
packages. 

It'd be great if you could add such listing on popcon.debian.org so that
I can get them directly from there and so that other people could also
use them.

Thanks for your time,
Mt.

PS: I agree my 'patch' tag may be a bit lying since it's only a proof of
concept ;)

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages popularity-contest depends on:
ii  debconf                       1.4.30.11  Debian configuration management sy
ii  dpkg                          1.10.25    Package maintenance system for Deb
ii  exim [mail-transport-agent]   3.36-11    An MTA (Mail Transport Agent)

-- debconf information:
* popularity-contest/participate: true
  popularity-contest/hostid-failed:

--===============0053203098==
Content-Type: application/x-perl
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="popcon-source"

IyEgL3Vzci9iaW4vcGVybAoKdXNlIHdhcm5pbmdzOwp1c2Ugc3RyaWN0OwoKbXkgJHZlcmJvc2Ug
PSAwOwoKIyMKIyMgR2V0IGluZm9ybWF0aW9uIGFib3V0IHdoaWNoIGJpbiBwYWNrYWdlIGlzIGdl
bmVyYXRlZCBmcm9tIHdoaWNoIH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