Source: ruby-github-linguist Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Timothée Girard , Pirate Praveen Build-Depends: debhelper (>= 11~), gem2deb, ruby-charlock-holmes (>= 0.7.6~), ruby-escape-utils (>= 1.2~), ruby-json, ruby-mime-types (>= 1.19~), ruby-mocha, ruby-rugged (>= 0.25.1~), ruby-yajl Standards-Version: 4.1.3 Vcs-Git: https://salsa.debian.org/ruby-team/ruby-github-linguist.git Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-github-linguist Homepage: https://github.com/github/linguist Testsuite: autopkgtest-pkg-ruby XS-Ruby-Versions: all Package: ruby-github-linguist Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ruby-charlock-holmes (>= 0.7.6~), ruby-escape-utils (>= 1.2~), ruby-mime-types (>= 1.19~), ruby-rugged (>= 0.25.1~), ${misc:Depends}, ${shlibs:Depends} Breaks: gitlab (<< 11.5.3+dfsg~), gitaly (<< 0.129.0+debian~) Description: detection and highlight of the programming language of source code Language detection: ruby-github-linguist defines a list of all languages known to GitHub in a yaml file. In order for a file to be highlighted, a language and a lexer must be defined there. . Syntax Highlighting: The actual syntax highlighting is handled by the Pygments wrapper, ruby-pygments.rb. It also provides a Lexer abstraction that determines which highlighter should be used on a file. . Stats: The Language stats bar that you see on every repository is built by aggregating the languages of each file in that repository. The top language in the graph determines the project's primary language. . Ignore vendored files: Checking other code into your git repo is a common practice. But this often inflates your project's language stats and may even cause your project to be labeled as another language. ruby-github-linguist is able to identify some of these files and directories and exclude them. . Generated file detection: Not all plain text files are true source files. Generated files like minified js and compiled CoffeeScript can be detected and excluded from language stats. As an extra bonus, these files are suppressed in diffs.