public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Evan Goode <mail@evangoo.de>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: DNF 5: set best=False, skip_if_unavailable=True
Date: Mon, 10 Aug 2026 09:36:32 GMT [thread overview]
Message-ID: <178635459238.1.5201456340585693978.rpms-fedora-release-47386a9b2895@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : 47386a9b28959172e066f028bd0fd1443e3389ac
Author : Evan Goode <mail@evangoo.de>
Date : 2024-04-18T16:36:07+00:00
Stats : +8/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/47386a9b28959172e066f028bd0fd1443e3389ac?branch=f45
Log:
DNF 5: set best=False, skip_if_unavailable=True
Fedora should override DNF 5's upstream defaults and set best=False and
skip_if_unavailable=True. These are the status-quo settings for DNF 4 on
Fedora.
The DNF team may propose changing these downstream settings in the
future, but for now, we should keep the default behavior of DNF 5
consistent with DNF 4 as we replace DNF 4 with DNF 5 in Rawhide.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=2219153 and
https://bugzilla.redhat.com/show_bug.cgi?id=2216205.
---
diff --git a/20-fedora-defaults.conf b/20-fedora-defaults.conf
new file mode 100644
index 0000000..75ee0e7
--- /dev/null
+++ b/20-fedora-defaults.conf
@@ -0,0 +1,3 @@
+[main]
+best=False
+skip_if_unavailable=True
diff --git a/fedora-release.spec b/fedora-release.spec
index 7c60eb4..cc03abb 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -120,6 +120,7 @@ Source27: 81-desktop.preset
Source28: longer-default-shutdown-timeout.conf
Source29: org.gnome.settings-daemon.plugins.power.gschema.override
Source30: fedora-sway.conf
+Source31: 20-fedora-defaults.conf
BuildArch: noarch
@@ -1646,6 +1647,9 @@ sed -e "s#\$version#%{bug_version}#g" -e 's/<!--.*-->//;/^$/d' %{SOURCE19} > %{b
install -d %{buildroot}%{_sysconfdir}/swid/swidtags.d
ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.org
+# Install DNF 5 configuration defaults
+install -Dm0644 %{SOURCE31} -t %{buildroot}%{_prefix}/share/dnf5/libdnf.conf.d/
+
%files common
%license licenses/LICENSE licenses/Fedora-Legal-README.txt
@@ -1673,6 +1677,7 @@ ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swid
%{_swidtagdir}/org.fedoraproject.Fedora-%{bug_version}.swidtag
%dir %{_sysconfdir}/swid
%{_sysconfdir}/swid/swidtags.d
+%{_prefix}/share/dnf5/libdnf.conf.d/20-fedora-defaults.conf
%if %{with basic}
reply other threads:[~2026-08-10 9:36 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=178635459238.1.5201456340585693978.rpms-fedora-release-47386a9b2895@fedoraproject.org \
--to=mail@evangoo.de \
--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