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: use downloads stats more heavily in search weighting (will help enterprise libraries) #49664

Open
JeremyLoy opened this issue Nov 18, 2021 · 4 comments
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. pkgsite/search Issues related to pkg.go.dev search functionality pkgsite

Comments

@JeremyLoy
Copy link

JeremyLoy commented Nov 18, 2021

I have one small, modestly successful package.

https://pkg.go.dev/github.com/JeremyLoy/config

Looking at this package on pkg.go.dev it doesn't seem like its used very much with only 2 imports. Anyone that stumbles upon it might not use it for fear that it isn't getting put through regular production testing.

On Github though, the story is markedly different. The "traffic" panel (which is only visible to the owner and is not public) shows 1.6k downloads with anywhere from 40-200 a day over the past two weeks. The repo itself sees anywhere from 2-10 unique visitors daily.

For my particular library, the clear reason the numbers look so bad is because my library is meant for enterprise applications where the source code is not public and therefore imports aren't being picked up by the module proxy/website. This category of "enterprise" libraries seems to be, at least from my point of view, very hard to find through the official website. I almost always refer to collections like awesome-go instead. (which also seems to categorize libraries better but that will probably make a good separate issue...)

I just want to emphasize that I'm not making this issue as some sort of vain self-promotion. I'm using my own library here as an example because its the only one I have access to the Traffic panel for. I'm truly just making this issue so I can find useful libraries for my job more easily 😃

@gopherbot gopherbot added this to the pkgsite/search milestone Nov 18, 2021
@JeremyLoy
Copy link
Author

JeremyLoy commented Nov 18, 2021

image

@heschi heschi added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label Nov 22, 2021
@heschi
Copy link
Contributor

heschi commented Nov 22, 2021

cc @golang/pkgsite

@JeremyLoy
Copy link
Author

JeremyLoy commented Nov 26, 2021

Another stat of interest that GitHub provides is “referers”

as you can see from the below screenshot, zero visits are from the official pkg.go.dev website. Most are from GitHub directly (I have many tags trying to hone my SEO) and the rest are from sites that are bespoke package aggregators like awesome-go.

@JeremyLoy
Copy link
Author

JeremyLoy commented Nov 26, 2021

59A1DBFE-DD89-402C-8786-097197D64CD8

@hyangah hyangah added the pkgsite/search Issues related to pkg.go.dev search functionality label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. pkgsite/search Issues related to pkg.go.dev search functionality pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants