Skip to content
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: broken source file links for modules without hosted sources #66432

seankhliao opened this issue Mar 20, 2024 · 0 comments


Copy link

What is the URL of the page with the issue?

What is your user agent?

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36


No response

What did you do?

This is an example of a module with its canonical source being a module host (proxy?)

We can see it doesn't define source meta tags with:

$ curl '' 

<html xmlns="">
	<meta name="go-import" content=" mod">
	<title>Buf | Module</title>

In the "Source Files" section on the page, the links to the filenames are clickable but they are just a self link to the current page.

What did you see happen?

Link to current page, confused by a page refresh and no source shown.

What did you expect to see?

The source files should not be clickable.

Or something like is used to show the source files (not sure who owns this but I saw @adonovan use it0

@gopherbot gopherbot added this to the Unreleased milestone Mar 20, 2024
@suzmue suzmue modified the milestones: Unreleased, pkgsite/backlog Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants