Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Adjust reviewer selection to work on unprefixed group selection #377

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

Mark-Simulacrum
Copy link
Member

Previously, r? compiler-team or r? pnkfelix would not be matched by the regexes, which meant that they'd be silently ignored. r? rust-lang/compiler-team already worked, though. Note that if a user and team name overlap, then r? @foo will always map to foo the user, while r? foo will map to the team.

Since we generally don't want the @ prefix on team-wide pings, since it subscribes a bunch of people for no reason, it's nice to avoid necessarily typing the prefix as well. Users in practice do invoke the command in that way.

Previously, `r? compiler-team` or `r? pnkfelix` would not be matched by the
regexes, which meant that they'd be silently ignored. `r?
rust-lang/compiler-team` already worked, though. Note that if a user and team
name overlap, then `r? @foo` will always map to foo the user, while `r? foo`
will map to the team.

Since we generally don't want the `@` prefix on team-wide pings, since it
subscribes a bunch of people for no reason, it's nice to avoid necessarily
typing the prefix as well. Users in practice do invoke the command in that way.
@Mark-Simulacrum Mark-Simulacrum merged commit eeecdb9 into rust-lang:master Jan 14, 2022
@Mark-Simulacrum Mark-Simulacrum deleted the optional-at branch January 14, 2022 21:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant