[Popcon-developers] Bug#265360: popularity-contest: reporting of Python files broken
Martin v. Loewis
"Martin v. Loewis" <martin@v.loewis.de>, 265360@bugs.debian.org
Thu, 12 Aug 2004 22:45:36 +0200
Package: popularity-contest
Version: 1.23
Severity: normal
The popularity-contest is broken wrt. to pyc files.
It considers a file present in a package only if .pyc
is listed in the package contents. However, according
to the python-policy (/usr/share/doc/python/python-policy*),
a package must generate .pyc files upon installation,
instead of including them in the .deb file.
So popularity-contest should use the following procedure:
- if a file ends with .py, check whether .pyc is present.
If so, use time stamps of this file instead.
- also check for .pyo in addition to .pyc.
Regards,
Martin
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages popularity-contest depends on:
ii debconf 1.4.30 Debian configuration management sy
ii dpkg 1.10.23 Package maintenance system for Deb
ii exim4 4.34-5 An MTA (Mail Transport Agent)
ii exim4-daemon-light [mail-tran 4.34-5 Lightweight version of the Exim (v
-- debconf information:
popularity-contest/hostid-failed:
* popularity-contest/participate: true