[Popcon-developers] [GSOC] Popularity Contest

Luciano Prestes lucianopcbr at gmail.com
Thu Jun 23 11:50:45 UTC 2016


[Bill Allombert]

Thanks, I will add this on script.
I updated the script and now its consuming 3GB of memory, on 1 hour in my
PC.
I will to make the updates that Terceiro and Petter spoke, and remove
'apt-cache pkgnames' and use this 'mirrorbase', after these changes I will
udpdate the patch.

Att,
Luciano Prestes

2016-06-23 8:34 GMT-03:00 Bill Allombert <ballombe at debian.org>:

> On Tue, Jun 21, 2016 at 10:55:54AM -0300, Luciano Prestes wrote:
> > [Petter Reinholdtsen]
> >
> > I update the patch, and test on Debian wheezy.
> > Following your advice the script can be run only with the popcon-entries
> > path like argument.
> > Example: create_popcon_clusters.py [popcon-entries_path]
> >
> > The patch is on the attachment.
>
> Your patch is still using 'apt-cache pkgnames'.
> I recommend not to rely on the configuration of apt on the local system
> but instead to use a mirror, as popcon.py does:
>
> mirrorbase = "/srv/mirrors/debian"
> for d in glob.glob('%s/dists/stable/*/binary-i386/Packages.gz' %
> mirrorbase):
>     read_depends(d)
> for d in glob.glob('%s/dists/unstable/*/binary-i386/Packages.gz' %
> mirrorbase):
>     read_depends(d)
>
> Ths way you get both the packages in stable and in unstable
> independently of the local machine configuration.
>
> Cheers,
> Bill.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20160623/39a1b192/attachment.html>


More information about the Popcon-developers mailing list