-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix #226 (and fix some consistency issues) #227
base: master
Are you sure you want to change the base?
Conversation
Also use `===` and `!==` where necessary. Also remove a useless redeclaration (line 192, `sinceMonth` was declared twice with the same value) Also remove a couple instances of using `var` to reassign values to existing variables Also use () for Date constructor on line 192
This fixes contribution count properly, but it doesn't sort contributions by count. |
Hi @aldahick. Could you sort the repos in correct order. So it's gonna be merged. Thanks in advance |
@serejahh I'm not sure what you mean by sorting the repositories. Could you explain? |
@aldahick The repos should be sorted by count of commits - the more commits, the higher in the list. I've deployed your version and what I see: |
Honestly, IMHO that seems a strange thing to sort by. I think most people would expect to see the libraries either sorted alphabetically for easier discovery, or by something that matters more than commits, like stars, or when available, downloads. |
@jonschlinkert |
I disagree: number of commits is probably the best approximation to how much work you've put into the project (vs popularity of the project) |
Lets say you make 30 commits to your own project, which isn't fancy. It depends too much, the idea of a "sort by" option as @serejahh descriped would IMO be the best solution. |
It might be worth a little more; maybe double. But otherwise no. |
Commits, by themselves, are not an interesting metric. Most maintainers prefer squashing commits, and lots of consecutive commits with various changes versus one big commit is arbitrary to anyone who might be looking for people to hire. You could make 1,000 commits to a project no one uses, and it won't get anyone's attention. Or you can make one great commit to a popular project and it will get lots of attention. Consider that I have nothing to gain or lose by sharing this information. I'm not trying to debate you for any particular reason. I'm trying to help you. I'm not claiming to be the expert in all things, I've had lots of success in my own projects on GitHub and I just wanted to pay it forward and try to share some tips that have worked well for me. |
At least with the projects I've worked with, squashing commits is very rare. |
As noted in #226, this increases the number of API calls per resume quite a bit, and that may be unacceptable. Regardless, I've fixed #226 because the call increase may not be unacceptable.
Also there were some things that I fixed in 3e5ccaf.