Skip to content

Detecting YAML format on Ansible repositories #5165

Discussion options

You must be logged in to vote

Since most repositories related to Ansible are mostly composed of YAML files, why is this not taken into account for language detection?

Because YAML isn't considered a programming language by Linguist (note: type: data) and as such is ignored when calculating the statistics:

https://github.com/github/linguist/blob/633d196c170e002bcccb4143d6906787f360e08b/lib/linguist/languages.yml#L6357-L6383

If you really want your repo to count the YAML files, you can implement the detectable override.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cassilup
Comment options

@Alhadis
Comment options

Alhadis Jun 28, 2021
Collaborator

Answer selected by lildude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #5105 on January 22, 2021 17:39.