aboutsummaryrefslogtreecommitdiffstats
path: root/sb_builder/dashboard.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-20 20:21:34 +0200
committerDanilo M. <danix@danix.xyz>2026-10-20 20:21:34 +0200
commit91f882df97adea262625a45be0257039f144ae49 (patch)
treed7aee7910f79b63ac049579dcf56ce7b8b1b7b7b /sb_builder/dashboard.py
parent552d8e5bb6ba6537b7031318bc5a8d7e92c971b4 (diff)
downloadsb-builder-91f882df97adea262625a45be0257039f144ae49.tar.gz
sb-builder-91f882df97adea262625a45be0257039f144ae49.zip
sbb-remote 0.9.0: SBo orphans tile on the Dashboard
stats gains "orphans", the packages whose .info says MAINTAINER="orphaned - no maintainer" (0.14s over the tree on the VM). The placeholder tile shows the count and opens Packages with only the orphaned chip on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'sb_builder/dashboard.py')
-rw-r--r--sb_builder/dashboard.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sb_builder/dashboard.py b/sb_builder/dashboard.py
index 3096fb8..9b04183 100644
--- a/sb_builder/dashboard.py
+++ b/sb_builder/dashboard.py
@@ -278,9 +278,7 @@ class Dashboard(QWidget):
self.results.body.addWidget(self.legend)
self.results.body.addStretch()
- self.orphans = Card("SBo orphans")
- self.orphans.body.addWidget(muted(QLabel("coming in phase 5")))
- self.orphans.body.addStretch()
+ self.orphans = Tile("SBo orphans")
self.jobs = Card("Recent jobs")
self.jobs_list = QLabel("no jobs yet")
@@ -320,6 +318,7 @@ class Dashboard(QWidget):
else:
extra = " · ".join(f"{num(v)}\u00a0{k}" for k, v in p.items() if k != "total")
t["Packages"].set(num(p["total"]), extra)
+ self.orphans.set(num(s.get("orphans")), "packages with no maintainer on SBo")
if sr is None:
t["Built"].set(NA, "no slackrepo database")
else: