go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.93k stars 5.48k forks source link

Hiding the organization's repository label set #31898

Open kebox7 opened 2 months ago

kebox7 commented 2 months ago

Feature Description

In some cases, there may be a need for centralized management of labels for the organization's repositories. Therefore, it would be nice to have settings to disable the ability to add predefined label sets for the organization's repositories.

Screenshots

Sample

yp05327 commented 2 months ago

I'm sorry I don't understand your needs. This default label set is for a quick start. If you added a new label, this quick start will disappeared. You can add organization level labels for all repositories in organization's settings. You can also add additional labels for the specific repositories.

kebox7 commented 2 months ago

Hi @yp05327.

I'll try to clarify the situation. There is an organization, and we have added a set of labels for it. Organization level labels

Now we are adding a set of labels to the repository itself. Repository  level labels

This will lead to duplicate labels and confusion. I would like to avoid such situations. Duplicate labels

yp05327 commented 2 months ago

I see. If some organization labels are same to the repo labels, then we need something like priority to avoid displaying same label twice. This is a good issue. 👍