[Popcon-developers] Bug#239097: HTTP Post method for popcon

Bill Allombert Bill Allombert <allomber@math.u-bordeaux.fr>, 239097@bugs.debian.org
Tue, 15 Feb 2005 12:13:40 +0100


On Tue, Feb 08, 2005 at 12:46:14PM +0000, Thom May wrote:
> Hi,
> popcon in Ubuntu uses HTTP POST to upload popcon results; 
> the script and the cgi to handle it are at:
> http://people.ubuntu.com/patches/popcon-post.tgz

%tar ztf popcon-post.tgz
popcon-submit.cgi
popcon-upload.py

Hello Thom,
Thanks for your patch, but it is incomplete:
It does not include the change to the cron job and the configuration
file. How does the cron job  choose between email and HTTP POST ?
Are you always using HTTP POST ?

Also, popcon-upload.py is a python script. This will force user to
install python to use HTTP POST, and such users will always report
python as 'used in the last month' so this will artificially inflate the
usage of python in popcon stats. So I would prefer to stick with perl.

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

Imagine a large red swirl here.