From 923fa7d82ff7303ef75beadf7b544aba091c2477 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 27 Feb 2025 09:23:08 -0800 Subject: [PATCH] Include contributors of closed tickets in "recent contributors" documentation. --- docs/fetch-contributors | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/fetch-contributors b/docs/fetch-contributors index 81ee6e22..7c1e1093 100755 --- a/docs/fetch-contributors +++ b/docs/fetch-contributors @@ -26,8 +26,7 @@ def list_merged_pulls(url): def list_contributing_issues(url): - # labels = bug, design finalized, etc. - response = requests.get(f'{url}?labels=19,20,22,23,32,52,53,54', headers={'Accept': 'application/json', 'Content-Type': 'application/json'}) + response = requests.get(url, headers={'Accept': 'application/json', 'Content-Type': 'application/json'}) if not response.ok: response.raise_for_status() @@ -39,7 +38,7 @@ PULLS_API_ENDPOINT_URLS = ( 'https://projects.torsion.org/api/v1/repos/borgmatic-collective/borgmatic/pulls', 'https://api.github.com/repos/borgmatic-collective/borgmatic/pulls', ) -ISSUES_API_ENDPOINT_URL = 'https://projects.torsion.org/api/v1/repos/borgmatic-collective/borgmatic/issues' +ISSUES_API_ENDPOINT_URL = 'https://projects.torsion.org/api/v1/repos/borgmatic-collective/borgmatic/issues?state=all' RECENT_CONTRIBUTORS_CUTOFF_DAYS = 365