public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: generate-runtime-report.py: Don't warn about E: lines, when baseonly
@ 2026-09-11 14:43 Owen W. Taylor
  0 siblings, 0 replies; only message in thread
From: Owen W. Taylor @ 2026-09-11 14:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : f64ae9e795b8fd849cb5f8d94759baea1b1ec03e
            Author : Owen W. Taylor <otaylor@fishsoup.net>
            Date   : 2026-03-02T20:29:46-05:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/f64ae9e795b8fd849cb5f8d94759baea1b1ec03e?branch=f45

            Log:
            generate-runtime-report.py: Don't warn about E: lines, when baseonly

We were warning about every package note with an E/E_SDK flag (extra,
not in base), when running BASEONLY since we weren't actually pulling
in those packages.

---
diff --git a/tools/generate-runtime-report.py b/tools/generate-runtime-report.py
index 94ffa77..c5d159b 100755
--- a/tools/generate-runtime-report.py
+++ b/tools/generate-runtime-report.py
@@ -396,7 +396,8 @@ for k in sorted(letters_map.keys()):
 for name, note, flag in read_package_notes():
     pkg = packages.get(name, None)
     if pkg is None:
-        warn("Package note for missing package: {}".format(name))
+        if not (BASEONLY and flag in ('E', 'E_SDK')):
+            warn("Package note for missing package: {}".format(name))
         continue
 
     if flag is not None:

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

only message in thread, other threads:[~2026-09-11 14:43 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:43 [flatpaks/flatpak-runtime] f45: generate-runtime-report.py: Don't warn about E: lines, when baseonly 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