[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sun, Feb 28, 2010 at 11:40:24AM +0000, 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 for a file should be checked in order to
> decide if the package has been used recently.
> 
> 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 #265360.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 





Reply to: