You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub contributors page (https://github.com/GenericMappingTools/pygmt/graphs/contributors) shows totally different numbers of commits, likely because GitHub also considers co-authorship. I feel these numbers (including the number of additions and deletions) make more sense.
To consider co-authorship, we can use the following command:
I remember I recognized the difference between git shortlog -sne and the GitHub numbers already some time ago, but could not find the related comment (#2651 (comment)) directly.
I agree on considering co-authorship as it is fair to acknowledge any kind of review (bringing up or participation in discussions, providing ideas, but also guidance during working on more complicated tasks / learning to work on new tasks). The number of additions and deletions may partly help to consider the different work loads of PRs.
However, I am unsure, if it is possible to change the rules for the author order now, and if we have to contact and ask all (at least the affected) authors for their opinions or being OK with this?
In case we keep git shortlog -sne, I still would allow for some adjustments, e.g. @weiji14 is definitely before my in the author list!
Continue discussions in #3730 (comment).
Currently, we use the
git shortlog -sne
command to count author contributions. Below is a trimmed output on 2025/01/05:The GitHub contributors page (https://github.com/GenericMappingTools/pygmt/graphs/contributors) shows totally different numbers of commits, likely because GitHub also considers co-authorship. I feel these numbers (including the number of additions and deletions) make more sense.
To consider co-authorship, we can use the following command:
The output is:
After merging the commits from the same author but with different git commit author names or emails, the numbers are the same as those of GitHub.
Currently, we count the contributions (using
git shortlog -sne
) in the following places (xref: https://github.com/GenericMappingTools/pygmt/blob/main/AUTHORSHIP.md):I think in all these cases, the co-authorship contributions should be considered.
The text was updated successfully, but these errors were encountered: