public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-software] f45: Resolves: #2578252 (dnf5: Set newly added 'interactive' option for ops in dnf5 5.4.8.0)
Date: Mon, 23 Nov 2026 12:02:42 GMT [thread overview]
Message-ID: <179543536288.1.7924364778524651331.rpms-gnome-software-8a680c332bdd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gnome-software
Branch : f45
Commit : 8a680c332bdd1981703827e47de95c6c3e19a184
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-11-23T13:01:58+01:00
Stats : +175/-34 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-software/c/8a680c332bdd1981703827e47de95c6c3e19a184?branch=f45
Log:
Resolves: #2578252 (dnf5: Set newly added 'interactive' option for ops in dnf5 5.4.8.0)
---
diff --git a/0001-dnf5-plugin.patch b/0001-dnf5-plugin.patch
index eb127ce..9d2e627 100644
--- a/0001-dnf5-plugin.patch
+++ b/0001-dnf5-plugin.patch
@@ -1,5 +1,5 @@
-at commit c04643f14122cdb6ed8400d098c8201ab1557cf5
-Date: Tue Oct 13 11:59:31 2026 +0200
+at commit ea415e109a5493bf1acd3c1f243783edc03608c4
+Date: Mon Nov 23 10:51:43 2026 +0100
diff --git a/lib/gs-fedora-third-party.c b/lib/gs-fedora-third-party.c
index e79bba8cd..9905834a9 100644
@@ -623,10 +623,10 @@ index 000000000..5d522468c
+G_END_DECLS
diff --git a/plugins/dnf5/gs-plugin-dnf5.c b/plugins/dnf5/gs-plugin-dnf5.c
new file mode 100644
-index 000000000..a5c317bff
+index 000000000..592041ae3
--- /dev/null
+++ b/plugins/dnf5/gs-plugin-dnf5.c
-@@ -0,0 +1,5219 @@
+@@ -0,0 +1,5237 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ * vi:set noexpandtab tabstop=8 shiftwidth=8:
+ *
@@ -2436,6 +2436,8 @@ index 000000000..a5c317bff
+
+ g_variant_builder_add (options_builder, "{sv}", "allow_erasing",
+ g_variant_new_boolean ((flags & GS_DNF5_TRANSACTION_FLAG_DISALLOW_ERASING) == 0));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+
+ if (progress_app != NULL || progress_list != NULL)
+ helper = gs_dnf5_progress_helper_new (base_proxy, rpm_proxy, progress_app, progress_list, session_path);
@@ -2927,6 +2929,8 @@ index 000000000..a5c317bff
+ g_variant_new_boolean (FALSE));
+ g_variant_builder_add (options_builder, "{sv}", "scope",
+ g_variant_new_string ("upgrades"));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+
+ success = gs_dnf5_rpm_rpm_call_list_sync (rpm_proxy,
+ g_variant_builder_end (options_builder),
@@ -3018,6 +3022,8 @@ index 000000000..a5c317bff
+ g_variant_new_string ("updates"));
+ g_variant_builder_add (adv_options_builder, "{sv}", "contains_pkgs",
+ g_variant_builder_end (pkgs_builder));
++ g_variant_builder_add (adv_options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+
+ adv_success = gs_dnf5_advisory_call_list_sync (advisory_proxy,
+ g_variant_builder_end (adv_options_builder),
@@ -3075,6 +3081,8 @@ index 000000000..a5c317bff
+ g_variant_new_int64 (timestamp));
+ g_variant_builder_add (options_builder, "{sv}", "package_attrs",
+ gs_dnf5_dup_package_attrs ());
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+
+ success = gs_dnf5_history_call_recent_changes_sync (history_proxy,
+ g_variant_builder_end (options_builder),
@@ -3119,6 +3127,8 @@ index 000000000..a5c317bff
+ g_variant_builder_end (attrs_builder));
+ g_variant_builder_add (options_builder, "{sv}", "enable_disable",
+ g_variant_new_string ("all"));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+
+ success = gs_dnf5_rpm_repo_call_list_sync (repo_proxy,
+ g_variant_builder_end (options_builder),
@@ -3154,6 +3164,8 @@ index 000000000..a5c317bff
+ g_variant_new_boolean (TRUE));
+ g_variant_builder_add (options_builder, "{sv}", "with_src",
+ g_variant_new_boolean (FALSE));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+ g_variant_builder_add (options_builder, "{sv}", "package_attrs",
+ gs_dnf5_dup_package_attrs ());
+ g_variant_builder_add (options_builder, "{sv}", "patterns",
@@ -3224,6 +3236,8 @@ index 000000000..a5c317bff
+ g_variant_new_boolean (FALSE));
+ g_variant_builder_add (options_builder, "{sv}", "with_src",
+ g_variant_new_boolean (FALSE));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+ g_variant_builder_add (options_builder, "{sv}", "package_attrs",
+ gs_dnf5_dup_package_attrs ());
+ g_variant_builder_add (options_builder, "{sv}", "patterns",
@@ -4611,6 +4625,8 @@ index 000000000..a5c317bff
+ options_builder = g_variant_builder_new (G_VARIANT_TYPE ("a{sv}"));
+ g_variant_builder_add (options_builder, "{sv}", "strict",
+ g_variant_new_boolean (FALSE));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean ((flags & GS_DNF5_TRANSACTION_FLAG_INTERACTIVE) != 0));
+
+ /* NULL-terminate the array, to be like strv */
+ g_ptr_array_add (packages, NULL);
@@ -5063,6 +5079,8 @@ index 000000000..a5c317bff
+ g_variant_new_boolean (FALSE));
+ g_variant_builder_add (options_builder, "{sv}", "with_src",
+ g_variant_new_boolean (FALSE));
++ g_variant_builder_add (options_builder, "{sv}", "interactive",
++ g_variant_new_boolean (interactive));
+ g_variant_builder_add (options_builder, "{sv}", "scope",
+ g_variant_new_string ("all"));
+
@@ -6018,15 +6036,17 @@ index 000000000..12ebe909f
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.Advisory.xml b/plugins/dnf5/org.rpm.dnf.v0.Advisory.xml
new file mode 100644
-index 000000000..6aecee9fa
+index 000000000..9317e84de
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.Advisory.xml
-@@ -0,0 +1,74 @@
+@@ -0,0 +1,78 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6071,21 +6091,23 @@ index 000000000..6aecee9fa
+
+ - "updates" - to return only advisories containing newer versions of installed packages for which an update is available
+ - names: list of strings
-+ Consider only advisories with one of given names.
++ Consider only advisories with one of the given advisory identifiers. Values must be exact advisory IDs (e.g., "FEDORA-2025-beb4c9a336" or "RHSA-2024:1234"). Globs/wildcards and package names are not accepted in this option.
+ - types: list of strings
+ Consider only advisories of given types. Possible types are "security", "bugfix", "enhancement", and "newpackage".
+ - contains_pkgs: list of strings
-+ Consider only advisories containing one of given packages.
++ Consider only advisories containing packages with names matching one of given glob patterns. Matching is performed against package base names (for example "kernel", "bash", "buildah"). NEVRA strings or name.arch forms are not supported.
+ - severities: list of strings
+ Consider only advisories of given severity. Possible values are "critical", "important", "moderate", "low", and "none".
+ - reference_bzs: list of strings
+ Consider only advisories referencing given Bugzilla ticket ID. Expected values are numeric IDs, e.g. 123456.
+ - reference_cves: list of strings
-+ Consider only advisoried referencing given CVE ID. Expected values are strings IDs in CVE format, e.g. CVE-2201-0123.
++ Consider only advisories referencing given CVE ID. Expected values are strings IDs in CVE format, e.g. CVE-2201-0123.
+ - with_bz: boolean, default False
+ Consider only advisories referencing a Bugzilla ticket.
+ - with_cve: boolean, default False
+ Consider only advisories referencing a CVE ticket.
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -6098,15 +6120,17 @@ index 000000000..6aecee9fa
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.Base.xml b/plugins/dnf5/org.rpm.dnf.v0.Base.xml
new file mode 100644
-index 000000000..e596e60b9
+index 000000000..33b22bc59
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.Base.xml
-@@ -0,0 +1,176 @@
+@@ -0,0 +1,198 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6275,20 +6299,42 @@ index 000000000..e596e60b9
+ <arg name="timestamp" type="x" />
+ </signal>
+
++ <!--
++ repo_key_imported:
++ @session_object_path: object path of the dnf5daemon session
++ @key_id: OpenPGP key id
++ @user_ids: User id
++ @key_fingerprint: Fingerprint of the OpenPGP key
++ @key_url: URL of the OpenPGP key
++ @timestamp: timestamp when the key was created
++
++ Informational signal emitted after a repository key was successfully imported.
++ -->
++ <signal name="repo_key_imported">
++ <arg name="session_object_path" type="o" />
++ <arg name="key_id" type="s" />
++ <arg name="user_ids" type="as" />
++ <arg name="key_fingerprint" type="s" />
++ <arg name="key_url" type="s" />
++ <arg name="timestamp" type="x" />
++ </signal>
++
+</interface>
+
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.Goal.xml b/plugins/dnf5/org.rpm.dnf.v0.Goal.xml
new file mode 100644
-index 000000000..097e9dc7e
+index 000000000..2f11703e8
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.Goal.xml
-@@ -0,0 +1,122 @@
+@@ -0,0 +1,126 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6322,6 +6368,8 @@ index 000000000..097e9dc7e
+ Following @options are supported:
+ - allow_erasing: boolean, default false
+ Whether removal of installed package is allowed to resolve the transaction.
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -6408,15 +6456,17 @@ index 000000000..097e9dc7e
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.History.xml b/plugins/dnf5/org.rpm.dnf.v0.History.xml
new file mode 100644
-index 000000000..5df5184b0
+index 000000000..667491127
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.History.xml
-@@ -0,0 +1,84 @@
+@@ -0,0 +1,134 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6444,8 +6494,11 @@ index 000000000..5df5184b0
+ @options: an array of key/value pairs
+ @changeset: a dictionary {"<type_of_change>":[<package>,<package>,...]}
+
-+ Get a list of packages that have been recently changed. The
-+ "type_of_change" key in the output dictionary can be one of the
++ Get a list of packages that have been recently changed. The result
++ represents the difference between the currently installed package set
++ and the set at a given point in time.
++
++ The "type_of_change" key in the output dictionary can be one of the
+ following: "installed", "removed", "upgraded", or "downgraded". The
+ packages in the output are represented as dictionaries containing the
+ requested set of attributes for the changed packages.
@@ -6453,8 +6506,9 @@ index 000000000..5df5184b0
+ For installed, upgraded, and downgraded packages, the currently
+ installed version is returned.
+
-+ For upgraded and downgraded packages, the "original_evr" attribute
-+ is also included, containing the package EVR before the change.
++ For upgraded and downgraded packages, the "original_evr" and
++ "original_arch" attributes are also included, containing the
++ package EVR and architecture before the change.
+
+ If requested, upgraded packages may also include an "advisories" list
+ field, indicating the name of the updates that contain the upgraded
@@ -6465,6 +6519,10 @@ index 000000000..5df5184b0
+ For removed packages, only the name, arch, and evr of the removed
+ version are provided.
+
++ All packages in the output include a "transaction_time" attribute
++ (uint64, unix timestamp) indicating when the transaction that caused
++ the change was completed.
++
+ Following options and filters are supported:
+
+ - upgraded_packages: boolean, default "true"
@@ -6486,6 +6544,8 @@ index 000000000..5df5184b0
+ the Rpm interface.
+ - since: int64, unix timestamp
+ Get changes since a given point in time.
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -6493,20 +6553,60 @@ index 000000000..5df5184b0
+ <arg name="options" type="a{sv}" direction="in" />
+ <arg name="changeset" type="a{saa{sv}}" direction="out" />
+ </method>
++
++ <!--
++ list:
++ @options: an array of key/value pairs
++ @transactions: array of transactions with their packages
++
++ Get a list of transactions from the history database. Each transaction
++ includes metadata and categorized package changes.
++
++ The packages in each category are represented as dictionaries containing
++ the requested set of attributes. For upgraded and downgraded packages,
++ an "original_evr" attribute is included with the original package EVR.
++
++ Following options are supported:
++
++ - limit: int64
++ Maximum number of transactions to return.
++ - since: int64, unix timestamp
++ Only return transactions completed after this time.
++ - reverse: boolean, default "false"
++ If true, return oldest transactions first. Default is newest first.
++ - contains_pkgs: list of strings
++ Filter to transactions containing packages with these names.
++ - transaction_attrs: list of strings, default ["id", "start", "end", "user_id", "description", "status"]
++ List of transaction attributes to include. Supported: id, start, end,
++ user_id, description, status, releasever, comment.
++ - package_attrs: list of strings, default ["name", "arch", "evr"]
++ List of package attributes to include. Supported: name, epoch,
++ version, release, arch, evr, repo_id, action, reason.
++ - include_packages: boolean, default "true"
++ Whether to include package lists (installed, removed, upgraded, downgraded).
++
++ Unknown options are ignored.
++ -->
++ <method name="list">
++ <arg name="options" type="a{sv}" direction="in" />
++ <arg name="transactions" type="aa{sv}" direction="out" />
++ </method>
+</interface>
+
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.Offline.xml b/plugins/dnf5/org.rpm.dnf.v0.Offline.xml
new file mode 100644
-index 000000000..1df544f83
+index 000000000..bae598784
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.Offline.xml
-@@ -0,0 +1,175 @@
+@@ -0,0 +1,178 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6649,6 +6749,7 @@ index 000000000..1df544f83
+ <arg name="success" type="b" direction="out" />
+ <arg name="error_msg" type="s" direction="out" />
+ </method>
++
+ <!--
+ schedule_for_next_boot:
+ @options: an array of key/value pairs to modify the call behavior
@@ -6679,15 +6780,17 @@ index 000000000..1df544f83
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.SessionManager.xml b/plugins/dnf5/org.rpm.dnf.v0.SessionManager.xml
new file mode 100644
-index 000000000..a0facd692
+index 000000000..8a3158a93
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.SessionManager.xml
-@@ -0,0 +1,69 @@
+@@ -0,0 +1,71 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6754,15 +6857,17 @@ index 000000000..a0facd692
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.comps.Group.xml b/plugins/dnf5/org.rpm.dnf.v0.comps.Group.xml
new file mode 100644
-index 000000000..b12e0ac6d
+index 000000000..9d13226ff
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.comps.Group.xml
-@@ -0,0 +1,61 @@
+@@ -0,0 +1,67 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6808,6 +6913,10 @@ index 000000000..b12e0ac6d
+ any group matching to any of patterns is returned
+ - contains_pkgs: list of strings
+ include only groups containing given packages
++ - lang: string (default current locale)
++ language code for translated_name and translated_description attributes
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -6821,15 +6930,17 @@ index 000000000..b12e0ac6d
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.rpm.Repo.xml b/plugins/dnf5/org.rpm.dnf.v0.rpm.Repo.xml
new file mode 100644
-index 000000000..50b2ba3bf
+index 000000000..17ada7623
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.rpm.Repo.xml
-@@ -0,0 +1,147 @@
+@@ -0,0 +1,151 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -6867,6 +6978,8 @@ index 000000000..50b2ba3bf
+ list of repository attributes that are returned
+ - enable_disable: string (default "enabled")
+ When set to "enabled" or "disabled", only enabled / disabled repositories are listed. Any other value means all repositories are returned.
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -6974,15 +7087,17 @@ index 000000000..50b2ba3bf
+</node>
diff --git a/plugins/dnf5/org.rpm.dnf.v0.rpm.Rpm.xml b/plugins/dnf5/org.rpm.dnf.v0.rpm.Rpm.xml
new file mode 100644
-index 000000000..f24b14d39
+index 000000000..dfa2c6027
--- /dev/null
+++ b/plugins/dnf5/org.rpm.dnf.v0.rpm.Rpm.xml
-@@ -0,0 +1,470 @@
+@@ -0,0 +1,498 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
++Copyright Contributors to the DNF5 project.
+Copyright Contributors to the libdnf project.
++SPDX-License-Identifier: LGPL-2.1-or-later
+
+This file is part of libdnf: https://github.com/rpm-software-management/libdnf/
+
@@ -7020,7 +7135,7 @@ index 000000000..f24b14d39
+ Following options and filters are supported:
+
+ - package_attrs: list of strings
-+ list of package attributes that are returned. Supported attributes are name, epoch, version, release, arch, repo_id, from_repo_id, is_installed, install_size, download_size, buildtime, sourcerpm, summary, url, license, description, files, changelogs, provides, requires, requires_pre, conflicts, obsoletes, recommends, suggests, enhances, supplements, evr, nevra, full_nevra, reason, vendor, group.
++ list of package attributes that are returned. Supported attributes are name, epoch, version, release, arch, repo_id, from_repo_id, is_installed, install_size, download_size, buildtime, install_time, sourcerpm, summary, url, license, description, files, changelogs, provides, requires, requires_pre, conflicts, obsoletes, recommends, suggests, enhances, supplements, evr, nevra, full_nevra, reason, vendor, group.
+ - with_nevra: bool (default true)
+ match patterns against available packages NEVRAs
+ - with_provides: bool (default true)
@@ -7033,9 +7148,13 @@ index 000000000..f24b14d39
+ include source rpms into the results
+ - icase: bool (default true)
+ ignore case while matching patterns
++ - interactive: boolean, default false
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ - patterns: list of strings
+ any package matching to any of patterns is returned
++ Patterns that are URLs or local `.rpm` paths require authorization
++ before the daemon loads them.
+ - scope: string (default "all")
+ limit packages to one of "all", "installed", "available", "upgrades", "upgradable"
+ - arch: list of strings
@@ -7096,6 +7215,8 @@ index 000000000..f24b14d39
+ @options: an array of key/value pairs to modify install behavior
+
+ Mark packages specified by @pkg_specs for installation.
++ URL or local `.rpm` specifications require authorization before they
++ are queued.
+
+ Following @options are supported:
+
@@ -7105,6 +7226,8 @@ index 000000000..f24b14d39
+ Whether solver can skip packages with broken dependencies to resolve transaction
+ - skip_unavailable: boolean, default false
+ Whether nonexisting packages can be skipped.
++ - interactive: boolean, default true
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -7119,11 +7242,15 @@ index 000000000..f24b14d39
+ @options: an array of key/value pairs to modify upgrade behavior
+
+ Mark packages specified by @pkg_specs for upgrade.
++ URL or local `.rpm` specifications require authorization before they
++ are queued.
+
+ Following @options are supported:
+
+ - repo_ids: list of strings
+ Identifiers of the repos from which the packages could be upgraded.
++ - interactive: boolean, default true
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
+
+ Unknown options are ignored.
+ -->
@@ -7166,9 +7293,14 @@ index 000000000..f24b14d39
+ @options: an array of key/value pairs to modify downgrade behavior
+
+ Mark packages specified by @pkg_specs for downgrade.
++ URL or local `.rpm` specifications require authorization before they
++ are queued.
+
+ Following @options are supported:
+
++ - interactive: boolean, default true
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
++
+ Unknown options are ignored.
+ -->
+ <method name="downgrade">
@@ -7182,9 +7314,14 @@ index 000000000..f24b14d39
+ @options: an array of key/value pairs to modify reinstall behavior
+
+ Mark packages specified by @pkg_specs for reinstall.
++ URL or local `.rpm` specifications require authorization before they
++ are queued.
+
+ Following @options are supported:
+
++ - interactive: boolean, default true
++ Set to "true", when the operation is done by a user, thus user interaction like password prompts can be done.
++
+ Unknown options are ignored.
+ -->
+ <method name="reinstall">
@@ -7257,7 +7394,7 @@ index 000000000..f24b14d39
+ @session_object_path: object path of the dnf5daemon session
+ @nevra: full NEVRA of the package
+ @action: one of the dnfdaemon::RpmTransactionItem::Actions enum
-+ @total: total to process
++ @total: the disk space used/freed by the package after the action finishes
+
+ Processing (installation or removal) of the package has started.
+ -->
@@ -7272,10 +7409,14 @@ index 000000000..f24b14d39
+ transaction_action_progress:
+ @session_object_path: object path of the dnf5daemon session
+ @nevra: full NEVRA of the package
-+ @processed: amount already processed
-+ @total: total to process
++ @processed: the portion of the package already installed/removed
++ @total: the disk space used/freed by the package after the action finishes
+
+ Progress in processing of the package.
++ Note that there is a hardcoded limit that prevents sending more than one signal every
++ 400 milliseconds to avoid overwhelming the user or D-Bus with excessive signals.
++ For smaller packages there might be no progress signals or only the starting
++ progress signal with @processed equal to 0.
+ -->
+ <signal name="transaction_action_progress">
+ <arg name="session_object_path" type="o" />
@@ -7288,7 +7429,7 @@ index 000000000..f24b14d39
+ transaction_action_stop:
+ @session_object_path: object path of the dnf5daemon session
+ @nevra: full NEVRA of the package
-+ @total: total processed
++ @total: the disk space used/freed by the package after the action finishes
+
+ Processing of the package has finished.
+ -->
reply other threads:[~2026-11-23 12:02 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=179543536288.1.7924364778524651331.rpms-gnome-software-8a680c332bdd@fedoraproject.org \
--to=mcrha@redhat.com \
--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