public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: fixup! Mark package in the runtime with missing devel packages in the SDK
@ 2026-09-11 14:40 Owen W. Taylor
  0 siblings, 0 replies; only message in thread
From: Owen W. Taylor @ 2026-09-11 14:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : flatpaks/flatpak-runtime
Branch : f45
Commit : bad51793221cd70e148e14b2a10a50aa5d43a487
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date   : 2020-03-20T21:51:58+01:00
Stats  : +10/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/bad51793221cd70e148e14b2a10a50aa5d43a487?branch=f45

Log:
fixup! Mark package in the runtime with missing devel packages in the SDK

---
diff --git a/reports/report.css b/reports/report.css
index b7795dd..03000a8 100644
--- a/reports/report.css
+++ b/reports/report.css
@@ -106,7 +106,7 @@ td.extra {
     border: 1px solid #666666;
     padding: 0px;
 }
-td.devel-missing {
+tr.devel-missing td.dep, td.devel-missing {
     background: repeating-linear-gradient(90deg, #999, #999 3px, #ccc 3px, #ccc 6px);
     border: 1px solid #666666;
     padding: 0px;

diff --git a/tools/generate-runtime-report.py b/tools/generate-runtime-report.py
index ee0fa24..4b4d920 100755
--- a/tools/generate-runtime-report.py
+++ b/tools/generate-runtime-report.py
@@ -57,7 +57,7 @@ class Package(object):
         self.gnome_sdk_files = None
         self.gnome_sdk_required_by = None
         self.live = 0
-        self.source_package = None
+        self.source_package_name = None
         self.flag = None
         self._note = None
 
@@ -172,6 +172,11 @@ class Package(object):
     def live_inclusion(self):
         return self.inclusion('live')
 
+    @property
+    def source_package(self):
+        return source_packages[self.source_package_name]
+
+
 class SourcePackage(object):
     def __init__(self, name):
         self.name = name
@@ -213,7 +218,7 @@ def add_package(name, which, level, only_if_exists=False, source_package=None):
     if getattr(pkg, which) < level:
         setattr(pkg, which, level)
     if source_package is not None:
-        pkg.source_package = source_package
+        pkg.source_package_name = source_package
 
 def add_packages(source, which, resolve_deps=False, only_if_exists=False):
     if isinstance(source, str):
@@ -341,9 +346,9 @@ add_packages(extra_sdk, 'gnome_sdk', resolve_deps=True)
 
 source_packages = {}
 for package in packages.values():
-    source_package = source_packages.get(package.source_package, None)
+    source_package = source_packages.get(package.source_package_name, None)
     if source_package is None:
-        source_package = SourcePackage(package.source_package)
+        source_package = SourcePackage(package.source_package_name)
         source_packages[source_package.name] = source_package
     source_package.packages.append(package)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:40 [flatpaks/flatpak-runtime] f45: fixup! Mark package in the runtime with missing devel packages in the SDK Owen W. Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox