linguist is skipping over files #7289
-
|
I have a GitHub repo (currently private) that has lots of files from various languages. I noticed within GitHub it is only mentioning HCL. I opened a support case with GitHub and they suggested installing github-linguist locally, cloning the repo and running linguist manually. Well, I did all that, and sure enough it gets the same results: This issue is, there are a lot more than those 9 files in that repo: And, of course, with various languages. For example: There is no The private repo pretty much has the same content of this repo: https://github.com/NetApp/FSx-ONTAP-samples-scripts repo. The new repo is to replace that one since I get this issue resolved. As you can tell linguist correctly identifies the various language types in that repo so I don't understand why it is struggling with the new one. So far GitHuh support seems to be stumped. I'm curious if anyone here has any idea what could cause this? And/or any suggestions on how to diagnose it. Unfortunately, the linguist command doesn't seem to have any "debug" options. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
It's impossible to determine why without seeing the repo. Your demo repo isn't exhibiting the problem so I can't diagnose a problem that I can't see and speculating will only drag things out and likely causes confusion. If you add me as a collaborator on your repo, I can take a look. My current suspicion is your directory structure isn't the same as your demo repo and most of your files are in a directory linguist excludes because it considers it documentation or vendored code. |
Beta Was this translation helpful? Give feedback.
It's impossible to determine why without seeing the repo. Your demo repo isn't exhibiting the problem so I can't diagnose a problem that I can't see and speculating will only drag things out and likely causes confusion.
If you add me as a collaborator on your repo, I can take a look.
My current suspicion is your directory structure isn't the same as your demo repo and most of your files are in a directory linguist excludes because it considers it documentation or vendored code.