]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
Auto merge of #103898 - Nilstrieb:match-macro, r=nnethercote
[rust.git] / triagebot.toml
1 [relabel]
2 allow-unauthenticated = [
3     "A-*",
4     "C-*",
5     "D-*",
6     "E-*",
7     "F-*",
8     "I-*",
9     "NLL-*",
10     "O-*",
11     "S-*",
12     "T-*",
13     "WG-*",
14     "const-hack",
15     "llvm-main",
16     "needs-fcp",
17     "relnotes",
18     "requires-nightly",
19     "regression-*",
20     "perf-*",
21     "AsyncAwait-OnDeck",
22 ]
23
24 [glacier]
25
26 [ping.icebreakers-llvm]
27 alias = ["llvm", "llvms"]
28 message = """\
29 Hey LLVM ICE-breakers! This bug has been identified as a good
30 "LLVM ICE-breaking candidate". In case it's useful, here are some
31 [instructions] for tackling these sorts of bugs. Maybe take a look?
32 Thanks! <3
33
34 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html
35 """
36 label = "ICEBreaker-LLVM"
37
38 [ping.icebreakers-cleanup-crew]
39 alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"]
40 message = """\
41 Hey Cleanup Crew ICE-breakers! This bug has been identified as a good
42 "Cleanup ICE-breaking candidate". In case it's useful, here are some
43 [instructions] for tackling these sorts of bugs. Maybe take a look?
44 Thanks! <3
45
46 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html
47 """
48 label = "ICEBreaker-Cleanup-Crew"
49
50 [ping.windows]
51 message = """\
52 Hey Windows Group! This bug has been identified as a good "Windows candidate".
53 In case it's useful, here are some [instructions] for tackling these sorts of
54 bugs. Maybe take a look?
55 Thanks! <3
56
57 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
58 """
59 label = "O-windows"
60
61 [ping.arm]
62 message = """\
63 Hey ARM Group! This bug has been identified as a good "ARM candidate".
64 In case it's useful, here are some [instructions] for tackling these sorts of
65 bugs. Maybe take a look?
66 Thanks! <3
67
68 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
69 """
70 label = "O-ARM"
71
72 [ping.risc-v]
73 message = """\
74 Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate".
75 In case it's useful, here are some [instructions] for tackling these sorts of
76 bugs. Maybe take a look?
77 Thanks! <3
78
79 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
80 """
81 label = "O-riscv"
82
83 [ping.fuchsia]
84 message = """\
85 Hey friends of Fuchsia! This issue could use some guidance on how this should be
86 resolved/implemented on Fuchsia. Could one of you weigh in?
87 """
88 label = "O-fuchsia"
89
90 [ping.macos]
91 message = """\
92 Hey MacOS Group! This issue or PR could use some MacOS-specific guidance. Could one
93 of you weigh in? Thanks <3
94 """
95 label = "O-macos"
96
97 [prioritize]
98 label = "I-prioritize"
99
100 [autolabel."I-prioritize"]
101 trigger_labels = [
102     "regression-untriaged",
103     "regression-from-stable-to-stable",
104     "regression-from-stable-to-beta",
105     "regression-from-stable-to-nightly",
106     "I-unsound",
107 ]
108 exclude_labels = [
109     "P-*",
110     "T-infra",
111     "T-release",
112     "requires-nightly",
113 ]
114
115 [autolabel."T-rustdoc"]
116 trigger_files = [
117     # Source code
118     "src/librustdoc",
119     "src/tools/rustdoc",
120     "src/rustdoc-json-types",
121
122     # Tests
123     "src/test/rustdoc",
124     "src/test/rustdoc-ui",
125     "src/test/rustdoc-gui",
126     "src/test/rustdoc-js",
127     "src/test/rustdoc-js-std",
128     "src/test/rustdoc-json",
129
130     # Internal tooling
131     "src/etc/htmldocck.py",
132     "src/tools/jsondocck",
133     "src/tools/jsondoclint",
134     "src/tools/rustdoc-gui",
135     "src/tools/rustdoc-js",
136     "src/tools/rustdoc-themes",
137 ]
138 exclude_labels = [
139     "T-*",
140 ]
141
142 [autolabel."A-rustdoc-json"]
143 trigger_files = [
144     "src/librustdoc/json/",
145     "src/rustdoc-json-types",
146     "src/test/rustdoc-json",
147     "src/tools/jsondocck",
148     "src/tools/jsondoclint",
149 ]
150
151 [autolabel."T-compiler"]
152 trigger_files = [
153     # Source code
154     "compiler",
155
156     # Tests
157     "src/test/ui",
158 ]
159 exclude_labels = [
160     "T-*",
161 ]
162
163 [autolabel."T-libs"]
164 trigger_files = [
165     "library/alloc",
166     "library/core",
167     "library/panic_abort",
168     "library/panic_unwind",
169     "library/std",
170     "library/stdarch",
171     "library/term",
172     "library/test",
173 ]
174 exclude_labels = [
175     "T-*",
176 ]
177
178 [autolabel."A-bootstrap"]
179 trigger_files = [
180     "x.py",
181     "x",
182     "x.ps1",
183     "src/bootstrap",
184     "src/tools/rust-installer",
185     "configure",
186     "Cargo.toml",
187     "Cargo.lock",
188     "config.toml.example",
189     "src/stage0.json"
190 ]
191
192 [autolabel."T-infra"]
193 trigger_files = [
194     "src/ci",
195     "src/tools/bump-stage0",
196 ]
197
198 [autolabel."T-style"]
199 trigger_files = [
200     "src/doc/style-guide",
201 ]
202
203 [autolabel."A-translation"]
204 trigger_files = [
205     "compiler/rustc_error_messages",
206     "compiler/rustc_errors/src/translation.rs",
207     "compiler/rustc_macros/src/diagnostics"
208 ]
209
210 [autolabel."A-query-system"]
211 trigger_files = [
212     "compiler/rustc_query_system",
213     "compiler/rustc_query_impl",
214     "compiler/rustc_macros/src/query.rs"
215 ]
216
217 [autolabel."A-testsuite"]
218 trigger_files = [
219     "src/ci",
220     "src/tools/compiletest",
221     "src/tools/cargotest",
222     "src/tools/tidy",
223     "src/tools/remote-test-server",
224     "src/tools/remote-test-client",
225     "src/tools/tier-check"
226 ]
227
228 [autolabel."A-meta"]
229 trigger_files = [
230     "triagebot.toml",
231     "rustfmt.toml",
232     "LICENSES",
233     "README.md",
234     "CONTRIBUTING.md",
235     ".reuse",
236     ".mailmap",
237     ".git-blame-ignore-revs",
238     ".editorconfig"
239 ]
240
241 [autolabel."T-release"]
242 trigger_files = [
243     "RELEASES.md",
244     "src/stage0.json",
245     "src/version"
246 ]
247
248 [autolabel."S-waiting-on-review"]
249 new_pr = true
250
251 [notify-zulip."I-prioritize"]
252 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
253 topic = "#{number} {title}"
254 message_on_add = """\
255 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
256
257 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
258 - Priority?
259 - Regression?
260 - Notify people/groups?
261 - Needs `I-nominated`?
262 """
263 message_on_remove = "Issue #{number}'s prioritization request has been removed."
264 message_on_close = "Issue #{number} has been closed while requested for prioritization."
265 message_on_reopen = "Issue #{number} has been reopened."
266
267 [notify-zulip."T-rustdoc"]
268 required_labels = ["I-nominated"]
269 zulip_stream = 266220 # #rustdoc
270 topic = "nominated: #{number}"
271 message_on_add = """\
272 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
273 """
274 message_on_remove = "Issue #{number}'s nomination request has been removed."
275
276 [notify-zulip."I-types-nominated"]
277 zulip_stream = 326866 # #T-types/nominated
278 topic = "#{number}: {title}"
279 message_on_add = """\
280 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
281 """
282 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
283 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
284 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
285
286 [notify-zulip."A-edition-2021"]
287 required_labels = ["C-bug"]
288 zulip_stream = 268952 # #edition 2021
289 topic = "Edition Bugs"
290 message_on_add = """\
291 Issue #{number} "{title}" has been added.
292 """
293
294 [github-releases]
295 format = "rustc"
296 project-name = "Rust"
297 changelog-path = "RELEASES.md"
298 changelog-branch = "master"
299
300 [shortcut]
301
302
303 [mentions."compiler/rustc_apfloat"]
304 message = """
305 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
306 certainly don't want to change it (see #55993).
307 """
308 cc = ["@eddyb"]
309
310 [mentions."compiler/rustc_codegen_cranelift"]
311 cc = ["@bjorn3"]
312
313 [mentions."compiler/rustc_codegen_gcc"]
314 cc = ["@antoyo"]
315
316 [mentions."compiler/rustc_const_eval/src/interpret"]
317 message = "Some changes occurred to the CTFE / Miri engine"
318 cc = ["@rust-lang/miri"]
319
320 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
321 message = "Some changes occurred in need_type_info.rs"
322 cc = ["@lcnr"]
323
324 [mentions."compiler/rustc_middle/src/mir/interpret"]
325 message = "Some changes occurred to the CTFE / Miri engine"
326 cc = ["@rust-lang/miri"]
327
328 [mentions."compiler/rustc_mir_transform/src/"]
329 message = "Some changes occurred to MIR optimizations"
330 cc = ["@rust-lang/wg-mir-opt"]
331
332 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
333 message = "Some changes occurred in const_evaluatable.rs"
334 cc = ["@lcnr"]
335
336 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
337 message = "Some changes occurred in diagnostic error codes"
338 cc = ["@GuillaumeGomez"]
339
340 [mentions."library"]
341 message = """
342 Hey! It looks like you've submitted a new PR for the library teams!
343
344 If this PR contains changes to any `rust-lang/rust` public library APIs then \
345 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
346 appropriately. If this PR contains changes to any unstable APIs please edit \
347 the PR description to add a link to the relevant [API Change \
348 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
349 or [create one](https://github.com/rust-lang/libs-team/issues/new?assignees=&labels=api-change-proposal%2C+T-libs-api&template=api-change-proposal.md&title=%28My+API+Change+Proposal%29) \
350 if you haven't already. If you're unsure where your change falls no worries, \
351 just leave it as is and the reviewer will take a look and make a decision to \
352 forward on if necessary.
353
354 Examples of `T-libs-api` changes:
355
356 * Stabilizing library features
357 * Introducing insta-stable changes such as new implementations of existing \
358   stable traits on existing stable types
359 * Introducing new or changing existing unstable library APIs (excluding \
360   permanently unstable features / features without a tracking issue)
361 * Changing public documentation in ways that create new stability guarantees
362 * Changing observable runtime behavior of library APIs
363 """
364
365 [mentions."src/librustdoc/clean/types.rs"]
366 cc = ["@camelid"]
367
368 [mentions."src/librustdoc/html/static"]
369 message = "Some changes occurred in HTML/CSS/JS."
370 cc = [
371     "@GuillaumeGomez",
372     "@Folyd",
373     "@jsha",
374 ]
375
376 [mentions."src/librustdoc/html/static/css/themes"]
377 message = "Some changes occurred in HTML/CSS themes."
378 cc = ["@GuillaumeGomez"]
379
380 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
381 message = "A change occurred in the Ayu theme."
382 cc = ["@Cldfire"]
383
384 [mentions."src/rustdoc-json-types"]
385 message = """
386 rustdoc-json-types is a **public** (although nightly-only) API. \
387 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
388 otherwise, make sure you bump the `FORMAT_VERSION` constant.
389 """
390 cc = [
391     "@CraftSpider",
392     "@aDotInTheVoid",
393     "@Enselic",
394     "@obi1kenobi",
395 ]
396
397 [mentions."src/tools/cargo"]
398 cc = ["@ehuss"]
399
400 [mentions."src/tools/clippy"]
401 cc = ["@rust-lang/clippy"]
402
403 [mentions."src/tools/miri"]
404 message = "The Miri subtree was changed"
405 cc = ["@rust-lang/miri"]
406
407 [mentions."src/tools/rustfmt"]
408 cc = ["@rust-lang/rustfmt"]
409
410 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
411 message = "This PR changes MIR"
412 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
413
414 [mentions."compiler/rustc_error_messages"]
415 message = "`rustc_error_messages` was changed"
416 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
417
418 [mentions."compiler/rustc_errors/src/translation.rs"]
419 message = "`rustc_errors::translation` was changed"
420 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
421
422 [mentions."compiler/rustc_macros/src/diagnostics"]
423 message = "`rustc_macros::diagnostics` was changed"
424 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
425
426 [mentions."compiler/rustc_target/src/spec"]
427 message = """
428 These commits modify **compiler targets**.
429 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
430 """
431
432 [assign]
433 warn_non_default_branch = true
434 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
435
436 [assign.adhoc_groups]
437 compiler-team = [
438     "@cjgillot",
439     "@estebank",
440     "@petrochenkov",
441     "@davidtwco",
442     "@oli-obk",
443     "@lcnr",
444     "@nagisa",
445     "@wesleywiser",
446 ]
447 compiler-team-contributors = [
448     "@compiler-errors",
449     "@eholk",
450     "@jackh726",
451     "@fee1-dead",
452     "@TaKO8Ki",
453 ]
454 compiler = [
455     "compiler-team",
456     "compiler-team-contributors",
457 ]
458 libs = [
459     "@joshtriplett",
460     "@Mark-Simulacrum",
461     "@m-ou-se",
462     "@thomcc",
463 ]
464 bootstrap = [
465     "@Mark-Simulacrum",
466     "@jyn514",
467 ]
468 infra-ci = [
469     "@Mark-Simulacrum",
470     "@pietroalbini",
471     "@jyn514",
472 ]
473 rustdoc = [
474     "@jsha",
475     "@GuillaumeGomez",
476     "@CraftSpider",
477     "@notriddle",
478 ]
479 docs = [
480     "@ehuss",
481     "@GuillaumeGomez",
482     "@JohnTitor",
483 ]
484 query-system = [
485     "@cjgillot",
486 ]
487 incremental = [
488     "@michaelwoerister",
489     "@wesleywiser",
490 ]
491 diagnostics = [
492     "@compiler-errors",
493     "@davidtwco",
494     "@estebank",
495     "@oli-obk",
496     "@TaKO8Ki",
497 ]
498 parser = [
499     "@davidtwco",
500     "@estebank",
501     "@nnethercote",
502     "@petrochenkov",
503 ]
504 lexer = [
505     "@nnethercote",
506     "@petrochenkov",
507 ]
508 mir = [
509     "@davidtwco",
510     "@oli-obk",
511 ]
512 mir-opt = [
513     "@nagisa",
514     "@oli-obk",
515     "@wesleywiser",
516 ]
517 types = [
518     "@compiler-errors",
519     "@jackh726",
520     "@lcnr",
521     "@oli-obk",
522     "@spastorino",
523 ]
524 borrowck = [
525     "@davidtwco",
526     "@pnkfelix",
527 ]
528 ast_lowering = [
529     "@spastorino",
530 ]
531 fallback = [
532     "@Mark-Simulacrum"
533 ]
534
535 [assign.owners]
536 "/.github/workflows" =                       ["infra-ci"]
537 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
538 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
539 "/compiler" =                                ["compiler"]
540 "/compiler/rustc_apfloat" =                  ["@eddyb"]
541 "/compiler/rustc_ast" =                      ["compiler", "parser"]
542 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
543 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
544 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
545 "/compiler/rustc_llvm" =                     ["@cuviper"]
546 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
547 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
548 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
549 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
550 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
551 "/compiler/rustc_parse" =                    ["compiler", "parser"]
552 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
553 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
554 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
555 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
556 "/compiler/rustc_traits" =                   ["compiler", "types"]
557 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
558 "/library/alloc" =                           ["libs"]
559 "/library/core" =                            ["libs", "@scottmcm"]
560 "/library/panic_abort" =                     ["libs"]
561 "/library/panic_unwind" =                    ["libs"]
562 "/library/proc_macro" =                      ["@petrochenkov"]
563 "/library/std" =                             ["libs"]
564 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
565 "/library/stdarch" =                         ["libs"]
566 "/library/test" =                            ["libs"]
567 "/src/bootstrap" =                           ["bootstrap"]
568 "/src/ci" =                                  ["infra-ci"]
569 "/src/doc" =                                 ["docs"]
570 "/src/doc/rustdoc" =                         ["rustdoc"]
571 "/src/etc" =                                 ["@Mark-Simulacrum"]
572 "/src/librustdoc" =                          ["rustdoc"]
573 "/src/llvm-project" =                        ["@cuviper"]
574 "/src/rustdoc-json-types" =                  ["rustdoc"]
575 "/src/stage0.json" =                         ["bootstrap"]
576 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
577 "/src/tools/compiletest" =                   ["bootstrap"]
578 "/src/tools/linkchecker" =                   ["@ehuss"]
579 "/src/tools/rust-installer" =                ["bootstrap"]
580 "/src/tools/rustbook" =                      ["@ehuss"]
581 "/src/tools/rustdoc" =                       ["rustdoc"]
582 "/src/tools/rustdoc-js" =                    ["rustdoc"]
583 "/src/tools/rustdoc-themes" =                ["rustdoc"]
584 "/src/tools/tidy" =                          ["bootstrap"]