Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy sumdb with first not-direct GOPROXY #1723

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

jan4984
Copy link

@jan4984 jan4984 commented Jul 8, 2021

What is the problem I am trying to address?

athens is not working for people who can not access https://sum.golang.org. A go mod proxy should also proxy sumdb requests.

How is the fix applied?

redirect sum.golang.org sumdb to first not-direct proxy set in GOPROXY, like https://goproxy.cn

What GitHub issue(s) does this PR fix or close?

Fixes #1468

@jan4984 jan4984 requested a review from a team as a code owner July 8, 2021 08:38
Copy link
Member

@arschles arschles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't thought about this problem for a while and I know there are a lot of considerations to think about here. @marwan-at-work @manugupt1 do either of you have thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proxying sumdb behind a proxy or upstream
3 participants