瀏覽代碼

extend lang-team agenda with a few more entries

Niko Matsakis 4 年之前
父節點
當前提交
e515b4df05
共有 2 個文件被更改,包括 25 次插入0 次删除
  1. 17 0
      src/agenda.rs
  2. 8 0
      templates/lang_agenda.tt

+ 17 - 0
src/agenda.rs

@@ -455,6 +455,23 @@ pub fn lang<'a>() -> Box<dyn Action> {
 
     let mut queries = Vec::new();
 
+    queries.push(QueryMap {
+        name: "pending_proposals",
+        query: github::Query {
+            kind: github::QueryKind::List,
+            filters: vec![("state", "open"), ("is", "issue")],
+            include_labels: vec!["major-change"],
+            exclude_labels: vec!["charter-needed"],
+        },
+    });
+
+    actions.push(Query {
+        repo: "rust-lang/lang-team",
+        queries,
+    });
+
+    let mut queries = Vec::new();
+
     // https://github.com/rust-lang/rfcs/pulls?q=is%3Aopen+is%3Apr+label%3AT-lang
     queries.push(QueryMap {
         name: "newly_created_rfcs",

+ 8 - 0
templates/lang_agenda.tt

@@ -2,6 +2,14 @@
 
 # T-lang meeting agenda
 
+## Pending proposals
+
+{{-issues::render(issues=pending_proposals, indent="  ", empty="No pending proposals this time.")}}
+
+## Project board review
+
+Review the [Lang team project board](https://github.com/rust-lang/lang-team/projects/2) and get updates
+
 ## Newly created RFCs
 
 {{-issues::render(issues=newly_created_rfcs, indent="  ", empty="No new RFCs this time.")}}