Ansible or YAML flag for repository? #405

Open
opened 1 year ago by kate · 6 comments
kate commented 1 year ago

Hi Codeberg-Community,

currently Ansible playbooks aren't flagged as "Ansible" code such as Python oder Java etc.

As it's just yaml I understand that this is not easy as it's just "yaml" but it's also not flagged as "yaml". It simply has no flag at all and looks as the repository is empty.

Are you planing to add a flag to it?

  • Regards
Hi Codeberg-Community, currently Ansible playbooks aren't flagged as "Ansible" code such as Python oder Java etc. As it's just yaml I understand that this is not easy as it's just "yaml" but it's also not flagged as "yaml". It simply has no flag at all and looks as the repository is empty. Are you planing to add a flag to it? - Regards
fnetX added the
gitea-related
enhancement
labels 1 year ago
Collaborator

Not sure whether excluding those meta content languages (not sure how to call them) is a bug or a feature. IMO there's a point in not including markdown and yaml and most tiny config files into the analysis as long as they're not the repo content (afaik this is how markdown is handled).
May be they should still be shown if they are the primary repo content?

Not sure whether excluding those meta content languages (not sure how to call them) is a bug or a feature. IMO there's a point in not including markdown and yaml and most tiny config files into the analysis as long as they're not the repo content (afaik this is how markdown is handled). May be they should still be shown if they are the primary repo content?
6543 commented 1 year ago
Collaborator

gitea use https://github.com/go-enry/go-enry to detect language ...

gitea use https://github.com/go-enry/go-enry to detect language ...
hw commented 1 year ago
Owner

@kate : can you please create an upstream issue as @6543 suggested?

@kate : can you please create an upstream issue as @6543 suggested?
kate commented 1 year ago
Poster

Not sure what you mean by upstream issue @hw. I can't see a suggestion. If i should open sth. at Github I don't have an account - for a reason.

Not sure what you mean by upstream issue @hw. I can't see a suggestion. If i should open sth. at Github I don't have an account - for a reason.
Collaborator

Okay, no problem, I will take care of this one then. But it looks like go-enry which uses the data from github/linguist supports yaml. I'll try and have another look at this.

Okay, no problem, I will take care of this one then. But it looks like go-enry which uses the data from github/linguist supports yaml. I'll try and have another look at this.
fnetX self-assigned this 1 year ago
kate commented 1 year ago
Poster

@fnetX thank you.

@fnetX thank you.
fnetX removed their assignment 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.