Module: Dependabot::Linguist::ContextRule

Defined in:
lib/dependabot/linguist/languages_to_ecosystems/contexts.rb

Overview

ContextRule are the impetus for a certain language pointing to a given package manager.

Constant Summary collapse

FETCH_FILES =

FETCH_FILES implies the suggestion that a language should be relevant is derived from inspecting the rules the file fetcher class actually uses itself to determine if it can “fetch files” for a directory. Possibly also based on the ‘def self.required_files_message` message. Or alternatively the `def self.required_files_in?`, the actual check!

"def fetch_files"
PRIMARY_LANGUAGES =

PRIMARY_LANGUAGES implies that the language should be the main or only languages that that package manager could be used for, and the presence of that language should likely necessitate the presence of versioning.

"primary languages"
RELEVANT_LANGUAGES =

RELEVANT_LANGUAGES are satellites to the PRIMARY_LANGUAGES. They are other languages that are commonly built with this package manager.

"relevant languages"