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

Private commits count not updated #908

Closed
sisibeloved opened this issue Feb 25, 2021 · 11 comments
Closed

Private commits count not updated #908

sisibeloved opened this issue Feb 25, 2021 · 11 comments
Labels
bug Something isn't working. stale Issue is marked as stale. stats-card Feature, Enhancement, Fixes related to stats the stats card.

Comments

@sisibeloved
Copy link

Describe the bug
The Number of private commits seems to be correct a few days ago, but since Feb 23th the count does not update in real-time;

Expected behavior
Show the correct total commit count including private repositories.

Screenshots / Live demo link (paste the github-readme-stats link as markdown image)
All the number of commits are in private repositories:
image
image

Additional context
The link I use:
https://github-readme-stats.vercel.app/api?username=sisibeloved&show_icons=true&theme=dracula&count_private=true

@sisibeloved
Copy link
Author

It will only get the amount of commits in public repositories. Not private ones.

There is also a 2hr update time, and it will not change instantly.

The param count_private is used to count private repositories, btw I haven't committed to any public repositories this year. All the commits are committed to private repositories. And the number hasn't updated for 2 days.

@Hardikdigiqt
Copy link

same with me , its a open issue for private commits

@Midorina
Copy link

I'm having the same issue, even though I'm running my own instance via Vercel.

@anuraghazra
Copy link
Owner

Hi @sisibeloved can you check this two stuff

  1. make sure private contributions are visible to public
    image

  2. Check this box and press the update contribution button
    image

@Midorina
Copy link

Midorina commented Jun 7, 2021

Hi @sisibeloved can you check this two stuff

  1. make sure private contributions are visible to public
    image
  2. Check this box and press the update contribution button
    image

this fixed the issue for me. thanks!

@dimitri-dev
Copy link

dimitri-dev commented Aug 30, 2021

Hi @sisibeloved can you check this two stuff

1. make sure private contributions are visible to public
2. Check this box and press the update contribution button

I have both of these marked correctly, yet my counter is also still very wrong.

@HoveringGoat
Copy link

HoveringGoat commented Sep 19, 2021

This is not working for me either. 4,500 vs 50.

The users above look like they have it working so im wondering if its just not a real time update.

@HoveringGoat
Copy link

Update. Gave it a couple hours and it now reflects the correct value. I'd add a disclaimer on the readme that if you update your contributions to be public it may take a little while to reflect that.

@rickstaa
Copy link
Collaborator

rickstaa commented Feb 24, 2022

@HoveringGoat, thanks for letting us know. @sisibeloved, @dimitri-dev, @Hardikdigiqt is this issue also fixed for you when you use the steps provided in #908 (comment).

@rickstaa rickstaa added bug Something isn't working. stale Issue is marked as stale. labels Feb 24, 2022
@sisibeloved
Copy link
Author

@HoveringGoat, thanks for letting us know. @sisibeloved, @dimitri-dev, @Hardikdigiqt is this issue also fixed for you when you use the steps provided in #908 (comment).

Thank you for your attention. I counted the commits number and it matches the records in Github. Besides, it is more appropriate with the name 'Total commits in last 12 months' than 'Total commits in 2022'.

@rickstaa rickstaa added the stats-card Feature, Enhancement, Fixes related to stats the stats card. label Mar 9, 2022
@rickstaa
Copy link
Collaborator

rickstaa commented Mar 9, 2022

@sisibeloved Thanks for letting me know. I agree that we should look at the naming (see #1053).

@rickstaa rickstaa closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. stale Issue is marked as stale. stats-card Feature, Enhancement, Fixes related to stats the stats card.
Projects
None yet
Development

No branches or pull requests

7 participants