소스 검색

Add RFCs for T-compiler

apiraino 4 년 전
부모
커밋
595dacdbda
3개의 변경된 파일21개의 추가작업 그리고 7개의 파일을 삭제
  1. 14 3
      src/agenda.rs
  2. 2 2
      templates/lang_agenda.tt
  3. 5 2
      templates/prioritization_agenda.tt

+ 14 - 3
src/agenda.rs

@@ -460,7 +460,7 @@ pub fn prioritization<'a>() -> Box<dyn Action> {
     });
 
     queries.push(QueryMap {
-        name: "i_nominated_t_compiler",
+        name: "nominated_t_compiler",
         query: github::Query {
             kind: github::QueryKind::List,
             filters: vec![("state", "open")],
@@ -470,7 +470,7 @@ pub fn prioritization<'a>() -> Box<dyn Action> {
     });
 
     queries.push(QueryMap {
-        name: "i_nominated_libs_impl",
+        name: "nominated_libs_impl",
         query: github::Query {
             kind: github::QueryKind::List,
             filters: vec![("state", "open")],
@@ -525,7 +525,7 @@ pub fn lang<'a>() -> Box<dyn Action> {
 
     //https://github.com/rust-lang/rfcs/pulls?q=is%3Aopen+is%3Apr+label%3AI-nominated+label%3AT-lang
     queries.push(QueryMap {
-        name: "nominated_rfcs",
+        name: "nominated_rfcs_t_lang",
         query: github::Query {
             kind: github::QueryKind::List,
             filters: vec![("state", "open"), ("is", "pr")],
@@ -534,6 +534,17 @@ pub fn lang<'a>() -> Box<dyn Action> {
         },
     });
 
+    //https://github.com/rust-lang/rfcs/pulls?q=is%3Aopen+is%3Apr+label%3AI-nominated+label%3AT-compiler
+    queries.push(QueryMap {
+        name: "nominated_rfcs_t_compiler",
+        query: github::Query {
+            kind: github::QueryKind::List,
+            filters: vec![("state", "open"), ("is", "pr")],
+            include_labels: vec!["T-compiler", "I-nominated"],
+            exclude_labels: vec![],
+        },
+    });
+
     actions.push(Query {
         repo: "rust-lang/rfcs",
         queries,

+ 2 - 2
templates/lang_agenda.tt

@@ -2,7 +2,7 @@
 
 # T-lang meeting agenda
 
-* Meeting date 
+* Meeting date
 
 ## Attendance
 
@@ -24,7 +24,7 @@ Review the [Lang team project board](https://github.com/rust-lang/lang-team/proj
 
 ## Nominated RFCs
 
-{{-issues::render(issues=nominated_rfcs, indent="  ", empty="No nominated RFCs this time.")}}
+{{-issues::render(issues=nominated_rfcs_t_lang, indent="  ", empty="No nominated RFCs this time.")}}
 
 ## P-high issues on rust-lang/rust
 

+ 5 - 2
templates/prioritization_agenda.tt

@@ -104,7 +104,10 @@ tags: weekly, rustc
 ## Nominated Issues
 
 [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler)
-{{-issues::render(issues=i_nominated_t_compiler, empty="No nominated issues for `T-compiler` this time.")}}
+{{-issues::render(issues=nominated_t_compiler, empty="No nominated issues for `T-compiler` this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3Alibs-impl)
-{{-issues::render(issues=i_nominated_libs_impl, empty="No nominated issues for `libs-impl` this time.")}}
+{{-issues::render(issues=nominated_libs_impl, empty="No nominated issues for `libs-impl` this time.")}}
+
+[RFC](https://github.com/rust-lang/rfcs/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler)
+{{-issues::render(issues=nominated_rfcs_t_compiler, empty="No nominated RFCs for `T-compiler` this time.")}}