Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2020-03-15 Thread Leo Famulari
On Sun, Mar 15, 2020 at 12:22:08PM +0100, leven...@mmer.org wrote: > Was this patch merged? I haven't found it in guix-patches and commits > =(. I came across the same problem today by just doing guix pull. In > addition, a package (texlive-hyph-utf8) uses svn:// scheme which I am > not sure does

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2020-03-15 Thread Jookia
Hi Alexey, I don't contribute to Guix and abandoned this patch. Please untag me, Jookia. On Sun, Mar 15, 2020 at 12:22:08PM +0100, leven...@mmer.org wrote: > Hi Jookia, Ludo > > Was this patch merged? I haven't found it in guix-patches and commits =(. I > came across the same problem today by

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2020-03-15 Thread levenson
Hi Jookia, Ludo Was this patch merged? I haven't found it in guix-patches and commits =(. I came across the same problem today by just doing guix pull. In addition, a package (texlive-hyph-utf8) uses svn:// scheme which I am not sure does respect those http-proxy variables. It would be also

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-03-03 Thread Ludovic Courtès
Jookia <166...@gmail.com> skribis: > On Sun, Feb 28, 2016 at 05:44:18PM +0100, Ludovic Courtès wrote: >> > + (define proxy-config >> > +(if (current-http-proxy) >> > + (and-let* ((proxy-uri (string->uri (current-http-proxy))) >> > + (proxy-host (uri-host proxy-uri)) >> >

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-03-03 Thread Jookia
On Thu, Mar 03, 2016 at 05:39:21PM +0100, Ludovic Courtès wrote: > Of course you should keep using ‘string->uri’, no problem with that. > > I’m just saying that the code should explicitly check for the > ‘http_proxy’ environment variable instead of using the > ‘current-http-proxy’ SRFI-9 parameter

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-03-02 Thread Jookia
On Sun, Feb 28, 2016 at 05:44:18PM +0100, Ludovic Courtès wrote: > > + (define proxy-config > > +(if (current-http-proxy) > > + (and-let* ((proxy-uri (string->uri (current-http-proxy))) > > + (proxy-host (uri-host proxy-uri)) > > + (proxy-port (number->str

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-02-28 Thread Jookia
On Sun, Feb 28, 2016 at 05:44:18PM +0100, Ludovic Courtès wrote: > Sorry for the delay, and thanks for the useful patch! No problem. :) > I gather ‘svn’ doesn’t honor ‘http_proxy’ in the first place, right? > That would have simplified things. It really would, but for some reason that's not a fe

Re: [PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-02-28 Thread Ludovic Courtès
Jookia <166...@gmail.com> skribis: > When downloading a repository through SVN over HTTP, do it using a proxy if > possible. This is especially useful for people who use Tor to do all their > downloading. This doesn't work with svn:// repositories to my knowledge. > > * guix/build/svn.scm (svn-fet

[PATCH 1/2] svn-download: Respect current-http-proxy when downloading.

2016-02-16 Thread Jookia
When downloading a repository through SVN over HTTP, do it using a proxy if possible. This is especially useful for people who use Tor to do all their downloading. This doesn't work with svn:// repositories to my knowledge. * guix/build/svn.scm (svn-fetch): Pass the "servers:global:http-proxy-host