Skip to content

Commit e76f9ad

Browse files
committed
Don't filter out new FCPs.
1 parent 6085b4d commit e76f9ad

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

tools/agenda-generator/src/generator.rs

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,18 @@ impl Generator {
269269
let mut fcps: Vec<FcpWithInfo> =
270270
reqwest::blocking::get("https://rfcbot.rs/api/all")?.json()?;
271271
fcps.retain(|fcp| fcp.issue.labels.contains(&label));
272-
let waiting_on_author = "S-waiting-on-author".to_string();
273-
fcps.retain(|fcp| !fcp.issue.labels.contains(&waiting_on_author));
274-
let now = chrono::Utc::now().naive_utc();
275-
fcps.retain(|fcp| {
276-
let created = fcp.status_comment.created_at;
277-
let updated = fcp.status_comment.updated_at;
278-
(now - created) > Duration::weeks(4) && (now - updated) > Duration::days(5)
279-
});
272+
273+
// Don't filter out FCPs.
274+
if false {
275+
let waiting_on_author = "S-waiting-on-author".to_string();
276+
fcps.retain(|fcp| !fcp.issue.labels.contains(&waiting_on_author));
277+
let now = chrono::Utc::now().naive_utc();
278+
fcps.retain(|fcp| {
279+
let created = fcp.status_comment.created_at;
280+
let updated = fcp.status_comment.updated_at;
281+
(now - created) > Duration::weeks(4) && (now - updated) > Duration::days(5)
282+
});
283+
}
280284

281285
let reviewer_count = fcps
282286
.iter()

0 commit comments

Comments
 (0)