Bug 1794110 - Fedora golang sets non-default value for GOPROXY
Summary: Fedora golang sets non-default value for GOPROXY
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Čajka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-22 16:54 UTC by Gerard Ryan
Modified: 2020-01-22 22:55 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-22 22:55:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gerard Ryan 2020-01-22 16:54:23 UTC
Description of problem:
The default for the GOPROXY environment variable should be "https://proxy.golang.org,direct", but the Go provided by the Fedora RPM has a default of "direct". This might be intentional, I'm just highlighting it in case it's not.

Version-Release number of selected component (if applicable):
golang-1.13.5-1.fc31.x86_64

How reproducible:
100% on F31 at least

Steps to Reproduce:
1. podman run -ti --rm registry.fedoraproject.org/fedora:31 su -c "dnf install -y golang > /dev/null && go env GOPROXY"
2. Note that the output just says "direct"

Actual results:
"direct"

Expected results:
"https://proxy.golang.org,direct"

Additional info:

Comment 1 Jakub Čajka 2020-01-22 17:04:21 UTC
Hello this is intended change to preserve user privacy and has been noted in https://fedoraproject.org/wiki/Changes/golang1.13#Detailed_Description .
Does it break anything for you?

Comment 2 Gerard Ryan 2020-01-22 22:55:59 UTC
Thanks for the quick reply Jakub. It doesn't break anything for us except our initial expectation. I appreciate your choice of default for Fedora :)

I'll close this now, thanks again!


Note You need to log in before you can comment on or make changes to this bug.