Bug#571926: popularity-contest: popcon doesn't track usage of python modules in a consistent manner

2010-02-28 Thread Stuart Prescott
Package: popularity-contest Version: 1.46 Severity: wishlist Hi! popcon currently uses the regexp: m{/bin/|/sbin/|/lib/.+/|^/usr/games/|\.[ah]$|\.pm$|\.php$|^/boot/System\.map-} to detemine if the atime/ctime etc for a file should be checked in order to decide if the package has been used

Bug#571926: popularity-contest: popcon doesn't track usage of python modules in a consistent manner

2010-02-28 Thread Bill Allombert
On Sun, Feb 28, 2010 at 11:40:24AM +, Stuart Prescott wrote: Package: popularity-contest Version: 1.46 Severity: wishlist Hi! popcon currently uses the regexp: m{/bin/|/sbin/|/lib/.+/|^/usr/games/|\.[ah]$|\.pm$|\.php$|^/boot/System\.map-} to detemine if the atime/ctime etc

Bug#571926: popularity-contest: popcon doesn't track usage of python modules in a consistent manner

2010-02-28 Thread Stuart Prescott
Hi, Perhaps add |\.py$ to that regexp? We cannot do that because the .py files are read by the python compiler at package installation time to generate the .pyc file, and never after, so the atime of the .py file is useless (it is always equal to the installation time). See also bug

Bug#571926: popularity-contest: popcon doesn't track usage of python modules in a consistent manner

2010-02-28 Thread Bill Allombert
On Sun, Feb 28, 2010 at 12:14:38PM +, Stuart Prescott wrote: Hi, Perhaps add |\.py$ to that regexp? We cannot do that because the .py files are read by the python compiler at package installation time to generate the .pyc file, and never after, so the atime of the .py file is