Commit 9a08fcbf authored by Daniel Black's avatar Daniel Black

.gitattributes - correct language detection

Attempting to sign up to https://bestpractices.coreinfrastructure.org/en/projects
complains with "Implementation languages is too long (maximum is 254 characters)"

Looking at:

 curl -H "Accept: application/vnd.github.v3+json"   https://api.github.com/repos/MariaDB/server/languages

It does appear that we're (just) over the limit.

As github is based on https://github.com/github/linguist, let's just
play nice and make our languages look realistic.
parent 0dfabf6e
......@@ -33,3 +33,16 @@ pcre/testdata/greppatN4 -text
*.ic diff=cpp
*.cpp diff=cpp
*.java diff=cpp
# Github lists too many languages
# curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/MariaDB/server/languages
# Their detection is based on https://github.com/github/linguist#overrides so we use some overrides
zlib/* linguist-vendored
tests/*.tst linguist-language=SQL
tests/*.res linguist-language=SQL
storage/innobase/include/univ.i linguist-language=C
*.inc linguist-language=MariaDB\ Test
*.test linguist-language=MariaDB\ Test
*.result linguist-language=MariaDB\ Test
*.frm linguist-language=MariaDB\ Table
*.h.pp linguist-language=C
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment