[Piuparts-devel] piuparts.conf: setting proxy (was: Re: Bug#701618: piuparts: master and slave should apply a timeout to fetching Packages files)

Andreas Beckmann anbe at debian.org
Wed Feb 27 00:35:43 UTC 2013


[moving to piuparts-devel@ as this has clearly left the bug's scope]

On 2013-02-27 00:37, Dave Steele wrote:
> On Mon, Feb 25, 2013 at 7:13 AM, Andreas Beckmann <anbe at debian.org> wrote:
>> which means, we should have a proxy = ... config setting :-)

Especially if I want to use a proxy for piuparts (in master-slve setup)
exclusively (there is just no need for anything else to use that local
mirror), so I don't want to set http_proxy in the environment.

> It should be made clear that the use of a caching proxy can lead to
> packagesdb seeing an inconsistent repository.

How?
Especially if -master, -slave, -report, *and* piuparts use the same proxy?

I'm already running in enough race conditions during distupgrade tests
if the mirror is updated after the reference upgrade path is finished
and the reference state has been recorded.

Andreas

Note to self:
piupartslib/__init__.py open_packages_url()
http://docs.python.org/2/library/urllib.html



More information about the Piuparts-devel mailing list