Merge pull request #42 from lafriks-fork/feat/sync_v7.12.2

Sync with github/linguist version v7.12.2
This commit is contained in:
Alexander 2021-03-06 15:35:46 +01:00 committed by GitHub
commit 1ad7deb89e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 1310 additions and 1128 deletions

View File

@ -150,7 +150,7 @@ macOS and linux platforms. Windows support is planned under [src-d/enry#150](htt
## Divergences from Linguist ## Divergences from Linguist
The `enry` library is based on the data from `github/linguist` version **v7.12.1**. The `enry` library is based on the data from `github/linguist` version **v7.12.2**.
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist: Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -99,6 +99,7 @@ var LanguageByAliasMap = map[string]string{
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brightscript": "Brightscript", "brightscript": "Brightscript",
"bro": "Zeek", "bro": "Zeek",
"browserslist": "Browserslist",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"bzl": "Starlark", "bzl": "Starlark",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -35,6 +35,7 @@ var LanguagesColor = map[string]string{
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
"Browserslist": "#ffd539",
"C": "#555555", "C": "#555555",
"C#": "#178600", "C#": "#178600",
"C++": "#f34b7d", "C++": "#f34b7d",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a" var LinguistCommit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -368,6 +368,7 @@ var LanguagesByExtension = map[string][]string{
".glslf": {"GLSL"}, ".glslf": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".glyphs": {"OpenStep Property List"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"}, ".gms": {"GAMS"},
".gmx": {"XML"}, ".gmx": {"XML"},
@ -1524,7 +1525,7 @@ var ExtensionsByLanguage = map[string][]string{
"OpenEdge ABL": {".p", ".cls", ".w"}, "OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"}, "OpenQASM": {".qasm"},
"OpenSCAD": {".scad"}, "OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"}, "OpenStep Property List": {".plist", ".glyphs"},
"OpenType Feature File": {".fea"}, "OpenType Feature File": {".fea"},
"Org": {".org"}, "Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"}, "Ox": {".ox", ".oxh", ".oxo"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -16,6 +16,7 @@ var LanguagesByFilename = map[string][]string{
".bash_logout": {"Shell"}, ".bash_logout": {"Shell"},
".bash_profile": {"Shell"}, ".bash_profile": {"Shell"},
".bashrc": {"Shell"}, ".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"}, ".bzrignore": {"Ignore List"},
".clang-format": {"YAML"}, ".clang-format": {"YAML"},
".clang-tidy": {"YAML"}, ".clang-tidy": {"YAML"},
@ -179,6 +180,7 @@ var LanguagesByFilename = map[string][]string{
"bash_logout": {"Shell"}, "bash_logout": {"Shell"},
"bash_profile": {"Shell"}, "bash_profile": {"Shell"},
"bashrc": {"Shell"}, "bashrc": {"Shell"},
"browserslist": {"Browserslist"},
"build.xml": {"Ant Build System"}, "build.xml": {"Ant Build System"},
"buildfile": {"Ruby"}, "buildfile": {"Ruby"},
"buildozer.spec": {"INI"}, "buildozer.spec": {"INI"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -54,6 +54,7 @@ var LanguagesType = map[string]int{
"Boo": 2, "Boo": 2,
"Brainfuck": 2, "Brainfuck": 2,
"Brightscript": 2, "Brightscript": 2,
"Browserslist": 1,
"C": 2, "C": 2,
"C#": 2, "C#": 2,
"C++": 2, "C++": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -19,7 +19,7 @@ import (
var ( var (
linguistURL = "https://github.com/github/linguist.git" linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO" linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "223c00bb80eff04788e29010f98c5778993d2b2a" commit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"
samplesDir = "samples" samplesDir = "samples"
languagesFile = filepath.Join("lib", "linguist", "languages.yml") languagesFile = filepath.Join("lib", "linguist", "languages.yml")

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -99,6 +99,7 @@ var LanguageByAliasMap = map[string]string{
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brightscript": "Brightscript", "brightscript": "Brightscript",
"bro": "Zeek", "bro": "Zeek",
"browserslist": "Browserslist",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"bzl": "Starlark", "bzl": "Starlark",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -35,6 +35,7 @@ var LanguagesColor = map[string]string{
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
"Browserslist": "#ffd539",
"C": "#555555", "C": "#555555",
"C#": "#178600", "C#": "#178600",
"C++": "#f34b7d", "C++": "#f34b7d",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a" var LinguistCommit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -368,6 +368,7 @@ var LanguagesByExtension = map[string][]string{
".glslf": {"GLSL"}, ".glslf": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".glyphs": {"OpenStep Property List"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"}, ".gms": {"GAMS"},
".gmx": {"XML"}, ".gmx": {"XML"},
@ -1524,7 +1525,7 @@ var ExtensionsByLanguage = map[string][]string{
"OpenEdge ABL": {".p", ".cls", ".w"}, "OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"}, "OpenQASM": {".qasm"},
"OpenSCAD": {".scad"}, "OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"}, "OpenStep Property List": {".plist", ".glyphs"},
"OpenType Feature File": {".fea"}, "OpenType Feature File": {".fea"},
"Org": {".org"}, "Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"}, "Ox": {".ox", ".oxh", ".oxo"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -16,6 +16,7 @@ var LanguagesByFilename = map[string][]string{
".bash_logout": {"Shell"}, ".bash_logout": {"Shell"},
".bash_profile": {"Shell"}, ".bash_profile": {"Shell"},
".bashrc": {"Shell"}, ".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"}, ".bzrignore": {"Ignore List"},
".clang-format": {"YAML"}, ".clang-format": {"YAML"},
".clang-tidy": {"YAML"}, ".clang-tidy": {"YAML"},
@ -179,6 +180,7 @@ var LanguagesByFilename = map[string][]string{
"bash_logout": {"Shell"}, "bash_logout": {"Shell"},
"bash_profile": {"Shell"}, "bash_profile": {"Shell"},
"bashrc": {"Shell"}, "bashrc": {"Shell"},
"browserslist": {"Browserslist"},
"build.xml": {"Ant Build System"}, "build.xml": {"Ant Build System"},
"buildfile": {"Ruby"}, "buildfile": {"Ruby"},
"buildozer.spec": {"INI"}, "buildozer.spec": {"INI"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data
@ -54,6 +54,7 @@ var LanguagesType = map[string]int{
"Boo": 2, "Boo": 2,
"Brainfuck": 2, "Brainfuck": 2,
"Brightscript": 2, "Brightscript": 2,
"Browserslist": 1,
"C": 2, "C": 2,
"C#": 2, "C#": 2,
"C++": 2, "C++": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a // Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data package data