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
Cant 'go get' anymore #18209
Comments
I get this problem too when doing
|
I believe we will need to prune old API versions to reduce the repo size. |
While we're working on removing old content, you should be able to use |
@jhendrixMSFT That's unfortunately not true - we have a module which references v64.1.0 in its go.mod, but when running |
Only workaround I've found so far is to set the GONOSUMDB environment variable to |
Thanks for the data-point. It works for me, so there must be some other bit we don't yet understand. At any rate, we should have an update out soon that shrinks the size under the 500MB limit. |
No, we're still not able to freeze the version in go.mod due to an error:
Unless you add The workaround that worked was to replace to freeze to the latest commit hash or to the prerelease instead (it's an ugly and hopefully a temporary one though):
Tryiing to use the newest prerelease
And, v65 does not work as well:
|
The |
May I ask, why is the repo so heavy? |
Azure uses date-based API versions in the query string to partition updates to a service that aren't backward-compatible (I don't believe AWS has such a mechanism). Our legacy SDK, which predates Go modules, releases all of these API versions side-by-side to reduce/remove breaking changes across service updates. You can see an example of this here. Unfortunately, it does mean that the repo grows over time. We have a work item to eliminate old/unused API versions to reduce the size, it just hasn't happened yet. Going forward, our new SDKs use Go modules to manage breaking changes, so we won't be releasing all API versions side-by-side. |
Bug Report
Trying to go get subscription module
Finish without an error.
The last version which I didnt had this issue:
The text was updated successfully, but these errors were encountered: