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
[RFC] optionally set GOPROXY, GOSUMDB when building go packages #43668
base: master
Are you sure you want to change the base?
Conversation
cc: @the-maldridge |
According to edit: spammed comment by accident, sorry |
what's your use-case for this? |
Adding magic to XBPS really only makes sense if it impacts more than a couple of templates. If you have a template that would benefit from this (and, if so, why isn't it being modified to use these features here?), you might as well just export the variables directly and add the dependencies you require. |
I use xbps-src to build a lot of my own local packages because of its advantages (like building on chroot and similarity to BSD ports). Related blog post: |
It impacts when building any go package locally. |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
0e0d82a
to
c6e1bec
Compare
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
c6e1bec
to
7b2cbde
Compare
7b2cbde
to
cd22587
Compare
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
This will allow xbps-src to set environment variable
GOPROXY
andGOSUMDB
when building go packages.When
GOPROXY
is set todirect
, it pulls modules from source repositories like github andgit
andmercurial
needs to be inhostmakedepends
.