x/pkgsite: Broken links on pkg.go.dev to codeberg.org repositories. #44865
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
Any page on pkg.go.dev that has links resolving to repositories on codeberg.org. That issue may affect all gitea hosted repositories.
What is your user agent?
Issue is not user-agent related.
Screenshot
What did you do?
Click on a link that resolves to a file at a codeberg.org repo.
Go to https://pkg.go.dev/codeberg.org/ac/ecdh25519#section-sourcefiles and take a look at the link for the file ecdh25519.go.
It refers to https://codeberg.org/ac/ecdh25519/src/commit/8a2cf2a5c93c/ecdh25519.go
If you call that link, you'll receive a 404:
At first it looks like an server issue, but it is not necessarily.
The correct permalink is however https://codeberg.org/ac/ecdh25519/src/commit/8a2cf2a5c93c3fb69f0e6161f4bb82dccc3584b0/ecdh25519.go
Please spot the difference in the given commit hash value. One (defined in the link on pkg.go.dev) is abbreviated, the other is in long notation (correct destination on codeberg.org).
What did you expect to see?
I expected to reach the linked target file.
What did you see instead?
404
The text was updated successfully, but these errors were encountered: