kubernetes-sigs / prow

Prow is a Kubernetes based CI/CD system developed to serve the Kubernetes community. This repository contains Prow source code and Hugo sources for Prow documentation site.
https://docs.prow.k8s.io
Apache License 2.0
127 stars 98 forks source link

Feature Request: exclusive label sets #179

Open jberkus opened 5 months ago

jberkus commented 5 months ago

This was originally this issue, opened at the request of the release team.

Currently, it's entirely possible to assign an issue or a PR multiple "priority" or multiple "lifecycle" labels. This doesn't make any sense; a given issue/PR can only have one priority, or one lifecycle stage. The Release Team and Enhancements both end up spending time cleaning up these "duplicates".

It would be really nice if we were able to create "exclusive sets" of labels, where adding a label from the set would automatically cause any other label in the set to be removed. These sets would include:

This feature request has been a TODO for 5 years because it will require rewriting some/all of the label handler.

/kind feature /sig contributor-experience /sig release /priority important-longterm /help-wanted

jberkus commented 5 months ago

/help

k8s-ci-robot commented 5 months ago

@jberkus: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes-sigs/prow/issues/179): >/help > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
amirrmonfared commented 5 months ago

I would like to take part in this issue, but it may take a bit of time and I would be more than happy if someone wants to help :D /assign