@@ -64,7 +64,9 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
64
64
}
65
65
66
66
if let IssuesAction :: Labeled { label } = & e. action {
67
- if label. name == "relnotes" || label. name == "relnotes-perf" {
67
+ if [ "relnotes" , "relnotes-perf" , "finished-final-comment-period" ]
68
+ . contains ( & label. name . as_str ( ) )
69
+ {
68
70
let title = format ! (
69
71
"Tracking issue for release notes of #{}: {}" ,
70
72
e. issue. number, e. issue. title
@@ -73,36 +75,44 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
73
75
"
74
76
This issue tracks the release notes text for #{}.
75
77
76
- - [ ] Issue is nominated for the responsible team (and T-release nomination is removed).
77
- - [ ] Proposed text is drafted by team responsible for underlying change.
78
+ - [ ] Proposed text is drafted by PR author (or team) making the noteworthy change.
78
79
- [ ] Issue is nominated for release team review of clarity for wider audience.
79
80
- [ ] Release team includes text in release notes/blog posts.
80
81
81
82
Release notes text:
82
83
83
- The section title will be de-duplicated by the release team with other release notes issues.
84
- Prefer to use the standard titles from [previous releases](https://doc.rust-lang.org/nightly/releases.html).
85
- More than one section can be included if needed.
84
+ The responsible team for the underlying change should edit this section to replace the
85
+ automatically generated link with a succinct description of what changed, drawing upon text
86
+ proposed by the author (either in discussion or through direct editing). If the change is notable
87
+ enough for inclusion in the blog post, add content to the blog section below.
86
88
87
89
```markdown
88
- # Compatibility Notes
90
+ # Pick a category...
89
91
- [{}]({})
90
92
```
91
93
94
+ Note: The section title will be de-duplicated by the release team with other release notes issues.
95
+ Please use a standard title from [previous releases](https://doc.rust-lang.org/nightly/releases.html).
96
+ More than one section can be included if needed.
97
+
92
98
Release blog section (if any, leave blank if no section is expected):
93
99
94
100
```markdown
95
101
```
102
+
103
+ cc {} -- origin issue/PR authors and assignees for starting to draft text
96
104
" ,
97
105
e. issue. number, e. issue. title, e. issue. html_url,
106
+ [ & e. issue. user] . into_iter( ) . chain( e. issue. assignees. iter( ) )
107
+ . map( |v| format!( "@{}" , v. login) ) . collect:: <Vec <_>>( ) . join( ", " )
98
108
) ;
99
109
let resp = ctx
100
110
. github
101
111
. new_issue (
102
112
& e. issue . repository ( ) ,
103
113
& title,
104
114
& body,
105
- vec ! [ "relnotes" . to_owned( ) , "I-release-nominated " . to_owned( ) ] ,
115
+ vec ! [ "relnotes" . to_owned( ) , "relnotes-tracking-issue " . to_owned( ) ] ,
106
116
)
107
117
. await ?;
108
118
state. data . relnotes_issue = Some ( resp. number ) ;
0 commit comments