Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub statistics not working

Tags:

github

I'm not sure where to ask this, if this is not the place feel free to close the post, but here's whats going on. A mate of mine has his repository on GitHub, but for some reason the language statistics aren't showing. I'm not sure why this is happening. Any ideas? Here's the repository


1 Answers

The GitHub language detection is based on linguist (as I described in this answer).

  • The list of file extension analyzed is in lib/linguist/languages.yml
  • The list of files ignored is in lib/linguist/vendor.yml

In your case, your js/css/json files could be:

  • too small to trigger that analysis
  • or too recent for that analysis to be completed

I suggest to wait another day before raising a ticket to GitHub support.


Update a few hours later: I suspect the language stats are only updated once a day, as they now are present on the OP's GitHub repo:

language stats

This is still the case in 2017, with pchaigno's comment:
(Paul Chaignon is one of the main contributors on the linguist project)

The language detection job (Linguist) is actually running as a background, low-priority job.
So it may take some time to update. Can be a few minutes, or a day.

You can see an example in "Paths not excluded from Github language statistics", where Paul suggests a way to debug how linguist applies to your repo.

like image 182
VonC Avatar answered Mar 18 '26 06:03

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!