public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen W. Taylor <otaylor@fishsoup.net>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: generate-report.py: handle multiple providers in fedmod output
Date: Fri, 11 Sep 2026 14:40:10 GMT [thread overview]
Message-ID: <178913761057.1.10104313718809438571.flatpaks-flatpak-runtime-4f4499d0c273@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : flatpaks/flatpak-runtime
Branch : f45
Commit : 4f4499d0c273ec8ce90e9ba764c2c84519451ffb
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date : 2018-01-31T11:21:01+01:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/4f4499d0c273ec8ce90e9ba764c2c84519451ffb?branch=f45
Log:
generate-report.py: handle multiple providers in fedmod output
In the patch that actually landed 'fedmod resolve-deps --json' returns
a list of providers for each dependency - not just one.
---
diff --git a/generate-report.py b/generate-report.py
index c4dc389..2bc8080 100755
--- a/generate-report.py
+++ b/generate-report.py
@@ -220,8 +220,8 @@ def add_packages(filename, which, resolve_deps=False, only_if_exists=False):
source_package=srpm_name, only_if_exists=only_if_exists)
for package in resolved_packages:
- for req, provider in package['requires'].items():
- provider = nvr_to_name(provider)
+ for req, providers in package['requires'].items():
+ provider = nvr_to_name(providers[0])
provider_package = packages.get(provider, None)
if provider_package is None: # filtered out of the resolve-deps output - e.g., fedora-release
continue
reply other threads:[~2026-09-11 14:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913761057.1.10104313718809438571.flatpaks-flatpak-runtime-4f4499d0c273@fedoraproject.org \
--to=otaylor@fishsoup.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox