-
Notifications
You must be signed in to change notification settings - Fork 215
Document relabel aliases #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
087035d
to
10d4fbd
Compare
10d4fbd
to
427bedd
Compare
Labels are parsed from left to right and then applied by grouping *adding* labels and *removing* labels. Example: | ||
``` | ||
# this command ... | ||
@rustbot label +Alpaca -Bench -Carlo +Esteban +Dwight | ||
# ... will be executed as: | ||
@rustbot label +Alpaca +Esteban +Dwight -Bench -Carlo | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should explain what's happening with conflicting deltas. Maybe something like this.
Labels are parsed from left to right and then applied by grouping *adding* labels and *removing* labels. Example: | |
``` | |
# this command ... | |
@rustbot label +Alpaca -Bench -Carlo +Esteban +Dwight | |
# ... will be executed as: | |
@rustbot label +Alpaca +Esteban +Dwight -Bench -Carlo | |
``` | |
Labels are parsed and applied from left to right (canceling conflicting deltas). Example: | |
# this command ... | |
@rustbot label +Alpaca -Bench -Carlo +Esteban +Dwight +Bench | |
# ... will be executed as: | |
@rustbot label +Alpaca +Esteban +Dwight -Carlo |
*(GitHub is being silly, I had to remove the backticks, don't apply-it from GitHub)
] | ||
``` | ||
|
||
The configuration also supports aliases, a single *word* that is expanded in a set of labels allowing setting multiple labels with a single command, useful when adding or removing the same set of labels over and over. To configure an alias, add to the triagebot the following item: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration also supports aliases, a single *word* that is expanded in a set of labels allowing setting multiple labels with a single command, useful when adding or removing the same set of labels over and over. To configure an alias, add to the triagebot the following item: | |
### Aliases | |
The configuration also supports aliases, a single *word* that is expanded in a set of labels allowing setting multiple labels with a single command, useful when adding or removing the same set of labels over and over. To configure an alias, add to the triagebot the following item: |
Documentation for label aliases, see triagebot#2172.
Merge after that PR.
Rendered