Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Christian Stewart <christian@aperture.us>
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Anisse Astier <anisse@astier.eu>,
	Christian Stewart via buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH v4 1/2] package/pkg-golang.mk: allow packages to override download GOPROXY
Date: Tue, 6 Aug 2024 16:50:50 +0200	[thread overview]
Message-ID: <20240806165050.234235b4@windsurf> (raw)
In-Reply-To: <CA+h8R2obsR-CzMhWDpQ-A0oeEPaG-P=aCwF7BS4J-3eShmHJgg@mail.gmail.com>

On Mon, 5 Aug 2024 18:07:37 -0700
Christian Stewart <christian@aperture.us> wrote:

> My suggestion is to either set GOPROXY=direct for all packages, or for
> none of them.
> 
> We could default to setting GOPROXY to empty, which uses the default
> Google proxy.
> 
> The best approach is likely to add a Config.in option:
> 
> Something like: HOST_GO_GOPROXY
> 
> Then we can default that to: "https://proxy.golang.org,direct"
> 
> Which is the default value in the Go source code.
> 
> I think this would be the best approach if we do want to enable
> GOPROXY. This way, users that don't want to use the proxy can override
> HOST_GO_GOPROXY to "direct"

But that is independent of the current problem we're trying to solve
with tailscale.

> We could keep it as "direct" once this issue is closed:
> https://github.com/tailscale/tailscale/issues/12859

Still, I think it's a problem if we can't fix problems on our side and
that we have to wait for upstream to make a new release. For all other
problems, we can apply a patch in Buildroot that gets us going until
upstream fixes the problem and makes a release. I would like to have
the same ability to fix Go vendoring issues.

Could you explain to a Go ignorant like me how is this proxy thing
helping in solving this issue? Should a proxy just "speed up" the
download? Why does it exhibit a different behavior between a
GOPROXY=direct build and a GOPROXY=somethingelse ?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-08-06 14:50 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-05 16:31 [Buildroot] [PATCH v4 1/2] package/pkg-golang.mk: allow packages to override download GOPROXY James Hilliard
2024-08-05 16:31 ` [Buildroot] [PATCH v4 2/2] package/tailscale: new package James Hilliard
2024-08-06  1:14   ` Christian Stewart via buildroot
2024-08-12 20:17     ` Christian Stewart via buildroot
2024-08-19 19:57       ` Christian Stewart via buildroot
2024-08-05 17:34 ` [Buildroot] [PATCH v4 1/2] package/pkg-golang.mk: allow packages to override download GOPROXY Christian Stewart via buildroot
2024-08-05 20:31   ` Thomas Petazzoni via buildroot
2024-08-05 22:01     ` James Hilliard
2024-08-06  1:07       ` Christian Stewart via buildroot
2024-08-06 14:50         ` Thomas Petazzoni via buildroot [this message]
2024-08-06 15:49           ` James Hilliard
2024-08-06 16:13             ` Christian Stewart via buildroot
2024-08-06 16:43               ` James Hilliard
2024-08-06 16:57               ` Thomas Petazzoni via buildroot
2024-08-06 18:53                 ` Christian Stewart via buildroot
2024-10-23 15:21                   ` James Hilliard
2024-10-23 16:35                     ` Christian Stewart via buildroot
2024-10-23 17:30                       ` James Hilliard
2024-10-23 19:25                       ` Thomas Petazzoni via buildroot
2024-10-23 19:49                         ` James Hilliard
2024-10-23 20:36                           ` Christian Stewart via buildroot
2024-10-23 21:05                             ` Thomas Petazzoni via buildroot
2024-10-23 21:51                             ` James Hilliard
2024-10-25 20:11                               ` Christian Stewart via buildroot
2024-10-26  4:58                                 ` Christian Stewart via buildroot
2024-10-26  4:59                                   ` Christian Stewart via buildroot
2025-02-05 12:51               ` Christian Stewart via buildroot
2025-02-05 14:02                 ` James Hilliard
2025-02-05 15:45                   ` Arnout Vandecappelle via buildroot
2025-02-05 18:02                     ` James Hilliard
2025-02-05 20:01                       ` Christian Stewart via buildroot
2025-02-05 20:38                         ` James Hilliard
2025-02-05 21:22                           ` Christian Stewart via buildroot
2025-02-05 21:53                             ` Arnout Vandecappelle via buildroot
2025-02-05 22:05                               ` James Hilliard
2025-02-05 22:25                               ` Christian Stewart via buildroot
2025-02-05 21:55                             ` James Hilliard
2025-02-05 22:18                               ` Christian Stewart via buildroot
2025-02-05 22:56                                 ` James Hilliard
2025-02-05 23:31                                   ` Christian Stewart via buildroot
2025-02-05 23:45                                     ` James Hilliard
2025-02-05 17:56                   ` [Buildroot] Fwd: " Christian Stewart via buildroot
2025-02-05 18:45                     ` James Hilliard
2025-02-06 19:31                     ` Fiona Klute via buildroot
2025-02-07 17:35                       ` James Hilliard
2025-02-07 17:50                         ` Christian Stewart via buildroot

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

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

  git send-email \
    --in-reply-to=20240806165050.234235b4@windsurf \
    --to=buildroot@buildroot.org \
    --cc=anisse@astier.eu \
    --cc=christian@aperture.us \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox