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

godoc.org: shows wrong import path for forked Go projects #672

Closed
mcandre opened this issue Jan 21, 2020 · 4 comments
Closed

godoc.org: shows wrong import path for forked Go projects #672

mcandre opened this issue Jan 21, 2020 · 4 comments

Comments

@mcandre
Copy link

@mcandre mcandre commented Jan 21, 2020

https://godoc.org/github.com/JFrogDev/go-rpm/yum shows import "github.com/JFrogDev/go-rpm/yum", whereas https://github.com/jfrog/go-rpm shows import ( "fmt" "github.com/cavaliercoder/go-rpm" )

@toothrot toothrot changed the title godoc.org shows wrong import path for forked Go projects godoc.org: shows wrong import path for forked Go projects Jan 21, 2020
@toothrot
Copy link

@toothrot toothrot commented Jan 21, 2020

/cc @dmitshur

I'm not sure if this will be fixed in the foreseeable future.

@heschik
Copy link

@heschik heschik commented Jan 21, 2020

I don't see a bug here. The first quote is the correct import path for the fork. The second quote is from the README, which was forked unmodified from upstream. If anything is wrong, it would seem to be the README.

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jan 22, 2020

For general godoc.org bugs, we use the issue tracker at https://github.com/golang/gddo/issues. I'll move this issue there.

@dmitshur dmitshur transferred this issue from golang/go Jan 22, 2020
@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jan 22, 2020

I agree with @heschik's analysis. There doesn't seem to be a bug in godoc.org, it is displaying an accurate import path of the "github.com/JFrogDev/go-rpm/yum" Go package.

If you want to see documentation for the "github.com/cavaliercoder/go-rpm" package, you should visit https://godoc.org/github.com/cavaliercoder/go-rpm.

I'll close this, but please comment if I have misunderstood.

@dmitshur dmitshur closed this Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.