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: Forks are counted as imports #42697

lu4p opened this issue Nov 18, 2020 · 1 comment

x/pkgsite: Forks are counted as imports #42697

lu4p opened this issue Nov 18, 2020 · 1 comment


Copy link

@lu4p lu4p commented Nov 18, 2020

What is the URL of the page with the issue?



Screenshot_2020-11-18 binclude · pkg go dev(1)

How to reproduce

Create a repo on github with a subpackage which imports the root package:

Example: - root package - imports foo

Then fork the repo with another user.

What did you expect to see?

Package has no importers.

What did you see instead?

Package is imported by the fork.

@gopherbot gopherbot added this to the Unreleased milestone Nov 18, 2020
@jamalc jamalc modified the milestones: Unreleased, pkgsite/unplanned Nov 18, 2020
Copy link

@bcmills bcmills commented Nov 18, 2020

The pkgsite cross-reference appears to be correct. If you click through the link, you'll find exactly one version of that module (v0.0.0-20200630183912-8068350e017e), and at that version it really is a distinct module that imports packages from the upstream module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants