From patchwork Wed Oct 29 14:20:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 73297 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 8F57CCCF9EB for ; Wed, 29 Oct 2025 14:21:08 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web01.7108.1761747660736353379 for ; Wed, 29 Oct 2025 07:21:01 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6AF6C1AC1 for ; Wed, 29 Oct 2025 07:20:52 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DA1013F66E for ; Wed, 29 Oct 2025 07:20:59 -0700 (PDT) From: Ross Burton To: yocto-patches@lists.yoctoproject.org Subject: [PATCH][yocto-autobuilder-helper 1/3] dashboard/bugtriage: rename Old Milestone to Wrong Milestone Date: Wed, 29 Oct 2025 14:20:56 +0000 Message-ID: <20251029142058.3066156-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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 ; Wed, 29 Oct 2025 14:21:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2401 Rename to reduce confusion, these are not just old but actively wrong now. Signed-off-by: Ross Burton --- scripts/dashboard/bugtriage/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html index 1cca4928..a51279ab 100644 --- a/scripts/dashboard/bugtriage/index.html +++ b/scripts/dashboard/bugtriage/index.html @@ -128,10 +128,10 @@
-

Old Milestone refresh

+

Wrong Milestone refresh

All open bugs that are targetted for a milestone in the past: they - should be closed or moved to a future milestone. + should be closed if fixed, or moved to a future milestone.

@@ -155,7 +155,7 @@
  • AB-INT
  • Need Info
  • Inactive
  • -
  • Old Milestone
  • +
  • Wrong Milestone
  • Newcomer
  • From patchwork Wed Oct 29 14:20:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 73298 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 9D0FDCCF9EE for ; Wed, 29 Oct 2025 14:21:08 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.7027.1761747661238048615 for ; Wed, 29 Oct 2025 07:21:01 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 13CEF1C2B for ; Wed, 29 Oct 2025 07:20:53 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 823773F66E for ; Wed, 29 Oct 2025 07:21:00 -0700 (PDT) From: Ross Burton To: yocto-patches@lists.yoctoproject.org Subject: [PATCH][yocto-autobuilder-helper 2/3] dashboard/bugtriage: improve active milestone logic Date: Wed, 29 Oct 2025 14:20:57 +0000 Message-ID: <20251029142058.3066156-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251029142058.3066156-1-ross.burton@arm.com> References: <20251029142058.3066156-1-ross.burton@arm.com> MIME-Version: 1.0 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 ; Wed, 29 Oct 2025 14:21:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2402 The next major release is now 6.0, so we should create milestone releases for that release and consider them active. Do a little refactoring to reduce duplication of the milestone creation. Also I expect we'll be creating a 6.99 target shortly, so consider that active too. Signed-off-by: Ross Burton --- scripts/dashboard/bugtriage/index.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html index a51279ab..891510f0 100644 --- a/scripts/dashboard/bugtriage/index.html +++ b/scripts/dashboard/bugtriage/index.html @@ -291,6 +291,7 @@ "---", "0.0.0", "5.99", + "6.99", "Q1", "Q2", "Q3", @@ -327,21 +328,24 @@ } else { // If there's not a latest_tag set then this is the current development cycle. + function createMilestones(version) { + // Create all milestones for a specific version + return new Set([1, 2, 3, 4].map((m) => `${version} M${m}`)); + } + // The current release is active (e.g. 5.3) active.push(release.series_version); // And so is the next minor release (eg 5.4) let parts = release.series_version.split("."); parts[parts.length - 1]++; - const next = parts.join("."); + let next = parts.join("."); active.push(next); - // And all of the next releases milestones - let milestones = new Set([1, 2, 3, 4].map((m) => `${next} M${m}`)); - active.push(...milestones); + active.push(...createMilestones(next)); // All remaining milestones in this release - milestones = new Set([1, 2, 3, 4].map((m) => `${release.series_version} M${m}`)); + let milestones = createMilestones(release.series_version); // Remove the milestones that have been releases. Map the tag names to milestone names here. const seenMilestones = new Set(release.releases.map((s) => s.replace("_", " "))); milestones = milestones.difference(seenMilestones); @@ -349,7 +353,11 @@ // The next major release (eg 6.0) is active parts = release.series_version.split("."); - active.push(`${parseInt(parts[0])+1}.0`); + next = `${parseInt(parts[0])+1}.0` + active.push(next); + // And all of the next releases milestones + active.push(...createMilestones(next)); + console.log(active); } } From patchwork Wed Oct 29 14:20:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 73296 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 8E8BDCCF9E9 for ; Wed, 29 Oct 2025 14:21:08 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.7028.1761747661928541428 for ; Wed, 29 Oct 2025 07:21:02 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD7761AC1 for ; Wed, 29 Oct 2025 07:20:53 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2A40C3F66E for ; Wed, 29 Oct 2025 07:21:01 -0700 (PDT) From: Ross Burton To: yocto-patches@lists.yoctoproject.org Subject: [PATCH][yocto-autobuilder-helper 3/3] dashboard/bugtriage: split Inactive into bugs and features Date: Wed, 29 Oct 2025 14:20:58 +0000 Message-ID: <20251029142058.3066156-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251029142058.3066156-1-ross.burton@arm.com> References: <20251029142058.3066156-1-ross.burton@arm.com> MIME-Version: 1.0 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 ; Wed, 29 Oct 2025 14:21:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2403 Use the severity=enhancement field to split the Inactive list into bugs and features, to make it easier to triage them. Also rename to "Old" as it's a shorter word and we don't want very wide sidebars. Signed-off-by: Ross Burton --- scripts/dashboard/bugtriage/index.html | 34 +++++++++++++++++++------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html index 891510f0..54065576 100644 --- a/scripts/dashboard/bugtriage/index.html +++ b/scripts/dashboard/bugtriage/index.html @@ -119,12 +119,20 @@
    -
    -

    Inactive refresh

    +
    +

    Inactive Bugs refresh

    All open bugs that haven't been altered in two years.

    -
    +
    +
    + +
    +

    Inactive Enhancements refresh

    +

    + All open enhancements that haven't been altered in two years. +

    +
    @@ -154,7 +162,8 @@
  • Reopened
  • AB-INT
  • Need Info
  • -
  • Inactive
  • +
  • Old Bugs
  • +
  • Old Features
  • Wrong Milestone
  • Newcomer
  • @@ -268,12 +277,15 @@ const bugs = await searchBugs(table, params); } - async function bugsInactive(table) { + async function bugsInactive(table, operator) { const params = new URLSearchParams({ resolution: "---", f1: "days_elapsed", o1: "greaterthaneq", - v1: 365 * 2 + v1: 365 * 2, + f2: "bug_severity", + o2: operator, + v2: "enhancement" }); const bugs = await searchBugs(table, params); } @@ -396,8 +408,11 @@ case "#needinfo": bugsByStatus(table, "NEEDINFO"); break; - case "#inactive": - bugsInactive(table); + case "#inactivebugs": + bugsInactive(table, "notequals"); + break; + case "#inactivefeatures": + bugsInactive(table, "equals"); break; case "#oldmilestone": bugsOldMilestone(table); @@ -411,7 +426,8 @@ reloadTable("#newcomer"); reloadTable("#reopened"); reloadTable("#needinfo"); - reloadTable("#inactive"); + reloadTable("#inactivebugs"); + reloadTable("#inactivefeatures"); reloadTable("#oldmilestone"); document.addEventListener('DOMContentLoaded', function () {