From patchwork Thu Jul 4 13:45:31 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Alexandre TRUONG
X-Patchwork-Id: 46033
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org
(localhost.localdomain [127.0.0.1])
by smtp.lore.kernel.org (Postfix) with ESMTP id 3F35BC30653
for ; Thu, 4 Jul 2024 13:45:37 +0000 (UTC)
Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com
[209.85.208.47])
by mx.groups.io with SMTP id smtpd.web11.10404.1720100733446114401
for ;
Thu, 04 Jul 2024 06:45:34 -0700
Authentication-Results: mx.groups.io;
dkim=pass header.i=@smile.fr header.s=google header.b=JF57MVp7;
spf=pass (domain: smile.fr, ip: 209.85.208.47,
mailfrom: alexandre.truong@smile.fr)
Received: by mail-ed1-f47.google.com with SMTP id
4fb4d7f45d1cf-58b447c519eso876616a12.3
for ;
Thu, 04 Jul 2024 06:45:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=smile.fr; s=google; t=1720100731; x=1720705531;
darn=lists.yoctoproject.org;
h=cc:to:subject:message-id:date:mime-version:from:from:to:cc:subject
:date:message-id:reply-to;
bh=dUDoblIV7ZTr5v5744WDLFySDaARkPU9UC9/z9A6Jrc=;
b=JF57MVp7Rp8ySniLB1Z7fKE6Q8Z4zDXeAFlw3ZhaJuvrB7BQMImFFx0WfjQ9QyEBjc
q90jCRf2yNKJ0VqqoDymIVFg/G7utvrqcEREXhenoASy0O8JMgWx+U4AZiYtdbH8rGf0
VLqD/ss1+PRUmLTd89Dd04stx0tMNPduRqX8c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720100731; x=1720705531;
h=cc:to:subject:message-id:date:mime-version:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=dUDoblIV7ZTr5v5744WDLFySDaARkPU9UC9/z9A6Jrc=;
b=UrLOLnQ6ya++ng8OeitPLp/HdyUGEdcVRKFGnrl0SIeDKCzoT2R8Li8anOFZ+ZzAle
ZgGLMUKd2iCavqd42o99PWXPzinytn7gFuihyqRxUAms6Irypb75ycyKxDa1TR34W5cN
zwQvUboZo2Rv7UyVcyqBh61GAXN2P0i6OPaZH6wwQIhRI3mX8Y6DkNW0d1iKg0yi4hHA
m4rij33SxeSrUXmINdYJLWVZH+rJOTFW9t/jbrsHQj/9iUjCw1Dr35MA0Jp7oddQFWuO
r8eyrRtI+QxOqzNJAB/zP3pUBBoi5kNwTKMvRUqeDLB7w9M+vjIJGJpna9VNZBxhuce0
xDww==
X-Gm-Message-State: AOJu0YxUqGlsfu3Ao5z45CbjsBAURjdcjEthfCY16I2lb/qln+/hiU3c
16R1SQXJdtjFiurip7pOhmfc/ySl1Wpf7ZvHY1ARBnX9DlzmCFY/JSG9I1SOTShpuIvIySSn927
AK93S6TBFuRnvZ4c+x539Ck0uqGl8cueTylhyy11c/YSQL4qh
X-Google-Smtp-Source:
AGHT+IE/7/xlYwMB8e/IRiANqBX7YSb/zOoKAq5f6iwz0vxt8POyenp1T2gAaHqQ8rQLzaHJf/5NtLXP/vacn2ol3UE=
X-Received: by 2002:a05:6402:2349:b0:57c:aac9:cd8 with SMTP id
4fb4d7f45d1cf-58e5a7e8b66mr1267631a12.8.1720100731468; Thu, 04 Jul 2024
06:45:31 -0700 (PDT)
Received: from 234945705956 named unknown by gmailapi.google.com with
HTTPREST; Thu, 4 Jul 2024 09:45:31 -0400
From: alexandre.truong@smile.fr
X-Mailer: git-send-email 2.34.1
MIME-Version: 1.0
Date: Thu, 4 Jul 2024 09:45:31 -0400
Message-ID:
Subject: [yocto-metrics][PATCH 1/2] patch-status: Add missing
inactive-upstream status
To: yocto-patches@lists.yoctoproject.org
Cc: Alexandre Truong ,
Yoann Congal
List-Id:
X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by
aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for
; Thu, 04 Jul 2024 13:45:37 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/412
From: Alexandre Truong
Adding missing inactive-upstream status to the pie chart and
to upstream status graph.
Signed-off-by: Alexandre Truong
Reviewed-by: Yoann Congal
---
patch-status/index.html | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
from the original project maintainers to merge the patch.
+
+
Total:
The total count of patches in the OE-Core meta
directory, regardless of their upstream status.
@@ -435,7 +443,8 @@ SPDX-License-Identifier: MIT
denied: 'Denied',
total: 'Total',
sob: 'Malformed Signed-off-by',
- upstream_status: 'Malformed Upstream-Status'
+ upstream_status: 'Malformed Upstream-Status',
+ inactive_upstream: 'Inactive-Upstream'
};
const branches = ['master', 'scarthgap', 'nanbield',
'mickledore', 'langdale', 'kirkstone', 'honister', 'hardknott',
'gatesgarth', 'dunfell']
@@ -524,7 +533,8 @@ SPDX-License-Identifier: MIT
inappropriate: status.inappropriate || 0,
accepted: status.accepted || 0,
submitted: status.submitted || 0,
- denied: status.denied || 0
+ denied: status.denied || 0,
+ inactive_upstream: status['inactive-upstream'] || 0
}
})
@@ -625,7 +635,8 @@ SPDX-License-Identifier: MIT
{ "value": data.inappropriate || 0, "name": "Inappropriate" },
{ "value": data.accepted || 0, "name": "Accepted" },
{ "value": data.submitted || 0, "name": "Submitted" },
- { "value": data.denied || 0, "name": "Denied" }
+ { "value": data.denied || 0, "name": "Denied" },
+ { "value": data['inactive-upstream'] || 0, "name":
"Inactive-Upstream" }
]
generatePieChart(formatted)
});
@@ -741,4 +752,4 @@ SPDX-License-Identifier: MIT