unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Using a "guix publish"er as a proxy?
@ 2017-10-30  8:18 Hartmut Goebel
  2017-10-30  9:30 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Goebel @ 2017-10-30  8:18 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Hi,

I wonder if I could make a "guix publish" process into a proxy.

Eg. I configure my local systems to use substitute-url
"http://guix-buiilder.local:8888/" and guix-buiilder.local will reach
out to e.g. berlin.guixsd.org if it does not have the substitute.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using a "guix publish"er as a proxy?
  2017-10-30  8:18 Using a "guix publish"er as a proxy? Hartmut Goebel
@ 2017-10-30  9:30 ` Ludovic Courtès
  2017-10-30 18:56   ` Hartmut Goebel
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-10-30  9:30 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

Hi Hartmut,

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> I wonder if I could make a "guix publish" process into a proxy.
>
> Eg. I configure my local systems to use substitute-url
> "http://guix-buiilder.local:8888/" and guix-buiilder.local will reach
> out to e.g. berlin.guixsd.org if it does not have the substitute.

That cannot be done currently.

However, what you can do is use the two URLs:

  --substitute-urls="http://guix-buiilder.local:8888 https://berlin…"

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using a "guix publish"er as a proxy?
  2017-10-30  9:30 ` Ludovic Courtès
@ 2017-10-30 18:56   ` Hartmut Goebel
  0 siblings, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2017-10-30 18:56 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

Am 30.10.2017 um 10:30 schrieb Ludovic Courtès:
> That cannot be done currently.

Rethinking this, this might even be hard to solve. Since the "client"
downloads a list of all existing substitutes, the proxy would need to
fetch the substitutes from the remote side on demand. Probably this is
not worth the effort for now.

> However, what you can do is use the two URLs:
>
>   --substitute-urls="http://guix-buiilder.local:8888 https://berlin…"

This is what I'm currently using. But if is one of the servers listed
there is lagging, this delays the build process. And every local system
will reach out to the remote servers again.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-30 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30  8:18 Using a "guix publish"er as a proxy? Hartmut Goebel
2017-10-30  9:30 ` Ludovic Courtès
2017-10-30 18:56   ` Hartmut Goebel

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).