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

Comments

@JeremyLoy
Copy link

@JeremyLoy 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 JeremyLoy commented Nov 18, 2021

image

Loading

@heschi
Copy link
Contributor

@heschi heschi commented Nov 22, 2021

Loading

@JeremyLoy
Copy link
Author

@JeremyLoy 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.

Loading

@JeremyLoy
Copy link
Author

@JeremyLoy JeremyLoy commented Nov 26, 2021

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

Loading

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
3 participants