jfrog / gocenter

The Github README for JFrog Go-center. Use this for reporting issues
https://gocenter.io
Apache License 2.0
164 stars 23 forks source link

Go module's latest version is incorrect, causes 404 when doing go get #49

Open mattolenik opened 4 years ago

mattolenik commented 4 years ago

This Go module (and maybe others) do not actually have the latest version available, despite the last modified date. This package: https://search.gocenter.io/github.com/monochromegane/go-gitignore

Was updated on June 26th (the page says 26th when loading then flashes to 25th for some reason), but the latest available version is v0.0.0-20200525100937-58356a36e03f, which is from May. The actual latest version that you get with go get -u is v0.0.0-20200626010858-205db1a8cc00. This is causing a 404 when trying to go get to download modules.

elioengcomp commented 4 years ago

Hi @mattolenik ,

Thank you for reaching out.

Can you try again? The latest version for github.com/monochromegane/go-gitignore in GoCenter now is v0.0.0-20200626010858-205db1a8cc00 like you pointed out.

BTW, anytime you see this scenario and want to force GoCenter to fetch and serve the latest version of a module when it does not seem to have it available yet, you can safely run go get github.com/monochromegane/go-gitignore@master against GoCenter.

Best.