Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs behind a proxy
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Wed, 14 Apr 2010 14:04:30 +0200
  • Message-id: <4BC5AF4E.5000909@xxxxxxxxxxxxxxxx>
Hi,

is this patch by Marcus OK ?
Or should I wait for an official released Obs-server RPM ?
or is it already in git ?

Thanks

Reik Keutterling schrieb:
Am 25.03.2010 18:36, schrieb Adrian Schröter:
Am Donnerstag, 25. März 2010 18:31:31 schrieb Michael Schroeder:
On Thu, Mar 25, 2010 at 06:20:25PM +0100, Adrian Schröter wrote:
Am Donnerstag, 25. März 2010 17:45:54 schrieb Marcus Hüwe:
On 2010-03-24 14:33:01 +0100, Christian wrote:
I want to use the 'remoturl' feature. (added PRJ openSUSE.org)
And my local obs is not able to connect to 'api.opensuse.org'
directly.
Access to internet is only allowed via proxy (e.g. squid)

So is there a possibility to tell obs to use a '$http_proxy' ?

I just wrote a small patch which adds basic http proxy support to the
backend. To enable it add 'our $proxy = "http://<ip>:<port>";' to the
BSConfig.pm file. Afterwards all remoteurl requests will be sent to
proxy.

great, but I would prefer if the setting would simply use the
enviroment
variables by default.

Eeek. I absolutely hate it when applications look into the
environment...

and I hate it when they ignore system defaults and you need to manual
configure
each single application again ;)

Using a config file to overwrite the envirnoment settings would be still
nice, at least when it comes to proxy auth. :) And for some reasons I
don't want to set a proxy in the environment.

Regards,
Reik


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >