fix stat.csv bug

This commit is contained in:
Fred K. Schott 2021-09-02 09:40:03 -07:00
parent 108bac706d
commit cd2578557c
2 changed files with 5 additions and 9 deletions

View file

@ -25,8 +25,7 @@ const repo = 'astro';
const COLUMN_ID_BUGS_NEEDS_TRIAGE = 14724521;
const COLUMN_ID_BUGS_ACCEPTED = 14724515;
const COLUMN_ID_BUGS_PRIORITIZED = 14946516;
const COLUMN_ID_RFCS_NEEDS_DISCUSSION = 14946333;
const COLUMN_ID_RFCS_NEEDS_WORK = 14946353;
const COLUMN_ID_RFCS_IN_PROGRESS = 14946333;
const COLUMN_ID_RFCS_ACCEPTED = 14946335;
const COLUMN_ID_RFCS_PRIORITIZED = 14946454;
@ -105,10 +104,8 @@ export async function run() {
(await countCards(COLUMN_ID_BUGS_NEEDS_TRIAGE)).length,
// Bugs: Accepted
(await countCards(COLUMN_ID_BUGS_ACCEPTED)).length + (await countCards(COLUMN_ID_BUGS_PRIORITIZED)).length,
// RFC: Needs Discussion
(await countCards(COLUMN_ID_RFCS_NEEDS_DISCUSSION)).length,
// RFC: Needs Work
(await countCards(COLUMN_ID_RFCS_NEEDS_WORK)).length,
// RFC: In Progress
(await countCards(COLUMN_ID_RFCS_IN_PROGRESS)).length,
// RFC: Accepted
(await countCards(COLUMN_ID_RFCS_ACCEPTED)).length + (await countCards(COLUMN_ID_RFCS_PRIORITIZED)).length,
// Date (ISO)

View file

@ -1,3 +1,2 @@
Date,Commits (24hr),Issues (24hr),Issues:BUG (24hr),Issues:RFC (24hr),Issues:DOC (24hr),PRs (24hr),Open PRs,Open Issues,Bugs: Needs Triage,Bugs: Accepted,RFC: Needs Discussion,RFC: In Progress,RFC: Accepted,Date (ISO)
"Wednesday, September 1, 2021",24,4,3,1,0,8,7,173,3,54,36,0,12,"2021-09-02T00:12:53.755Z"
"Thursday, September 2, 2021",18,4,3,1,0,5,8,172,3,54,36,0,12,"2021-09-02T12:04:50.438Z"
Date,Commits (24hr),Issues (24hr),Issues:BUG (24hr),Issues:RFC (24hr),Issues:DOC (24hr),PRs (24hr),Open PRs,Open Issues,Bugs: Needs Triage,Bugs: Accepted,RFC: In Progress,RFC: Accepted,Date (ISO)
"Thursday, September 2, 2021",18,4,3,1,0,5,8,172,3,54,36,12,"2021-09-02T12:04:50.438Z"

1 Date Commits (24hr) Issues (24hr) Issues:BUG (24hr) Issues:RFC (24hr) Issues:DOC (24hr) PRs (24hr) Open PRs Open Issues Bugs: Needs Triage Bugs: Accepted RFC: Needs Discussion RFC: In Progress RFC: Accepted Date (ISO)
2 Wednesday, September 1, 2021 Thursday, September 2, 2021 24 18 4 3 1 0 8 5 7 8 173 172 3 54 36 0 36 12 2021-09-02T00:12:53.755Z 2021-09-02T12:04:50.438Z
Thursday, September 2, 2021 18 4 3 1 0 5 8 172 3 54 36 0 12 2021-09-02T12:04:50.438Z