Closed justin-john closed 11 years ago
Your repo is recognized as 100 % Javascript. Maybe it just had not been visited by the linguist job. I do not know how often or under what conditions this job runs, but the language bar will be refreshed after your repo was visited. If you have no other questions I assume this issue can be closed.
@spixi Yes, now repo is recognized as 100% Javascript. But I need a confirmation from linguist team whether this is bug or not. It reconginzed as Javascript after my 21st commit that was done 6 hours ago from time of I comment this. But my repo was created 3 days ago, for last 3 days my repo doesn't detected any language. I don't think, repo is not been visited by the linguist job as I believe it will be run with repo creation itself. In my opinion, repo is visited by the linguist job as 3 days is over after it was created, but failed to detect the language. We need to find what caused for this failure.
This was definitely not a bug in linguist; we may have had a backlog in the linguist jobs running on the website. Closing for now, but I'll keep an eye for other backlogs.
https://github.com/pasupulaphani/Text_Wrapper has no language stats bar shown?
@justin-john @pasupulaphani You should contact GitHub support, not linguist.
Seem similar problems occurs on my project: https://github.com/liuchong/vehicle, it just does not show any language
@liuchong it does now ๐
Language analysis is kicked off as a low priority background job when code is pushed to a repository. The time the job takes to run depends on how busy GitHub is at the time.
@lildude Yes, thanks! ๐ After I merged the codes from develop to master branch, it detected the languages successfully :joy_cat:
https://github.com/icela/FriceDemo/ Same issue, and this repo hasn't displayed languages for at least 3 days. :worried:
@ice1000 this is happening because all your Java code is under demo
which is being caught by this vendor determination:
... and because Gradle files are considered data:
... and thus don't count towards the statistics.
You can't change the classification of the Gradle files whilst still keeping them recognised as Gradle but you can implement an override to tell Linguist to count the files under demo
using a vendor override
@lildude Thanks! :+1: Can you help me check if I've done it correctly? https://github.com/icela/FriceDemo/blob/master/.gitattributes
@matt77hias Files under [Ss]amples/
directories are considered documentation by Linguist. You can revert that behavior using overrides:
Samples/** linguist-documentation=false
@pchaigno Thank you very much. Adding this, handles both repos correctly :)
Similar issues with my project https://github.com/mishmeshachs/Ride-My-way it does not show language classification
@mishmeshachs That is because your repo is entirely empty, except for the README.md
@spixi My branch named feature has the file contents
@mishmeshachs Language statistics are computed for the default branch only. You can make the feature branch your default branch though (in repo. settings).
hi everyone. help me out with this repository. it has issues classifying the language https://github.com/mishmeshachs/Ride-My-Way-Restful-API
thanks it worked
https://github.com/mishmeshachs/ride-my-way-database help me out with this repository
@mishmeshachs looks fine to me. If you donโt believe so, please open a new issue - be sure to read all the links refโd in the template first ๐
Could you take a look at my repo? ๐ https://github.com/zedtang/pull-o-matic
@zedtang now thatโs an odd one. The languages have definitely been identified by Linguist in the background but for some reason the language bar isnโt showing. I forked your repo and the language bar shows. This is going to be a problem with the main GitHub code and not with Linguist. Please contact the GitHub support team and report the problem to them.
Thanks man! @lildude I think the language bar shows now!
As I tested, if I move all the files to demo/, the language details would disappear. However, If I change it to projects
or other names, it would appear after push.
@xianshenglu that is expected as demo
is considered as documentation and thus not counted towards the repository statistics as can be seen here:
Booo looks like linguist ignores the dist
directory too :( idk if I really want to rename my directory just to have linguist recognize it.
@bannostookaylo Then you can use an override. ๐
dist/* linguist-vendored=false
Similar issue with this repo: https://textin-textin.web.app/ Can you help me?
Similar issue with this repo: https://textin-textin.web.app/ Can you help me?
https://github.com/ShrutiSara/TextIn is correctly detected JavaScript 59.8% HTML 29.2% CSS 11.0%
The files were pretty new and it took a little time until the linguist bot visited it.
Similar issue with this repo: https://textin-textin.web.app/ Can you help me?
https://github.com/ShrutiSara/TextIn is correctly detected JavaScript 59.8% HTML 29.2% CSS 11.0%
The files were pretty new and it took a little time until the linguist bot visited it.
Thanks!
Similar issue with this repo: https://github.com/miladsalimiiii/android-mvvm-clean-architecture-dagger-hilt-coroutines
@miladsalimiiii looks like you've got languages detected now and it won't be because of your .gitattributes
. In your case, it appears to have taken a while for the background job to run.
@lildude ,Thanks to you , in my previous repository i did not add.gitattributes
and they show the language but in my new repo i had to add .gitattributes
.
You mean if i does not add it , it is going to show after a while , is this process of github?
You mean if i does not add it , it is going to show after a while , is this process of github?
Yes. From the README at https://github.com/github/linguist#how-linguist-works-on-githubcom:
When you push changes to a repository on GitHub.com, a low priority background job is enqueued to analyze your repository as explained above. The results of this analysis are cached for the lifetime of your repository and are only updated when the repository is updated. As this analysis is performed by a low priority background job, it can take a while, particularly during busy periods, for your language statistics bar to reflect your changes.
Same here. The language is not displayed. What's wrong with it? Plz, check this as well as. https://github.com/Dulya-Perera/E-commerce-mobile-app
Same here. The language is not displayed. What's wrong with it? Plz, check this as well as. https://github.com/Dulya-Perera/E-commerce-mobile-app
It's displayed after I add the license.
Hi, FYI I'm new to programming. Github detected my java files instantly when I added the .java extension. Earlier I had added .py and .c for my Python and C files respectively, but now I forgot to add the .java and my repository was not displaying the brown blob for Java files. I was searching for an reason and found this thread. None of the people in this thread mentioned this. Is this related? Am I doing something wrong/unnecessary? If so, how can I do it better. Please help me out. Thanks :)
@ashishejale please open a new issue so we can look into your specific case.
Got a similar problem in this repo https://github.com/TalesMiguel/Blog-DjangoGirls It only shows "python", although my friend's projects that are basically the same as mine are correctly displaying all used languages, such as js. Would appreciate some help!
@TalesMiguel all your files are being correctly detected, however they don't show up in the totals because your total bytes of Python far outweigh that of everything else making them quite insignificant in comparison. Ultimately, it's because you've committed your entire .venv
directory to your repo and it contains a lot of python files:
You probably don't want that entire dir in your repo so you can either remove it, or if you really want to keep it, you'll need to implement an override to tell Linguist to ignore it.
Dear fellow issuers, My repo does not show any languages even though I overrided the linguist thing. This is in any of my repos that have HTML and CSS. (I have an org that has one, and my personal acct has one). Anybody willing to help?
Best Wishes, Lukas Batema
@Lukas-Batema, @PedestriaMC-Network
(Grade 10, JavaScript and Java Programmer, and Front End Web Designer)
@Lukas-Batema your question is a great example that could be asked in Discussions rather than tacking onto a very old closed issue. You can also find the answer in the README.md - hint, it refers to documentation ๐
If you can't work it out, please re-ask in Discussions.
@Lukas-Batema your question is a great example that could be asked in Discussions rather than tacking onto a very old closed issue. You can also find the answer in the README.md - hint, it refers to documentation ๐
If you can't work it out, please re-ask in Discussions.
Dear @lildude, Funny thing is, my Mac doesnโt support Homebrew, and yes, I have already read that lol...
Best Wishes, Lukas Batema
@Lukas-Batema, @PedestriaMC-Network
(Grade 10, JavaScript and Java Programmer, and Front End Web Designer)
Funny thing is, my Mac doesnโt support Homebrew, and yes, I have already read that lol...
@Lukas-Batema https://github.com/github/linguist/blob/master/README.md#documentation is the explanation and has the answer - you're currently using the wrong override ๐
my repo https://github.com/SidPaliwal/CryptoCurrency-Tracker is not showing any language. Anybody know how to get it to show kotlin?
/(directory).(name of language) linguist-detectable /(directory).(name of language) -linguist-documentation
@SidPaliwal Errrrm, write some Kotlin, commit it to the repo and push ๐. Linguist can't detect a language if there isn't any code to look at which is the case for your repo... it only has a README file.
I've locked this conversation as the original issue has been addressed. Please start a new discussion if you have problems with the language detection of your repository.
I have a repository called node-timezone. It is primarily written in Javascript. But Linguist library failed to detect my repository is written in which language. It doesn't show any language in repository home page.
A screenshot of commit & language part shown in new awesome repository next.
Why is reason behind of failing language detection of my repository?