rust-lang / rust-lang/triagebot

Exclusive labels

Open
#10 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
232
Forks
108
Avg merge
22h 47m
Merged PRs (30d)
23

Description

We might want to add the ability to define some label patterns as "exclusive", so that there can only be a single label matching a pattern on an issue.

For example, with S-* marked as exclusive a PR with the S-waiting-on-review will have S-blocked after someone types the command:

@rustbot modify labels: S-blocked

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the label-modification command and the configuration or code that matches label patterns; no file or test is named in the issue. The work is done when an exclusive pattern leaves only the newly applied matching label, while nonmatching labels remain, with tests covering the S-* example.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.