[Popcon-developers] Bug#365681: Bug#365681: Bug#365681: popcon: using http_proxy

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Sun Jun 17 18:32:04 UTC 2007


On Sun, Jun 17, 2007 at 07:02:34PM +0200, Petter Reinholdtsen wrote:
> [Bill Allombert]
> > For the purpose of popcon-upload, it is sufficient to set it (and export
> > it) in the script /etc/cron.weekly/popularity-contest.
> 
> I suspect it will be better to set it in /etc/popularity-contest.conf,
> to avoid upgrade problems.

Why ? /etc/cron.weekly/popularity-contest is also a conffile.

If we go that route maybe we want to add
if [ -n "$HTTP_PROXY" ]; then
  export http_proxy="$HTTP_PROXY";
fi
in /etc/cron.weekly/popularity-contest
to make the syntax in /etc/popularity-contest.conf more uniform.

On the other hand do you know systems that use http_proxy ? How they do
that.

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

Imagine a large red swirl here. 




More information about the Popcon-developers mailing list