Archive 17/01/2023.

Github not reporting Urho3D’s language correctly

GoogleBot42

Github reports Urho3D’s main language as “C”. This is obviously do to the third party code that it uses. Of course this is something that won’t be changing but apparently there are some ways to make github skip the third party code. This might mean renaming some directories which it not the best solution because that could add even more confusion over the Urho3D build process. Although it seems that a .gitattributes file can be added which lets github know what code is third party.
https://github.com/github/linguist

Changing this is particularly useful because it may make scans such as this one http://discourse.urho3d.io/t/coverity-scan/1018/1 more accurate if it iteracts directly with github.

What do you guys think? :slight_smile:

weitjong

Thanks for pointing this out. The .gitattributes file has been added into our master branch to correct the language breakdown. I don’t think, however, that it will influence coverity scan result in any way.

GoogleBot42

Nice! It works! Urho3D now reports as mainly C++. :smiley:

:frowning: Oh well…