-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/pkgsite: packages with go 1.21.0
in go line can't be fetch by pkg.go.dev
#62031
Comments
Hi, I've looked into this and it looks like there's a cached negative response for these packages that is preventing them from being fetched. I'll need more time to dig into it, but it looks like a pkgsite bug. |
Just in case it can help debugging the problem, I'm having similar issues with the following module: https://pkg.go.dev/github.com/jroimartin/proxy It took quite a while and several requests for v1.0.0 and v1.1.0 to show up in pkg.go.dev. After that, v.1.1.1 and v1.2.0 have not shown up yet. However, both are present in proxy.golang.org: https://proxy.golang.org/github.com/jroimartin/proxy/@v/v1.1.1.info I hope it helps. |
BTW the versions that are not showing up have the following go directive in their go.mod:
|
Maybe related to #62188 🤔 . |
Also having problems with v0.2.1 of https://pkg.go.dev/github.com/gametimesf/testy, which is also showing up in the proxy: https://proxy.golang.org/github.com/gametimesf/testy/@v/v0.2.1.info The new version here also introduces |
@jroimartin thanks for pointing that out. |
I see the problem: the x/mod dependency of pkgsite is quite old, and doesn't have the updated go directive syntax. Fix incoming. We may need to manually reset broken modules; I'll handle all those listed here, and may write a script to scrape and purge recent modules from the proxy. |
Change https://go.dev/cl/521125 mentions this issue: |
Upgrade x/mod so that modfile.Parse accepts the newly relaxed go directive syntax. Add a test. For golang/go#62031 Change-Id: I63a8eb73ff7428e67d80446b493c624a52ad2e96 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/521125 TryBot-Result: Gopher Robot <[email protected]> kokoro-CI: kokoro <[email protected]> Reviewed-by: Jamal Carvalho <[email protected]> Run-TryBot: Robert Findley <[email protected]>
go 1.21.0
in go line can't be fetch by pkg.go.dev
Ok I believe I've re-fetched all versions mentioned in this issue. @sven-seyfert I'm still having trouble with yours, presumably because of the capitalization. Needs more investigation. |
@findleyr I can confirm |
I'm going to leave this open for a few days before devoting resources to finding and re-fetching broken versions. Unfortunately for now the process is painstakingly manual. |
So, should we report broken versions in this issue? In that case, could you fix github.com/ttab/[email protected]? Thanks! |
Thanks for working on this @findleyr! All the packages above are now working 🎉 Got a few more for ya if you don't mind: |
Yes, I'll manually fix anything folks report here. It's unfortunately non-trivial to automate. |
Hello, i have the same issue with new package, if it can be added, it would be great. |
@david-littlefarmer done |
Hi @findleyr, like I wrote in issue #62188 which was closed by you, I am grateful. Unfortunately it seems to work only for that versions which you handled manually (two days ago). I am looking for https://proxy.golang.org/github.com/sven-seyfert/gomisc/@v/v0.6.0.info Best regards |
Hi @sven-seyfert, the fix was deployed, and I just clicked on the button to fetch and got a response (i.e., I didn't do anything behind the scenes). You should be able to request v0.5.0 here, and it should work: https://pkg.go.dev/github.com/sven-seyfert/[email protected] I'll investigate why versions aren't flowing. |
Thanks again @findleyr 👍 . |
Hi @findleyr , it seems to be not working. My new v0.7.0 (see links above) is in the proxy available, but will not be displayed on pkg.go.dev. I don't want to mention you or the team each time when I release a new tag. I am really sorry about it. Thanks again for the investigation why versions are not flowing. Best regards and a nice weekend for you |
@sven-seyfert it seems pkg.go.dev is not detecting new versions automatically right now. However, you can visit https://pkg.go.dev/github.com/sven-seyfert/[email protected] (or whatever it is the new version) and request it using the button. I've just done it for you and it worked. |
We did figure out the root cause of the backlogged module processing queue: it was a bug in the proxy that was mitigated by https://go.dev/cl/522183, and should be fixed in the proxy ~today or tomorrow. It looks like we caught up with backlogged versions over the weekend. |
Closing as this has been working for a while now. |
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Screenshot
What did you do?
I've been releasing quite a few open source Go libraries lately, but I'm having trouble getting docs generated for them.
I'm also having trouble diagnosing if I'm doing something wrong or if it takes ~days to show up on pkg.go.dev.
They all present in the proxy pretty much immediately, so I can download them:
The steps I take are:
v0.0.1
tag to GithubWhat did you expect to see?
I'd expect when I request an index for it to show up pretty quickly. Within minutes, ideally seconds.
If there was an error, I'd expect an error message with some information on how to resolve it.
What did you see instead?
"github.com/livebud/mod" could not be found.
Thanks for your help!
The text was updated successfully, but these errors were encountered: