Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Dec 2025 13:30:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 291375] Mk/Uses/go.mk: how not to use a GOPROXY? (GOPROXY=direct)
Message-ID:  <bug-291375-42334-4myAN8d2hN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291375-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-291375-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291375

--- Comment #6 from Adam Weinberger <adamw@FreeBSD.org> ---
I see... I didn't realize you were building in poudriere. That changes things.

So the idea is:
.if ${GO_GOPROXY} == "direct"
FETCH_DEPENDS+=    git:devel/git
.endif

I don't like magic values, but sometimes they're necessary. I'm convinced as to
the simplicity of it, but what problem is GOPROXY=direct solving? I'm unclear
how many end-users will want to avoid mod proxies.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291375-42334-4myAN8d2hN>