x/pkgsite: construct pseudoversion for module std #43890
Closed
Labels
Milestone
Comments
Change https://golang.org/cl/286153 mentions this issue: |
gopherbot
pushed a commit
to golang/pkgsite
that referenced
this issue
Jan 25, 2021
getGoRepo currently looks for a "master" tag when fetching the master repo, instead of at the master branch. This is now fixed. However, stdlib.semanticVersion still returns "master" when the requestedVersion is "master", instead of returning a resolved semantic version, so a fetch request for std@master will still result in a 500. A comment is added to fix this in the future. In a future CL, a fake pseudoversion will need to be constructed in order to resolve std@master to a semantic version. For golang/go#43890 Change-Id: I9e68b91d8c9e0bea6f6751d834853b852f0d532b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/286153 Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Trust: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/287213 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
go run cmd/worker/main.go
and visiting http://localhost:8000/fetch/std/@v/master returns a 500 with the error:Error (map[fetch:std@master]): Error executing fetch: FetchModule("std", "master"): stdlib.Zip("master"): getGoRepo("master"): couldn't find remote ref "refs/tags/master" (code 500)
The text was updated successfully, but these errors were encountered: