Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNF5 prototype #5857

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
97a2759
Use the DNF5 API
poncovka Jan 20, 2023
c0292fb
Use repo.get()
poncovka Feb 15, 2023
3655f61
Remove the DNFConfigWrapper and access the configuration options dire…
pkratoch Apr 15, 2024
9c622f4
Call get_download_size instead of get_package_size because of rename
pkratoch Apr 15, 2024
ab3d381
Fix setting releasever in dnf5 base
pkratoch Apr 15, 2024
516dc18
Call dnf5 base setup at a proper place
pkratoch Apr 24, 2024
587798e
Load all repositories at once
pkratoch Apr 15, 2024
0548888
Adapt test_dnf_initialization.py tests for dnf5
pkratoch May 7, 2024
74d4788
Adapt test_module_payload_dnf_manager download tests for dnf5
pkratoch May 7, 2024
c8a75fe
Remove test for reset_substitution method
pkratoch May 9, 2024
f00139a
Remove variable loading, since it's done in base.setup()
pkratoch May 9, 2024
3d8fa9e
Replace `base.load_config_from_file` with `base.load_config` method
pkratoch May 14, 2024
32c0e93
Fix use of group and environment iterators
pkratoch May 23, 2024
338615c
TEMPORARY: Disable testing messages from resolving package selections
pkratoch May 23, 2024
2de138a
Update TransactionItemState_ERROR import to libdnf5
pkratoch Jun 12, 2024
e7e7734
Remove unused _create_group method from DNFRequirementsTestCase
pkratoch Jun 12, 2024
a007943
TEMPORARY: Store comps queries
pkratoch Jun 19, 2024
44e5a8a
Fix setting of libdnf5.repo.PackageDownloader
pkratoch Jun 19, 2024
863606b
Enable comps tests
pkratoch Jun 19, 2024
ca9e024
Adapt checking transaction errors to DNF5
pkratoch Jun 21, 2024
5ef5c83
Adapt test_module_payload_dnf_installation for dnf5
pkratoch Jun 24, 2024
7604541
Fix setting up and running transaction
pkratoch Jul 4, 2024
e984502
Adapt tests of DNFManager.install_packages for dnf5
pkratoch Jul 4, 2024
b282fcc
Fix transaction callbacks
pkratoch Jul 4, 2024
0c6e2d0
Report warnings in DNFManager.resolve_selection
pkratoch Jul 8, 2024
0ed56aa
Remove the test_dnf_tear_down
pkratoch Jul 10, 2024
7589a94
Enable some tests in test_module_payload_dnf5_manager
pkratoch Jul 10, 2024
7850e8e
Log also the message of the dnf transaction result
pkratoch Jul 16, 2024
56104b5
Report error when the dnf transaction fails
pkratoch Jul 16, 2024
c4e24e3
Log messages from dnf into /tmp/dnf.log
pkratoch Jul 16, 2024
cdbbca8
Don't close the multiprocessing queue too soon
pkratoch Aug 28, 2024
fd6dba1
Always call progress.quit in mocked installing packages in tests
pkratoch Sep 19, 2024
67a9850
Set the destdir option
pkratoch Sep 23, 2024
c0c7410
Remember if repositories were loaded
pkratoch Sep 26, 2024
6da04d5
Reset the dnf base when clearing cache
pkratoch Nov 6, 2024
f89d9b8
Implement replacing repositories
pkratoch Nov 22, 2024
7b847a8
Respect the missing_ignored and broken_ignored configuration
pkratoch Nov 27, 2024
7c9d59d
Report downloading progress
pkratoch Dec 9, 2024
320ccfc
Remove unused imports
pkratoch Jan 6, 2025
48132b1
Remove the dnf_manager exceptions related to selection resolving
pkratoch Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions anaconda.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{vers
%endif
%define dasbusver 1.3
%define dbusver 1.2.3
%define dnfver 3.6.0
%define dnfver 5.0.5-1
%define dracutver 102-3
%define fcoeutilsver 1.0.12-3.20100323git
%define gettextver 0.19.8
Expand Down Expand Up @@ -90,7 +90,7 @@ Requires: python3-libs
%if 0%{?rhel} > 10 || 0%{?fedora} > 40
Requires: python3-crypt-r
%endif
Requires: python3-dnf >= %{dnfver}
Requires: python3-libdnf5 >= %{dnfver}
Requires: python3-blivet >= %{pythonblivetver}
Requires: python3-blockdev >= %{libblockdevver}
Requires: python3-meh >= %{mehver}
Expand Down
4 changes: 0 additions & 4 deletions pyanaconda/modules/payloads/payload/dnf/dnf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
SetUpDNFSourcesResult,
SetUpDNFSourcesTask,
TearDownDNFSourcesTask,
configure_dnf_logging,
)
from pyanaconda.modules.payloads.payload.dnf.installation import (
CleanUpDownloadLocationTask,
Expand Down Expand Up @@ -69,9 +68,6 @@
# Set up the modules logger.
log = get_module_logger(__name__)

# Configure the DNF logging.
configure_dnf_logging()

__all__ = ["DNFModule"]


Expand Down
Loading
Loading