From de4b70dc539d544072b7b53e553d6fe39985c310 Mon Sep 17 00:00:00 2001 From: apiraino Date: Thu, 16 May 2024 20:35:03 +0200 Subject: [PATCH] Rework backport template compiler triage meeting --- github-graphql/src/lib.rs | 1 + src/actions.rs | 1 + src/github.rs | 9 ++++++-- templates/_issue.tt | 18 ++++++++++++++-- templates/_issues.tt | 8 ++----- templates/_issues_rfcbot.tt | 2 +- templates/prioritization_agenda.tt | 34 ++++-------------------------- 7 files changed, 32 insertions(+), 41 deletions(-) diff --git a/github-graphql/src/lib.rs b/github-graphql/src/lib.rs index 48b06264..d95fc5a4 100644 --- a/github-graphql/src/lib.rs +++ b/github-graphql/src/lib.rs @@ -53,6 +53,7 @@ pub mod queries { #[derive(cynic::QueryFragment, Debug)] pub struct PullRequest { pub number: i32, + pub author: Option, pub created_at: DateTime, pub url: Uri, pub title: String, diff --git a/src/actions.rs b/src/actions.rs index c3527eab..a9509171 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -43,6 +43,7 @@ pub struct IssueDecorator { pub html_url: String, pub repo_name: String, pub labels: String, + pub author: String, pub assignees: String, // Human (readable) timestamp pub updated_at_hts: String, diff --git a/src/github.rs b/src/github.rs index e0dc554f..32e83253 100644 --- a/src/github.rs +++ b/src/github.rs @@ -288,7 +288,7 @@ pub struct Issue { /// /// Example: `https://github.com/octocat/Hello-World/pull/1347` pub html_url: String, - // User performing an `action` + // User performing an `action` (or PR/issue author) pub user: User, pub labels: Vec