Explorar o código

Merge pull request #764 from spastorino/add-compiler-team-fcps

Add compiler team fcps
Mark Rousskov %!s(int64=4) %!d(string=hai) anos
pai
achega
d7a277eb3b
Modificáronse 2 ficheiros con 39 adicións e 9 borrados
  1. 30 2
      src/agenda.rs
  2. 9 7
      templates/prioritization_agenda.tt

+ 30 - 2
src/agenda.rs

@@ -56,6 +56,20 @@ pub fn prioritization<'a>() -> Box<dyn Action> {
         },
     });
 
+    queries.push(QueryMap {
+        name: "fcp_finished_compiler_team",
+        query: github::Query {
+            kind: github::QueryKind::List,
+            filters: vec![("state", "all")],
+            include_labels: vec![
+                "finished-final-comment-period",
+                "disposition-merge",
+                "to-announce",
+            ],
+            exclude_labels: vec![],
+        },
+    });
+
     actions.push(Query {
         repo: "rust-lang/compiler-team",
         queries,
@@ -83,10 +97,10 @@ pub fn prioritization<'a>() -> Box<dyn Action> {
     });
 
     queries.push(QueryMap {
-        name: "fcp_finished",
+        name: "fcp_finished_rust",
         query: github::Query {
             kind: github::QueryKind::List,
-            filters: vec![("state", "open")],
+            filters: vec![("state", "all")],
             include_labels: vec![
                 "finished-final-comment-period",
                 "disposition-merge",
@@ -122,6 +136,20 @@ pub fn prioritization<'a>() -> Box<dyn Action> {
         },
     });
 
+    queries.push(QueryMap {
+        name: "fcp_finished_forge",
+        query: github::Query {
+            kind: github::QueryKind::List,
+            filters: vec![("state", "all")],
+            include_labels: vec![
+                "finished-final-comment-period",
+                "disposition-merge",
+                "to-announce",
+            ],
+            exclude_labels: vec![],
+        },
+    });
+
     actions.push(Query {
         repo: "rust-lang/rust-forge",
         queries,

+ 9 - 7
templates/prioritization_agenda.tt

@@ -15,17 +15,19 @@ tags: weekly, rustc
 - Old MCPs (not seconded, take a look)
 {{-issues::render(issues=mcp_old_not_seconded, indent="  ", empty="No old proposals this time.")}}
 - Pending FCP requests (check your boxes!)
-{{-issues::render(issues=in_pre_fcp_compiler_team, indent="  ", empty="No pending FCP requests on compiler-team repo this time.")}}
-{{-issues::render(issues=in_pre_fcp_rust, indent="  ", empty="No pending FCP requests on rust repo this time.")}}
-{{-issues::render(issues=in_pre_fcp_forge, indent="  ", empty="No pending FCP requests on forge repo this time.")}}
+{{-issues::render(issues=in_pre_fcp_compiler_team, indent="  ", empty="No pending FCP requests this time.")}}
+{{-issues::render(issues=in_pre_fcp_rust, indent="  ", empty="No pending FCP requests this time.")}}
+{{-issues::render(issues=in_pre_fcp_forge, indent="  ", empty="No pending FCP requests this time.")}}
 - Things in FCP (make sure you're good with it)
-{{-issues::render(issues=in_fcp_compiler_team, indent="  ", empty="No FCP requests on compiler-team repo this time.")}}
-{{-issues::render(issues=in_fcp_rust, indent="  ", empty="No FCP requests on rust repo this time.")}}
-{{-issues::render(issues=in_fcp_forge, indent="  ", empty="No FCP requests on forge repo this time.")}}
+{{-issues::render(issues=in_fcp_compiler_team, indent="  ", empty="No FCP requests this time.")}}
+{{-issues::render(issues=in_fcp_rust, indent="  ", empty="No FCP requests this time.")}}
+{{-issues::render(issues=in_fcp_forge, indent="  ", empty="No FCP requests this time.")}}
 - Accepted MCPs
 {{-issues::render(issues=mcp_accepted, indent="  ", empty="No new accepted proposals this time.")}}
 - Finalized FCPs (disposition merge)
-{{-issues::render(issues=fcp_finished, indent="  ", empty="No new finished FCP (disposition merge) this time.")}}
+{{-issues::render(issues=fcp_finished_compiler_team, indent="  ", empty="No new finished FCP (disposition merge) this time.")}}
+{{-issues::render(issues=fcp_finished_rust, indent="  ", empty="No new finished FCP (disposition merge) this time.")}}
+{{-issues::render(issues=fcp_finished_forge, indent="  ", empty="No new finished FCP (disposition merge) this time.")}}
 
 ### WG checkins