Skip to content

proposal: introduce new html meta tag for issue trackers #19725

@rakyll

Description

@rakyll

For the users of the packages with vanity import paths uses, it is often impossible to find the package's issue tracker to file an issue. The package maintainers often have to manually add a link to the package comment to ensure that users will be able to find the package's issue tracker. This process is tedious and adding more noise to the godoc.

I propose to introduce a new meta tag for our vanity URL redirect pages, so that the package owners can set the location of the package's issue tracker.

<meta name="go-import" content="cloud.google.com/go git https://code.googlesource.com/gocloud">
<meta name="go-source" content="cloud.google.com/go https://github.com/GoogleCloudPlatform/gcloud-golang https://github.com/GoogleCloudPlatform/gcloud-golang/tree/master{/dir} https://github.com/GoogleCloudPlatform/gcloud-golang/tree/master{/dir}/{file}#L{line}">

<meta name="go-issues" content="cloud.google.com/go https://github.com/GoogleCloudPlatform/gcloud-golang/issues">

Once a meta tag is introduced, the Go tools (such as godoc.org) can display a link to the issue tracker on the package page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions