-
-
Notifications
You must be signed in to change notification settings - Fork 23.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
Update documentation of count_private option #2504
Update documentation of count_private option #2504
Conversation
@harry-graham is attempting to deploy a commit to the github readme stats Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with these changes. I think it would be better if we could update the actual logic behind the code too, along with the documentation update, though. It seems a fairly simple change - just add the private contributions to the totalContributions value instead of the totalCommits value. @rickstaa what do you think?
Adds restrictedContributionsCount to stats.contributedTo instead of stats.totalCommits
Update documentation after c90c194
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I've updated some code logic too, so everything hopefully makes sense now. @rickstaa let me know what you think.
Hey @Zo-Bro-23, just wanted to double-check with you: I think ExampleSuppose a person has contributed to 3 public repositories and 3 private repositories. After this PR, we would have:
What are your thoughts? |
You're completely right 🤦 I'm sorry to have caused all this confusion. Another readme stats card I use has a field called PS: I've reverted my commits. |
Codecov ReportBase: 97.25% // Head: 97.25% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #2504 +/- ##
=======================================
Coverage 97.25% 97.25%
=======================================
Files 24 24
Lines 4152 4152
Branches 380 380
=======================================
Hits 4038 4038
Misses 112 112
Partials 2 2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
No worries, thanks for being so active on this PR, and for helping to manage the back-and-forth, I really appreciate it! 🙌🏼 |
We'll wait for @anuraghazra and @rickstaa before making any more moves! |
@harry-graham, thanks for bringing this issue to our attention. I agree that the |
Closing this off for now. |
For #2500.