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

[Feature Request] Counting private repos for the language card #2622

Closed
icandac opened this issue Apr 18, 2023 · 2 comments
Closed

[Feature Request] Counting private repos for the language card #2622

icandac opened this issue Apr 18, 2023 · 2 comments
Labels
enhancement New feature or request.

Comments

@icandac
Copy link

icandac commented Apr 18, 2023

Is your feature request related to a problem? Please describe.

As we know of, there is count_private option for the stat cards. I can not be the first one who think of adding that as a method for the language cards, am I?

Describe the solution you'd like

I didn't check the repo but the method can be added easily to the language card class, if the structure consists classes.

Describe alternatives you've considered

the classes and their structures can be different for sure but there should be a way to put count_pricate as far as it is not an issue getting the pricate contributions by an api call.

Additional context

No response

@icandac icandac added the enhancement New feature or request. label Apr 18, 2023
@icandac icandac changed the title Counting private repos for the language card [Feature Request] Counting private repos for the language card Apr 18, 2023
@Kyu
Copy link

Kyu commented Apr 23, 2023

+1 cause I want this as well. I believe this would require giving the app access to your gh account, I'm not familiar with the codebase but its a project I'd want to take on this summer if possible.

Edit: seems to already be a feature if hosted locally, #2515

@rickstaa
Copy link
Collaborator

rickstaa commented May 6, 2023

+1 cause I want this as well. I believe this would require giving the app access to your gh account, I'm not familiar with the codebase but its a project I'd want to take on this summer if possible.

Edit: seems to already be a feature if hosted locally, #2515

@Kyu is correct, this feature is available when you deploy your own Vercel instance or the unreleased GitHub action. We cannot implement it on the public instance since we don't have permissions to retrieve stats about your public repositories. The reason that we have include_private for the stats card is that users can decide to share their private contributions to their profile using the GitHub interface (see https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile). There however is a feature request to remove that option since it contains the contributions and not the commits (see #2517).

@rickstaa rickstaa closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants