unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: bug-guix@gnu.org
Subject: Re: Living with a proxy
Date: Thu, 06 Jun 2013 14:54:13 +0200	[thread overview]
Message-ID: <87ppvztn62.fsf@gnu.org> (raw)
In-Reply-To: <20912.28413.820758.544774@Konrad-Hinsens-MacBook-Pro.local> (Konrad Hinsen's message of "Thu, 6 Jun 2013 13:14:05 +0200")

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> Ludovic Courtès writes:
>
>  > Currently Guix uses Guile’s HTTP client, which doesn’t support proxies
>  > (the FTP client doesn’t either.)  It should support it though.
>  > 
>  > It shouldn’t be too difficult to implement, but I’m not too familiar
>  > with all that, so I’d welcome ideas and patches.  ;-)
>
> Proxies are a big mess, so my first idea is to let someone else do the
> hard work.

That’s a plan I can only agree with.  ;-)

> More concretely, I was thinking if libcurl, for which there are already
> Guile bindings:
>
>    http://www.lonelycactus.com/guile-curl.html

So, the problem is that Guix currently uses HTTP and FTP clients
entirely written in Scheme.  Besides the aesthetic advantage, it allows
us to have one fewer dependency, and greatly simplifies distro
bootstrapping (as soon as we have Guile running, we can start
downloading what’s needed.)

So I would really like to have proxy support in our own HTTP and FTP
clients.  I’ll take a look, or tweak some other Guile hacker into doing
it.  ;-)

Thanks,
Ludo’.

      reply	other threads:[~2013-06-06 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 16:27 Living with a proxy Konrad Hinsen
2013-06-05 22:01 ` Ludovic Courtès
2013-06-06 11:14   ` Konrad Hinsen
2013-06-06 12:54     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppvztn62.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).