public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: generate-runtime-report.py: don't generate non-base profiles when running 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 : 0325549095b92b59880ee25dfbf4f325bbbc1f0c
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date   : 2026-03-02T21:12:38-05:00
Stats  : +10/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/0325549095b92b59880ee25dfbf4f325bbbc1f0c?branch=f45

Log:
generate-runtime-report.py: don't generate non-base profiles when running BASEONLY

---
diff --git a/tools/generate-runtime-report.py b/tools/generate-runtime-report.py
index c5d159b..928f426 100755
--- a/tools/generate-runtime-report.py
+++ b/tools/generate-runtime-report.py
@@ -415,11 +415,15 @@ def count_lines(fname):
 
 unmatched_counts = {
     'freedesktop_platform': count_lines('out/freedesktop-Platform.unmatched'),
-    'gnome_platform': count_lines('out/gnome-Platform.unmatched'),
     'freedesktop_sdk': count_lines('out/freedesktop-Sdk.unmatched'),
-    'gnome_sdk': count_lines('out/gnome-Sdk.unmatched'),
 }
 
+if not BASEONLY:
+    unmatched_counts.update({
+        'gnome_platform': count_lines('out/gnome-Platform.unmatched'),
+        'gnome_sdk': count_lines('out/gnome-Sdk.unmatched'),
+    })
+
 #
 # Generate the profiles
 #
@@ -433,8 +437,10 @@ def generate_profile(outfile, which):
 
 generate_profile('out/runtime-base.profile', 'freedesktop_platform')
 generate_profile('out/sdk-base.profile', 'freedesktop_sdk')
-generate_profile('out/runtime.profile', 'gnome_platform')
-generate_profile('out/sdk.profile', 'gnome_sdk')
+
+if not BASEONLY:
+    generate_profile('out/runtime.profile', 'gnome_platform')
+    generate_profile('out/sdk.profile', 'gnome_sdk')
 
 #
 # Generate the report

^ 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 generate non-base profiles when running 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