Skip to content

Commit c8b8f5f

Browse files
authored
Merge pull request #30 from yaahc/pgeh-consistency
Make error handling agenda more consistent with other meeting agendas
2 parents 7dd240d + 1b35a0a commit c8b8f5f

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

tools/agenda-generator/src/generator.rs

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ impl Generator {
154154
}
155155

156156
pub fn error_handling_pg_agenda(mut self) -> Result<String> {
157+
writeln!(
158+
&mut self.agenda,
159+
"# Project Group Error Handling Meeting {}
160+
161+
###### tags: `Error Handling` `Minutes`
162+
163+
**Attendees**: ...
164+
165+
## Agenda Items
166+
167+
- [Open action items](https://hackmd.io/@rust-libs/Hyj7kRSld)
168+
- Triage
169+
- Individual Status Updates
170+
171+
## Triage
172+
",
173+
chrono::Utc::now().format("%Y-%m-%d")
174+
)?;
175+
157176
GithubQuery::new("Nominated")
158177
.labels(&["PG-error-handling", "I-nominated"])
159178
.repo("rust-lang/rust")
@@ -347,7 +366,9 @@ impl Generator {
347366
}
348367

349368
fn dedup(&mut self, issues: Vec<Issue>) -> impl Iterator<Item = Issue> + '_ {
350-
issues.into_iter().filter(move |issue| self.seen.insert(issue.html_url.clone()))
369+
issues
370+
.into_iter()
371+
.filter(move |issue| self.seen.insert(issue.html_url.clone()))
351372
}
352373
}
353374

@@ -499,7 +520,6 @@ impl GithubQuery {
499520
url += sort.web_ui_str();
500521
}
501522

502-
503523
writeln!(
504524
generator.agenda,
505525
"- [{} `{repo}` `{labels}` items]({url})",

0 commit comments

Comments
 (0)