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

Fix #226 (and fix some consistency issues) #227

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aldahick
Copy link
Contributor

@aldahick aldahick commented May 5, 2016

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.

aldahick added 3 commits May 5, 2016 09:08
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
@raphink
Copy link

raphink commented Jun 17, 2016

This fixes contribution count properly, but it doesn't sort contributions by count.

@serejahh
Copy link

Hi @aldahick. Could you sort the repos in correct order. So it's gonna be merged. Thanks in advance

@aldahick
Copy link
Contributor Author

@serejahh I'm not sure what you mean by sorting the repositories. Could you explain?

@serejahh
Copy link

serejahh commented Dec 20, 2016

@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:
image
As you can see the repos aren't sorted by commits

@jonschlinkert
Copy link

the repos should be sorted by count of commits

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.

@serejahh
Copy link

@jonschlinkert
The reason why I think so - it's my resume and it supposed to be sent to a HR manager, for example, so I would like to mention top-10 repos I support, not just any 10 libs. I'd be better to have kind of sort by option

@daurnimator
Copy link

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.

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)

@Tais993
Copy link

Tais993 commented May 10, 2022

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.
Now compare this to 1 commit to Linux (which is a lot more worth than your average commit)

It depends too much, the idea of a "sort by" option as @serejahh descriped would IMO be the best solution.
Currently commit count is useless, and merging this PR is really important I'd say, I'd rather see sort on commit count.
A "sort by" option can be added in another PR, if someone is interested in implementing.

@daurnimator
Copy link

Now compare this to 1 commit to Linux (which is a lot more worth than your average commit)

It might be worth a little more; maybe double. But otherwise no.

@jonschlinkert
Copy link

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.

@daurnimator
Copy link

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.

At least with the projects I've worked with, squashing commits is very rare.

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

Successfully merging this pull request may close these issues.

Inaccurate commit count
7 participants