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: Unable to view documentation for specific version of forked module #44958

Closed
sudo-suhas opened this issue Mar 12, 2021 · 2 comments
Closed

Comments

@sudo-suhas
Copy link

sudo-suhas commented Mar 12, 2021

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/gojek/work@v0.6.0

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:86.0) Gecko/20100101 Firefox/86.0

Screenshot

image

What did you do?

Tried to open https://pkg.go.dev/github.com/gojek/work@v0.6.0

What did you expect to see?

I expected to see the updated documentation for this fork which has some additional changes. Relevant tag/release - https://github.com/gojek/work/releases/tag/v0.6.0.

What did you see instead?

I was redirected to the documentation of the original source module.

@mvdan
Copy link
Member

mvdan commented Mar 12, 2021

https://github.com/gojek/work/blob/master/go.mod still points to module github.com/gocraft/work. If you want to do releases in your fork, you need to actually use a different module path.

Closing as working as intended. See https://golang.org/wiki/Questions.

@mvdan mvdan closed this as completed Mar 12, 2021
@sudo-suhas
Copy link
Author

We use a replace directive to use this fork instead of the original module. And in order to pick up the latest version, a tag/release is needed on the forked module. Please correct me if I am wrong regarding any of this.

Additionally, I can view the documentation for the fork but it is for the older version - https://pkg.go.dev/github.com/gojek/work.

If I need to create a tag for using a replace directive, it would have been good to be able to view docs for the same.

@golang golang locked and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants