Mailinglist Archive: zypp-devel (26 mails)

< Previous Next >
Re: [zypp-devel] [PATCH] Disable proxy for special repository
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 20 Sep 2010 11:06:32 +0200
  • Message-id: <>
On Monday 20 September 2010 10:45:58 Michael Schroeder wrote:
Hi, thanks for the patch! Some comments:

On Sat, Sep 18, 2010 at 05:21:39PM +0800, Zhang Qiang wrote:
Repositories may be in different locations (inside/outside the
company network), the outside repo needs proxy, but the internal repo
should disable proxy. with out this patch libzypp can't work if inside
repo and outside repo exist at the same time.

This patch give user the option to disable proxy in repository file.
Usage as follows:
proxy=_none_ #Disable proxy
#proxy=http://host:port #enable proxy

It also gives the user the option to specify a proxy in the
repository file (like with yum).

You should already be able to do this via the URL queryparams:


Just evaluation of some 'noproxy' param is AFAIK missing.

Hmm, why handle "noproxy" different from "proxy"? I.e. why is there
an extra disable_proxy argument, but all other settings (like
"proxy" are detected later on in fillSettingsFromUrl()?

IMO right. Nevertheless we can think about supporting explicit .repo file
options and just map them to queryparams.


Michael Andres

Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
Michael Andres ZYPP Development ma@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0

To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups