You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This breaks a pkgsite assumption. It takes those versions and constructs a path with a .info suffix to download things like https://artifacts.netflix.net/api/go/goproxy/github.netflix.net/example.com/foo/@v/v0.0.7.info. But since there's a space, that url actually becomes https://artifacts.netflix.net/api/go/goproxy/github.netflix.net/example.com/foo/@v/v0.0.7 .info which is malformed.
The text was updated successfully, but these errors were encountered:
seankhliao
changed the title
x/pkgsite: versions list with spaces
x/pkgsite/devtools/cmd/seeddb: trim spaces from version list
Jan 7, 2025
seankhliao
added
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Jan 7, 2025
dmitshur
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Jan 8, 2025
What is the URL of the page with the issue?
https://artifacts.netflix.net/api/go/goproxy (private jfrog artifactory go module proxy)
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Screenshot
No response
What did you do?
What did you see happen?
What did you expect to see?
seeddb
(and co) should strip the space suffix.Explanation: jFrog Artifactory returns an extra space after versions
The response returned from a version list query contains an extra space after the versions. Ex https://artifacts.netflix.net/api/go/goproxy/github.netflix.net/example.com/foo/@v/list return
v0.0.7
notv0.0.7
.The golang proxy, in contrast, does not do that. Ex https://proxy.golang.org/github.com/googleforgames/agones/@v/list returns
v1.9.0
(no trailing space).This breaks a pkgsite assumption. It takes those versions and constructs a path with a .info suffix to download things like
https://artifacts.netflix.net/api/go/goproxy/github.netflix.net/example.com/foo/@v/v0.0.7.info
. But since there's a space, that url actually becomeshttps://artifacts.netflix.net/api/go/goproxy/github.netflix.net/example.com/foo/@v/v0.0.7 .info
which is malformed.The text was updated successfully, but these errors were encountered: