|
@@ -1,24 +1,22 @@
|
|
|
+use crate::actions::{Action, Query, QueryMap, Step};
|
|
|
use crate::github;
|
|
|
-use crate::meeting::{Meeting, Query, QueryMap, Step};
|
|
|
-
|
|
|
-pub fn prepare_meeting<'a>() -> Meeting<Step<'a>> {
|
|
|
- Meeting {
|
|
|
- steps: vec![
|
|
|
- unpri_i_prioritize(),
|
|
|
- regressions(),
|
|
|
- nominations(),
|
|
|
- prs_waiting_on_team(),
|
|
|
- agenda(),
|
|
|
- final_review(),
|
|
|
- ],
|
|
|
- }
|
|
|
+
|
|
|
+pub fn prepare_steps<'a>() -> Vec<Box<dyn Action>> {
|
|
|
+ vec![
|
|
|
+ unpri_i_prioritize(),
|
|
|
+ regressions(),
|
|
|
+ nominations(),
|
|
|
+ prs_waiting_on_team(),
|
|
|
+ agenda(),
|
|
|
+ final_review(),
|
|
|
+ ]
|
|
|
}
|
|
|
|
|
|
-pub fn unpri_i_prioritize<'a>() -> Step<'a> {
|
|
|
+pub fn unpri_i_prioritize<'a>() -> Box<Step<'a>> {
|
|
|
let mut queries = Vec::new();
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "unpri_i_prioritize.all",
|
|
|
+ name: "unpri_i_prioritize_all",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -28,7 +26,7 @@ pub fn unpri_i_prioritize<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "unpri_i_prioritize.t_compiler",
|
|
|
+ name: "unpri_i_prioritize_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -38,7 +36,7 @@ pub fn unpri_i_prioritize<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "unpri_i_prioritize.libs_impl",
|
|
|
+ name: "unpri_i_prioritize_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -47,22 +45,20 @@ pub fn unpri_i_prioritize<'a>() -> Step<'a> {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- Step {
|
|
|
+ Box::new(Step {
|
|
|
name: "unpri_i_prioritize",
|
|
|
actions: vec![Query {
|
|
|
repo: "rust-lang/rust",
|
|
|
queries,
|
|
|
}],
|
|
|
- }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-// FIXME: we should filter out `T-libs` ones given that we only want `libs-impl` but meanwhile
|
|
|
-// we are in a kind of transition state we have all of them.
|
|
|
-pub fn regressions<'a>() -> Step<'a> {
|
|
|
+pub fn regressions<'a>() -> Box<Step<'a>> {
|
|
|
let mut queries = Vec::new();
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "regressions.stable_to_beta",
|
|
|
+ name: "regressions_stable_to_beta",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -73,14 +69,15 @@ pub fn regressions<'a>() -> Step<'a> {
|
|
|
"P-medium",
|
|
|
"P-low",
|
|
|
"T-infra",
|
|
|
- "T-release",
|
|
|
"T-libs",
|
|
|
+ "T-release",
|
|
|
+ "T-rustdoc",
|
|
|
],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "regressions.stable_to_nightly",
|
|
|
+ name: "regressions_stable_to_nightly",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -91,14 +88,15 @@ pub fn regressions<'a>() -> Step<'a> {
|
|
|
"P-medium",
|
|
|
"P-low",
|
|
|
"T-infra",
|
|
|
- "T-release",
|
|
|
"T-libs",
|
|
|
+ "T-release",
|
|
|
+ "T-rustdoc",
|
|
|
],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "regressions.stable_to_stable",
|
|
|
+ name: "regressions_stable_to_stable",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -109,26 +107,27 @@ pub fn regressions<'a>() -> Step<'a> {
|
|
|
"P-medium",
|
|
|
"P-low",
|
|
|
"T-infra",
|
|
|
- "T-release",
|
|
|
"T-libs",
|
|
|
+ "T-release",
|
|
|
+ "T-rustdoc",
|
|
|
],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- Step {
|
|
|
+ Box::new(Step {
|
|
|
name: "regressions",
|
|
|
actions: vec![Query {
|
|
|
repo: "rust-lang/rust",
|
|
|
queries,
|
|
|
}],
|
|
|
- }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-pub fn nominations<'a>() -> Step<'a> {
|
|
|
+pub fn nominations<'a>() -> Box<Step<'a>> {
|
|
|
let mut queries = Vec::new();
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nominations.stable_nominated",
|
|
|
+ name: "nominations_stable_nominated",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -138,7 +137,7 @@ pub fn nominations<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nominations.beta_nominated",
|
|
|
+ name: "nominations_beta_nominated",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -148,7 +147,7 @@ pub fn nominations<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nominations.i_nominated",
|
|
|
+ name: "nominations_i_nominated",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -158,7 +157,7 @@ pub fn nominations<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nominations.i_nominated_t_compiler",
|
|
|
+ name: "nominations_i_nominated_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -168,7 +167,7 @@ pub fn nominations<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nominations.i_nominated_libs_impl",
|
|
|
+ name: "nominations_i_nominated_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -177,20 +176,20 @@ pub fn nominations<'a>() -> Step<'a> {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- Step {
|
|
|
+ Box::new(Step {
|
|
|
name: "nominations",
|
|
|
actions: vec![Query {
|
|
|
repo: "rust-lang/rust",
|
|
|
queries,
|
|
|
}],
|
|
|
- }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-pub fn prs_waiting_on_team<'a>() -> Step<'a> {
|
|
|
+pub fn prs_waiting_on_team<'a>() -> Box<Step<'a>> {
|
|
|
let mut queries = Vec::new();
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "prs_waiting_on_team.all",
|
|
|
+ name: "prs_waiting_on_team_all",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -200,7 +199,7 @@ pub fn prs_waiting_on_team<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "prs_waiting_on_team.t_compiler",
|
|
|
+ name: "prs_waiting_on_team_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -210,7 +209,7 @@ pub fn prs_waiting_on_team<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "prs_waiting_on_team.libs_impl",
|
|
|
+ name: "prs_waiting_on_team_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -219,21 +218,33 @@ pub fn prs_waiting_on_team<'a>() -> Step<'a> {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- Step {
|
|
|
+ Box::new(Step {
|
|
|
name: "prs_waiting_on_team",
|
|
|
actions: vec![Query {
|
|
|
repo: "rust-lang/rust",
|
|
|
queries,
|
|
|
}],
|
|
|
- }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-pub fn agenda<'a>() -> Step<'a> {
|
|
|
- let mut queries = Vec::new();
|
|
|
+pub fn agenda<'a>() -> Box<Step<'a>> {
|
|
|
let mut actions = Vec::new();
|
|
|
|
|
|
+ let mut queries = Vec::new();
|
|
|
+
|
|
|
+ // MCP queries
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "mcp_accepted",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::List,
|
|
|
+ filters: vec![("state", "closed"), ("closed-days-ago", "7")],
|
|
|
+ include_labels: vec!["major-change-accepted"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
queries.push(QueryMap {
|
|
|
- name: "mcp.seconded",
|
|
|
+ name: "mcp_seconded",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -243,7 +254,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "mcp.new_not_seconded",
|
|
|
+ name: "mcp_new_not_seconded",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -253,7 +264,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "mcp.old_not_seconded",
|
|
|
+ name: "mcp_old_not_seconded",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -269,8 +280,9 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
|
|
|
let mut queries = Vec::new();
|
|
|
|
|
|
+ // beta nomination queries
|
|
|
queries.push(QueryMap {
|
|
|
- name: "beta_nominated.t_compiler",
|
|
|
+ name: "beta_nominated_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -280,7 +292,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "beta_nominated.libs_impl",
|
|
|
+ name: "beta_nominated_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -290,7 +302,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "beta_nominated.t_rustdoc",
|
|
|
+ name: "beta_nominated_t_rustdoc",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -299,8 +311,9 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+ // stable nomination queries
|
|
|
queries.push(QueryMap {
|
|
|
- name: "stable_nominated.t_compiler",
|
|
|
+ name: "stable_nominated_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
@@ -310,27 +323,28 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "stable_nominated.t_rustdoc",
|
|
|
+ name: "stable_nominated_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
|
- include_labels: vec!["stable-nominated", "T-rustdoc"],
|
|
|
+ include_labels: vec!["stable-nominated", "libs-impl"],
|
|
|
exclude_labels: vec!["stable-accepted"],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "stable_nominated.libs_impl",
|
|
|
+ name: "stable_nominated_t_rustdoc",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![],
|
|
|
- include_labels: vec!["stable-nominated", "libs-impl"],
|
|
|
+ include_labels: vec!["stable-nominated", "T-rustdoc"],
|
|
|
exclude_labels: vec!["stable-accepted"],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+ // prs waiting on team queries
|
|
|
queries.push(QueryMap {
|
|
|
- name: "prs_waiting_on_team.t_compiler",
|
|
|
+ name: "prs_waiting_on_team_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -340,7 +354,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "prs_waiting_on_team.libs_impl",
|
|
|
+ name: "prs_waiting_on_team_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -349,10 +363,11 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+ // issues of note queries
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.p_critical",
|
|
|
+ name: "issues_of_note_p_critical",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open")],
|
|
|
include_labels: vec!["T-compiler", "P-critical"],
|
|
|
exclude_labels: vec![],
|
|
@@ -360,9 +375,9 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.unassigned_p_critical",
|
|
|
+ name: "issues_of_note_unassigned_p_critical",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open"), ("no", "assignee")],
|
|
|
include_labels: vec!["T-compiler", "P-critical"],
|
|
|
exclude_labels: vec![],
|
|
@@ -370,9 +385,9 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.p_high",
|
|
|
+ name: "issues_of_note_p_high",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open")],
|
|
|
include_labels: vec!["T-compiler", "P-high"],
|
|
|
exclude_labels: vec![],
|
|
@@ -380,51 +395,137 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.unassigned_p_high",
|
|
|
+ name: "issues_of_note_unassigned_p_high",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open"), ("no", "assignee")],
|
|
|
include_labels: vec!["T-compiler", "P-high"],
|
|
|
exclude_labels: vec![],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- // - [N regression-from-stable-to-stable](https://github.com/rust-lang/rust/labels/regression-from-stable-to-stable)
|
|
|
- // - [M of those are not prioritized](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-stable+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low).
|
|
|
- //
|
|
|
- // There are N (more|less) `P-critical` issues and M (more|less) `P-high` issues in comparison with last week.
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.regression_from_stable_to_beta",
|
|
|
+ name: "issues_of_note_regression_from_stable_to_beta_p_critical",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open")],
|
|
|
- include_labels: vec!["regression-from-stable-to-beta"],
|
|
|
+ include_labels: vec!["regression-from-stable-to-beta", "P-critical"],
|
|
|
exclude_labels: vec![],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.regression_from_stable_to_nightly",
|
|
|
+ name: "issues_of_note_regression_from_stable_to_beta_p_high",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open")],
|
|
|
- include_labels: vec!["regression-from-stable-to-nightly"],
|
|
|
+ include_labels: vec!["regression-from-stable-to-beta", "P-high"],
|
|
|
exclude_labels: vec![],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "issues_of_note.regression_from_stable_to_stable",
|
|
|
+ name: "issues_of_note_regression_from_stable_to_beta_p_medium",
|
|
|
query: github::Query {
|
|
|
- kind: github::QueryKind::List,
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
filters: vec![("state", "open")],
|
|
|
- include_labels: vec!["regression-from-stable-to-stable"],
|
|
|
+ include_labels: vec!["regression-from-stable-to-beta", "P-medium"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_beta_p_low",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-beta", "P-low"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_nightly_p_critical",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-nightly", "P-critical"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_nightly_p_high",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-nightly", "P-high"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_nightly_p_medium",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-nightly", "P-medium"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_nightly_p_low",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-nightly", "P-low"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_stable_p_critical",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-stable", "P-critical"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_stable_p_high",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-stable", "P-high"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_stable_p_medium",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-stable", "P-medium"],
|
|
|
+ exclude_labels: vec![],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ queries.push(QueryMap {
|
|
|
+ name: "issues_of_note_regression_from_stable_to_stable_p_low",
|
|
|
+ query: github::Query {
|
|
|
+ kind: github::QueryKind::Count,
|
|
|
+ filters: vec![("state", "open")],
|
|
|
+ include_labels: vec!["regression-from-stable-to-stable", "P-low"],
|
|
|
exclude_labels: vec![],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "p_critical.t_compiler",
|
|
|
+ name: "p_critical_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -434,7 +535,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "p_critical.libs_impl",
|
|
|
+ name: "p_critical_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -444,7 +545,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "p_critical.t_rustdoc",
|
|
|
+ name: "p_critical_t_rustdoc",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -454,27 +555,27 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "beta_regressions.unassigned_p_high",
|
|
|
+ name: "beta_regressions_unassigned_p_high",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open"), ("no", "assignee")],
|
|
|
include_labels: vec!["regression-from-stable-to-beta", "P-high"],
|
|
|
- exclude_labels: vec!["T-infra", "T-release"],
|
|
|
+ exclude_labels: vec!["T-infra", "T-libs", "T-release", "T-rustdoc"],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "nightly_regressions.unassigned_p_high",
|
|
|
+ name: "nightly_regressions_unassigned_p_high",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open"), ("no", "assignee")],
|
|
|
include_labels: vec!["regression-from-stable-to-nightly", "P-high"],
|
|
|
- exclude_labels: vec!["T-infra", "T-release"],
|
|
|
+ exclude_labels: vec!["T-infra", "T-libs", "T-release", "T-rustdoc"],
|
|
|
},
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "i_nominated.t_compiler",
|
|
|
+ name: "i_nominated_t_compiler",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -484,7 +585,7 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
});
|
|
|
|
|
|
queries.push(QueryMap {
|
|
|
- name: "i_nominated.libs_impl",
|
|
|
+ name: "i_nominated_libs_impl",
|
|
|
query: github::Query {
|
|
|
kind: github::QueryKind::List,
|
|
|
filters: vec![("state", "open")],
|
|
@@ -498,15 +599,15 @@ pub fn agenda<'a>() -> Step<'a> {
|
|
|
queries,
|
|
|
});
|
|
|
|
|
|
- Step {
|
|
|
+ Box::new(Step {
|
|
|
name: "agenda",
|
|
|
actions,
|
|
|
- }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-pub fn final_review<'a>() -> Step<'a> {
|
|
|
- Step {
|
|
|
+pub fn final_review<'a>() -> Box<Step<'a>> {
|
|
|
+ Box::new(Step {
|
|
|
name: "final_review",
|
|
|
actions: vec![],
|
|
|
- }
|
|
|
+ })
|
|
|
}
|