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

Improve most used languages computations #2307

Closed
pylapp opened this issue Nov 30, 2022 · 5 comments
Closed

Improve most used languages computations #2307

pylapp opened this issue Nov 30, 2022 · 5 comments
Labels
enhancement New feature or request.

Comments

@pylapp
Copy link

pylapp commented Nov 30, 2022

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

When I use the card of most uszed anguages, I get in the lsit some figure sabout old projects wihch are dead.
But if I contribited to outside projets, without using forks, but because I was added to theses projects, I dont's see the figures about the languages of them.

For example, given the following like to build my card, I see Robotframwork, OpenSCAD, Objective-C but it's quite old.

However I contributed to this project using Shell, this one using Swift and that one using Kotlin and I don't see any accurate figures about them.

Describe the solution you'd like

A better ranking including figures about projects I worked on and not only projects which seems I have

Describe alternatives you've considered

No response

Additional context

No response

@pylapp pylapp added the enhancement New feature or request. label Nov 30, 2022
@rickstaa
Copy link
Collaborator

rickstaa commented Dec 2, 2022

@pylapp, thanks for your feature request. We know that the language detection algorithm is a bit flawed (see #1801). It will be improved when #2179 is implemented.🚀 For now, know that you can exclude repositories from the language card using the exclude_repo parameter (see https://github.com/anuraghazra/github-readme-stats#language-card-exclusive-options):

Normal card

Top Langs

[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=pylapp&layout=compact)](https://github.com/anuraghazra/github-readme-stats)

Exclude Tips-tools repository

Top Langs

[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=pylapp&layout=compact&exclude_repo=Tips-tools)](https://github.com/anuraghazra/github-readme-stats)

Exclude Robotframwork language

Top Langs

[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=pylapp&layout=compact&exclude_repo=Robotframwork&hide=Robotframwork)](https://github.com/anuraghazra/github-readme-stats)

@Vetpetmon
Copy link

One thing I'd like to add is that it doesn't count anything you contribute/commit to an Organization's repositories, nor private repos; otherwise, Java, Yacc, and GML should be my most-used languages.

@rickstaa
Copy link
Collaborator

rickstaa commented Jan 3, 2023

One thing I'd like to add is that it doesn't count anything you contribute/commit to an Organization's repositories, nor private repos; otherwise, Java, Yacc, and GML should be my most-used languages.

@Vetpetmon Is correct to have private repositories to show up you need to deploy your own Vercel instance (see https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance). Showing stats from organizations is our most requested feature (See #1935). It is already implemented in #2277 but not yet merged.

@rickstaa rickstaa closed this as completed Jan 3, 2023
@rickstaa
Copy link
Collaborator

rickstaa commented Jan 3, 2023

Closed as this issue is tracked at #1801.

@messiisgreat
Copy link

Thank you!

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

4 participants