Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> ruby >> ruby-github-linguist
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Source: ruby-github-linguist  ]

Package: ruby-github-linguist (7.27.0-1build2)

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.

Other Packages Related to ruby-github-linguist

  • depends
  • recommends
  • suggests
  • dep: libatomic1 (>= 4.8) [riscv64]
    support library providing __atomic built-in functions
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.27) [riscv64]
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: libruby (<< 1:3.3~)
    Libraries necessary to run Ruby
    dep: libruby (>= 1:3.2~0)
  • dep: libruby3.2 (>= 3.2.2)
    Libraries necessary to run Ruby 3.2
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
  • dep: ruby-cgi
    Package not available
  • dep: ruby-charlock-holmes (>= 0.7.7)
    Ruby character encoding detection library
  • dep: ruby-mini-mime (>= 1.0)
    Lightweight mime type implementation
  • dep: ruby-rugged (>= 1.0)
    Ruby binding to the libgit2 library

Download ruby-github-linguist

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 2,298.5 kB12593 kB [list of files]
arm64 2,298.0 kB12625 kB [list of files]
armhf 2,295.4 kB12577 kB [list of files]
ppc64el 2,298.9 kB12625 kB [list of files]
riscv64 2,297.4 kB12585 kB [list of files]