Skip to content

Feature suggestion #14528 (language detection override for new unknown ones) doesn't seem to be working #21377

Closed
@ell1e

Description

@ell1e

Description

I just tested with Gitea 1.17.2, and the feature suggestion #14528 doesn't seem to be working even though I think the comments on the issue suggest it should be.

Basically, make a new repo, add some non-empty test file that ends in a new unused file extension like .bla, then add a .gitattributes line:

*.bla linguist-language=BlaLanguage

The expected result is that the lines of your .bla file get counted and show up as a new entry on the language bar of the repository labelled BlaLanguage. This is however not the case, it just seems to be ignored.

Gitea Version

1.17.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

See https://try.gitea.io/blablablablab/blatest

Git Version

No response

Operating System

No response

How are you running Gitea?

It's someone else's instance

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions