File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
tools/agenda-generator/src Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments