Wrong language detection in Zelta repo #5804
-
GitHub says Inno Setup is "bigger" than C# (which has more and bigger files). Also on repo we can found C++ files |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The breakdown of your repo as Linguist sees it: $ github-linguist Zelta/ --breakdown
55.67% 8895 Inno Setup
44.33% 7082 C#
Inno Setup:
Zelta-Installer.iss <--- From above we can see this file alone is 8895 bytes vs 7082 for all your C#
C#:
Zelta/Form1.cs
Zelta/Program.cs
Zelta/Properties/AssemblyInfo.cs
Zelta/Settings.cs
Zelta/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
$ As you can see, it has only detected the one very large Inno Setup file and your C# files. Why? Most of your files, like the C++ files you mentioned, are supplied as part of NuGet packages which are third-party packages which Linguist considered as vendored third-party code and thus ignores (most people don't want third-party code counting towards their repo stats). If you want these to count, you'll need to implement an override to tell Linguist to not consider these files as vendored third-party code. The rest of your repo appears to be mostly "data" files because they are either binaries or are not UTF-8 encoded files, or text files that are considered "prose" (eg |
Beta Was this translation helpful? Give feedback.
The breakdown of your repo as Linguist sees it:
As you can see, it has only detected the one very large Inno Setup file and your C# files.
Why? Most of your files, like the C++ files you mentioned, are supplied as part of NuGet packages which are third-party packages which Linguist considered as vendored third-party code and thus ig…