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

Disable go module when downloading global binaries #12030

Merged
merged 2 commits into from
Jun 26, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jun 23, 2020

Prevent go get from touching go.mod and go.sum when executing global binaries during the build process. Once golang/go#30515 is fixed, we should is whatever solution is provided there.

Fixes: #12010

Prevent `go get` from touching `go.mod` and `go.sum` when executing
global binaries during the build process. Once
golang/go#30515 is fixed, we should is
whatever solution is provided there.

Fixes: go-gitea#12010
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jun 24, 2020
@techknowlogick techknowlogick added this to the 1.13.0 milestone Jun 26, 2020
@techknowlogick techknowlogick added topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jun 26, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jun 26, 2020
@lafriks lafriks merged commit 772df93 into go-gitea:master Jun 26, 2020
@silverwind silverwind deleted the nomodules branch June 27, 2020 17:20
@stblassitude
Copy link
Contributor

Sorry for nagging, but this is going to be included in an upcoming 1.12 release? I think it would be required to complete the upgrade of the FreeBSD package.

stblassitude pushed a commit to stblassitude/gitea that referenced this pull request Jun 28, 2020
Prevent `go get` from touching `go.mod` and `go.sum` when executing
global binaries during the build process. Once
golang/go#30515 is fixed, we should is
whatever solution is provided there.

Fixes: go-gitea#12010

Co-authored-by: techknowlogick <[email protected]>
@techknowlogick techknowlogick added backport/v1.12 backport/done All backports for this PR have been created labels Jun 28, 2020
lafriks pushed a commit that referenced this pull request Jun 28, 2020
Prevent `go get` from touching `go.mod` and `go.sum` when executing
global binaries during the build process. Once
golang/go#30515 is fixed, we should is
whatever solution is provided there.

Fixes: #12010

Co-authored-by: techknowlogick <[email protected]>

Co-authored-by: silverwind <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
Prevent `go get` from touching `go.mod` and `go.sum` when executing
global binaries during the build process. Once
golang/go#30515 is fixed, we should is
whatever solution is provided there.

Fixes: go-gitea#12010

Co-authored-by: techknowlogick <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants