public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: generate-runtime-report.py: Sort required-by
@ 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 : cff6920f697714503d74995577b45c41d8249089
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date   : 2020-03-20T21:51:58+01:00
Stats  : +1/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/cff6920f697714503d74995577b45c41d8249089?branch=f45

Log:
generate-runtime-report.py: Sort required-by

---
diff --git a/tools/generate-runtime-report.py b/tools/generate-runtime-report.py
index d4e2929..b8a9bb3 100755
--- a/tools/generate-runtime-report.py
+++ b/tools/generate-runtime-report.py
@@ -91,6 +91,7 @@ class Package(object):
         if required_by is None:
             required_by_str = ''
         else:
+            required_by = sorted(required_by, key=lambda x: x[0])
             required_by_str = '\n'.join('{} ({})'.format(req, provider) for req, provider in required_by)
 
         if files_str and required_by_str:

^ 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: generate-runtime-report.py: Sort required-by 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