]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
CI: fix begingroup printing
[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     "src/tools/x",
186     "configure",
187     "Cargo.toml",
188     "Cargo.lock",
189     "config.toml.example",
190     "src/stage0.json"
191 ]
192
193 [autolabel."T-infra"]
194 trigger_files = [
195     "src/ci",
196     "src/tools/bump-stage0",
197 ]
198
199 [autolabel."T-style"]
200 trigger_files = [
201     "src/doc/style-guide",
202 ]
203
204 [autolabel."A-translation"]
205 trigger_files = [
206     "compiler/rustc_error_messages",
207     "compiler/rustc_errors/src/translation.rs",
208     "compiler/rustc_macros/src/diagnostics"
209 ]
210
211 [autolabel."A-query-system"]
212 trigger_files = [
213     "compiler/rustc_query_system",
214     "compiler/rustc_query_impl",
215     "compiler/rustc_macros/src/query.rs"
216 ]
217
218 [autolabel."A-testsuite"]
219 trigger_files = [
220     "src/ci",
221     "src/tools/compiletest",
222     "src/tools/cargotest",
223     "src/tools/tidy",
224     "src/tools/remote-test-server",
225     "src/tools/remote-test-client",
226     "src/tools/tier-check"
227 ]
228
229 [autolabel."A-meta"]
230 trigger_files = [
231     "triagebot.toml",
232     "rustfmt.toml",
233     "LICENSES",
234     "README.md",
235     "CONTRIBUTING.md",
236     ".reuse",
237     ".mailmap",
238     ".git-blame-ignore-revs",
239     ".editorconfig"
240 ]
241
242 [autolabel."T-release"]
243 trigger_files = [
244     "RELEASES.md",
245     "src/stage0.json",
246     "src/version"
247 ]
248
249 [autolabel."S-waiting-on-review"]
250 new_pr = true
251
252 [notify-zulip."I-prioritize"]
253 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
254 topic = "#{number} {title}"
255 message_on_add = """\
256 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
257
258 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
259 - Priority?
260 - Regression?
261 - Notify people/groups?
262 - Needs `I-nominated`?
263 """
264 message_on_remove = "Issue #{number}'s prioritization request has been removed."
265 message_on_close = "Issue #{number} has been closed while requested for prioritization."
266 message_on_reopen = "Issue #{number} has been reopened."
267
268 [notify-zulip."T-rustdoc"]
269 required_labels = ["I-nominated"]
270 zulip_stream = 266220 # #rustdoc
271 topic = "nominated: #{number}"
272 message_on_add = """\
273 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
274 """
275 message_on_remove = "Issue #{number}'s nomination request has been removed."
276
277 [notify-zulip."I-types-nominated"]
278 zulip_stream = 326866 # #T-types/nominated
279 topic = "#{number}: {title}"
280 message_on_add = """\
281 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
282 """
283 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
284 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
285 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
286
287 [notify-zulip."A-edition-2021"]
288 required_labels = ["C-bug"]
289 zulip_stream = 268952 # #edition 2021
290 topic = "Edition Bugs"
291 message_on_add = """\
292 Issue #{number} "{title}" has been added.
293 """
294
295 [github-releases]
296 format = "rustc"
297 project-name = "Rust"
298 changelog-path = "RELEASES.md"
299 changelog-branch = "master"
300
301 [shortcut]
302
303
304 [mentions."compiler/rustc_apfloat"]
305 message = """
306 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
307 certainly don't want to change it (see #55993).
308 """
309 cc = ["@eddyb"]
310
311 [mentions."compiler/rustc_codegen_cranelift"]
312 cc = ["@bjorn3"]
313
314 [mentions."compiler/rustc_codegen_gcc"]
315 cc = ["@antoyo"]
316
317 [mentions."compiler/rustc_const_eval/src/interpret"]
318 message = "Some changes occurred to the CTFE / Miri engine"
319 cc = ["@rust-lang/miri"]
320
321 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
322 message = "Some changes occurred in need_type_info.rs"
323 cc = ["@lcnr"]
324
325 [mentions."compiler/rustc_middle/src/mir/interpret"]
326 message = "Some changes occurred to the CTFE / Miri engine"
327 cc = ["@rust-lang/miri"]
328
329 [mentions."compiler/rustc_mir_transform/src/"]
330 message = "Some changes occurred to MIR optimizations"
331 cc = ["@rust-lang/wg-mir-opt"]
332
333 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
334 message = "Some changes occurred in const_evaluatable.rs"
335 cc = ["@lcnr"]
336
337 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
338 message = "Some changes occurred in diagnostic error codes"
339 cc = ["@GuillaumeGomez"]
340
341 [mentions."library"]
342 message = """
343 Hey! It looks like you've submitted a new PR for the library teams!
344
345 If this PR contains changes to any `rust-lang/rust` public library APIs then \
346 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
347 appropriately. If this PR contains changes to any unstable APIs please edit \
348 the PR description to add a link to the relevant [API Change \
349 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
350 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) \
351 if you haven't already. If you're unsure where your change falls no worries, \
352 just leave it as is and the reviewer will take a look and make a decision to \
353 forward on if necessary.
354
355 Examples of `T-libs-api` changes:
356
357 * Stabilizing library features
358 * Introducing insta-stable changes such as new implementations of existing \
359   stable traits on existing stable types
360 * Introducing new or changing existing unstable library APIs (excluding \
361   permanently unstable features / features without a tracking issue)
362 * Changing public documentation in ways that create new stability guarantees
363 * Changing observable runtime behavior of library APIs
364 """
365
366 [mentions."src/librustdoc/clean/types.rs"]
367 cc = ["@camelid"]
368
369 [mentions."src/librustdoc/html/static"]
370 message = "Some changes occurred in HTML/CSS/JS."
371 cc = [
372     "@GuillaumeGomez",
373     "@Folyd",
374     "@jsha",
375 ]
376
377 [mentions."src/librustdoc/html/static/css/themes"]
378 message = "Some changes occurred in HTML/CSS themes."
379 cc = ["@GuillaumeGomez"]
380
381 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
382 message = "A change occurred in the Ayu theme."
383 cc = ["@Cldfire"]
384
385 [mentions."src/rustdoc-json-types"]
386 message = """
387 rustdoc-json-types is a **public** (although nightly-only) API. \
388 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
389 otherwise, make sure you bump the `FORMAT_VERSION` constant.
390 """
391 cc = [
392     "@CraftSpider",
393     "@aDotInTheVoid",
394     "@Enselic",
395     "@obi1kenobi",
396 ]
397
398 [mentions."src/tools/cargo"]
399 cc = ["@ehuss"]
400
401 [mentions."src/tools/clippy"]
402 cc = ["@rust-lang/clippy"]
403
404 [mentions."src/tools/miri"]
405 message = "The Miri subtree was changed"
406 cc = ["@rust-lang/miri"]
407
408 [mentions."src/tools/rustfmt"]
409 cc = ["@rust-lang/rustfmt"]
410
411 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
412 message = "This PR changes MIR"
413 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
414
415 [mentions."compiler/rustc_error_messages"]
416 message = "`rustc_error_messages` was changed"
417 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
418
419 [mentions."compiler/rustc_errors/src/translation.rs"]
420 message = "`rustc_errors::translation` was changed"
421 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
422
423 [mentions."compiler/rustc_macros/src/diagnostics"]
424 message = "`rustc_macros::diagnostics` was changed"
425 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
426
427 [mentions."compiler/rustc_target/src/spec"]
428 message = """
429 These commits modify **compiler targets**.
430 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
431 """
432
433 [assign]
434 warn_non_default_branch = true
435 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
436
437 [assign.adhoc_groups]
438 compiler-team = [
439     "@cjgillot",
440     "@estebank",
441     "@petrochenkov",
442     "@davidtwco",
443     "@oli-obk",
444     "@lcnr",
445     "@nagisa",
446     "@wesleywiser",
447 ]
448 compiler-team-contributors = [
449     "@compiler-errors",
450     "@eholk",
451     "@jackh726",
452     "@fee1-dead",
453     "@TaKO8Ki",
454 ]
455 compiler = [
456     "compiler-team",
457     "compiler-team-contributors",
458 ]
459 libs = [
460     "@joshtriplett",
461     "@Mark-Simulacrum",
462     "@m-ou-se",
463     "@thomcc",
464 ]
465 bootstrap = [
466     "@Mark-Simulacrum",
467     "@jyn514",
468 ]
469 infra-ci = [
470     "@Mark-Simulacrum",
471     "@pietroalbini",
472     "@jyn514",
473 ]
474 rustdoc = [
475     "@jsha",
476     "@GuillaumeGomez",
477     "@CraftSpider",
478     "@notriddle",
479 ]
480 docs = [
481     "@ehuss",
482     "@GuillaumeGomez",
483     "@JohnTitor",
484 ]
485 query-system = [
486     "@cjgillot",
487 ]
488 incremental = [
489     "@michaelwoerister",
490     "@wesleywiser",
491 ]
492 diagnostics = [
493     "@compiler-errors",
494     "@davidtwco",
495     "@estebank",
496     "@oli-obk",
497     "@TaKO8Ki",
498 ]
499 parser = [
500     "@davidtwco",
501     "@estebank",
502     "@nnethercote",
503     "@petrochenkov",
504 ]
505 lexer = [
506     "@nnethercote",
507     "@petrochenkov",
508 ]
509 mir = [
510     "@davidtwco",
511     "@oli-obk",
512 ]
513 mir-opt = [
514     "@nagisa",
515     "@oli-obk",
516     "@wesleywiser",
517 ]
518 types = [
519     "@compiler-errors",
520     "@jackh726",
521     "@lcnr",
522     "@oli-obk",
523     "@spastorino",
524 ]
525 borrowck = [
526     "@davidtwco",
527     "@pnkfelix",
528 ]
529 ast_lowering = [
530     "@spastorino",
531 ]
532 fallback = [
533     "@Mark-Simulacrum"
534 ]
535
536 [assign.owners]
537 "/.github/workflows" =                       ["infra-ci"]
538 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
539 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
540 "/compiler" =                                ["compiler"]
541 "/compiler/rustc_apfloat" =                  ["@eddyb"]
542 "/compiler/rustc_ast" =                      ["compiler", "parser"]
543 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
544 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
545 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
546 "/compiler/rustc_llvm" =                     ["@cuviper"]
547 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
548 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
549 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
550 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
551 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
552 "/compiler/rustc_parse" =                    ["compiler", "parser"]
553 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
554 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
555 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
556 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
557 "/compiler/rustc_traits" =                   ["compiler", "types"]
558 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
559 "/library/alloc" =                           ["libs"]
560 "/library/core" =                            ["libs", "@scottmcm"]
561 "/library/panic_abort" =                     ["libs"]
562 "/library/panic_unwind" =                    ["libs"]
563 "/library/proc_macro" =                      ["@petrochenkov"]
564 "/library/std" =                             ["libs"]
565 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
566 "/library/stdarch" =                         ["libs"]
567 "/library/test" =                            ["libs"]
568 "/src/bootstrap" =                           ["bootstrap"]
569 "/src/ci" =                                  ["infra-ci"]
570 "/src/doc" =                                 ["docs"]
571 "/src/doc/rustdoc" =                         ["rustdoc"]
572 "/src/etc" =                                 ["@Mark-Simulacrum"]
573 "/src/librustdoc" =                          ["rustdoc"]
574 "/src/llvm-project" =                        ["@cuviper"]
575 "/src/rustdoc-json-types" =                  ["rustdoc"]
576 "/src/stage0.json" =                         ["bootstrap"]
577 "/src/test/ui" =                             ["compiler"]
578 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
579 "/src/tools/compiletest" =                   ["bootstrap"]
580 "/src/tools/linkchecker" =                   ["@ehuss"]
581 "/src/tools/rust-installer" =                ["bootstrap"]
582 "/src/tools/rustbook" =                      ["@ehuss"]
583 "/src/tools/rustdoc" =                       ["rustdoc"]
584 "/src/tools/rustdoc-js" =                    ["rustdoc"]
585 "/src/tools/rustdoc-themes" =                ["rustdoc"]
586 "/src/tools/tidy" =                          ["bootstrap"]
587 "/src/tools/x" =                             ["bootstrap"]