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

Show GitHub star count next to project link. #1213

Closed
lishuhao opened this issue Dec 9, 2016 · 14 comments
Closed

Show GitHub star count next to project link. #1213

lishuhao opened this issue Dec 9, 2016 · 14 comments

Comments

@lishuhao
Copy link

lishuhao commented Dec 9, 2016

It's great, but it will be nice display star counts in the list, sorry for my poor english

@deankarn
Copy link
Contributor

deankarn commented Dec 9, 2016

Stars are often not indicative of quality as people use them for bookmarking

@kirillDanshin
Copy link
Contributor

I already think about it and I think it is a bad idea.
we all know about iris a their almost-one-day 5000-star increment, and we all know that nobody will rebase their PRs every hour to solve merge issues.

@dmitshur
Copy link
Collaborator

dmitshur commented Dec 9, 2016

and we all know that nobody will rebase their PRs every hour to solve merge issues.

Doing something like this would have to be done via an API, there's no way to manage this manually.

Stars are often not indicative of quality

How about the number of importers (other packages that import a given package)? It'd be harder to do, but more meaningful than stars, maybe.

godoc.org has an API that exposes its knowledge of importers. E.g., the github.com/google/go-github/github package is currently imported by 359 packages.

@nouney
Copy link

nouney commented Dec 9, 2016

With a simple python script and go-search, it's possible to do something like that.

@deankarn
Copy link
Contributor

deankarn commented Dec 9, 2016

Unless I'm mistaken the number of importers is not guaranteed either as the numbers will not include private importers.

@kirillDanshin
Copy link
Contributor

@joeybloggs yep, that's right.
exemplī grātiā, I use dlog in about hundred packages but https://godoc.org/github.com/kirillDanshin/dlog?importers shows only one.

@deankarn
Copy link
Contributor

deankarn commented Dec 9, 2016

I don't mean to sound like a pessimist, and all of the ideas above are good, however this is a discussion has been had before not only here but in many similar sites without a concrete answer/solution

  • stars are too arbitrary due to people using for bookmarking
  • importers only shows public and not private
  • latest activity isn't reliable as the code may be stable
  • the list goes on....

I would personally not like a unit of measurement on any package/link as it can incorrectly lead people to the conclusion that more(or less depending on metric) is better.

I would say that usually each package has something unique about it and it is up to the developer to determine which is best for his/her situation.

I would hate to see some great packages overlooked, just because it didn't have a bunch of stars.

@AlekSi
Copy link
Contributor

AlekSi commented Feb 7, 2017

We can use @buger's expirience from building https://ossmetrics.com.

@buger
Copy link
Contributor

buger commented Feb 7, 2017

Thank you for mentioning.

There is no, and never be a clear metric on how to measure project success. There are packages which have 30 stars, but thousands of repositories depend on them, and there are projects with thousands of stars which are abandoned.

I indeed trying to this figured in my https://ossmetrics.com project. There is no way to tell how professional project is, and if it is ready for use in production, but there are things we can measure. For example active community, or quality of support.

I for sure thought about adding "badges" for repositories to show number of active collaborators, let me know if you interested in it.

Thanks!

@dmitshur dmitshur changed the title advice Show GitHub star count next to project link. Apr 18, 2017
@mrichman
Copy link

There's a way to get download count here: https://help.github.com/articles/getting-the-download-count-for-your-releases/

@deankarn
Copy link
Contributor

Unless I'm missing something @mrichman this only applies to the compressed source code downloads and any other binaries added to the release and not the actual code's files.

And since go get wraps git clone these counts won't be incremented.

@mrichman
Copy link

How about the number of clones? https://github.com///graphs/traffic, though that data might only be visible to the repo owner

@deankarn
Copy link
Contributor

Its's not a bad idea, however, with all the cloning from CI testing makes this unreliable as well, even if we could get the data. Also just because it's cloned a bunch does not make a project good or bad.

@kirillDanshin
Copy link
Contributor

@joeybloggs about CI clones: numOfClones * 2 / 3.14? :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants