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: add option to group/filter importers #41052

Open
mpictor opened this issue Aug 26, 2020 · 1 comment
Open

x/pkgsite: add option to group/filter importers #41052

mpictor opened this issue Aug 26, 2020 · 1 comment

Comments

@mpictor
Copy link

@mpictor mpictor commented Aug 26, 2020

What is the URL of the page with the issue?

one example is https://pkg.go.dev/github.com/Azure/go-ansiterm?tab=importedby

What is your user agent?

Not applicable

Screenshot

Not applicable

What did you do?

View a package's importedby tab

What did you expect to see?

Similar importers grouped, or an option to filter. For the example url, I'd like to see one of docker and one of moby.

The end goal is that unique importers are easier to find.

This could be realized with

  • a tree view grouping things that seem to be related, defaulting to collapsed
  • or a filter field, allowing positive or negative matches
    • positive: enter term to show only packages with term in their import path
    • negative: enter -docker to hide everything with docker in the import path

What did you see instead?

A long list that might be 90% duplication (forks of docker and moby).

For many packages, this isn't an issue. But for ones imported by something else that's extremely popular (and thus having many forks) the importedby list gets diluted by duplicates.

Examples would be any package used by docker, k8s, hashicorp products, etc.

@gopherbot gopherbot added this to the Unreleased milestone Aug 26, 2020
@cagedmantis cagedmantis changed the title x/pkgsite: pkg.go.dev (and/or gddo): option to group/filter importers x/pkgsite: add option to group/filter importers Aug 27, 2020
@cagedmantis
Copy link
Contributor

@cagedmantis cagedmantis commented Aug 27, 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
5 participants
You can’t perform that action at this time.