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 42 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
83e71ca
Use the DNF5 API
poncovka Jan 20, 2023
3fd5408
Use repo.get()
poncovka Feb 15, 2023
56be607
Remove the DNFConfigWrapper and access the configuration options dire…
pkratoch Apr 15, 2024
1c41fc6
Call get_download_size instead of get_package_size because of rename
pkratoch Apr 15, 2024
ed77c51
Fix setting releasever in dnf5 base
pkratoch Apr 15, 2024
5cd01b0
Call dnf5 base setup at a proper place
pkratoch Apr 24, 2024
10e9400
Load all repositories at once
pkratoch Apr 15, 2024
f1bc308
Adapt test_dnf_initialization.py tests for dnf5
pkratoch May 7, 2024
147e104
Adapt test_module_payload_dnf_manager download tests for dnf5
pkratoch May 7, 2024
961aa15
Remove test for reset_substitution method
pkratoch May 9, 2024
d2fd112
Remove variable loading, since it's done in base.setup()
pkratoch May 9, 2024
5822e21
Replace `base.load_config_from_file` with `base.load_config` method
pkratoch May 14, 2024
edcba3c
Fix use of group and environment iterators
pkratoch May 23, 2024
8b8b848
TEMPORARY: Disable testing messages from resolving package selections
pkratoch May 23, 2024
670b155
Update TransactionItemState_ERROR import to libdnf5
pkratoch Jun 12, 2024
f303ec0
Remove unused _create_group method from DNFRequirementsTestCase
pkratoch Jun 12, 2024
a970908
TEMPORARY: Store comps queries
pkratoch Jun 19, 2024
e0ea48b
Fix setting of libdnf5.repo.PackageDownloader
pkratoch Jun 19, 2024
a56de1f
Enable comps tests
pkratoch Jun 19, 2024
4cb7103
Adapt checking transaction errors to DNF5
pkratoch Jun 21, 2024
304f1dc
Adapt test_module_payload_dnf_installation for dnf5
pkratoch Jun 24, 2024
84eb42b
Fix setting up and running transaction
pkratoch Jul 4, 2024
9773787
Adapt tests of DNFManager.install_packages for dnf5
pkratoch Jul 4, 2024
d4552a3
Fix transaction callbacks
pkratoch Jul 4, 2024
f0daa6b
Report warnings in DNFManager.resolve_selection
pkratoch Jul 8, 2024
85bc5d0
Remove the test_dnf_tear_down
pkratoch Jul 10, 2024
a7d1109
Enable some tests in test_module_payload_dnf5_manager
pkratoch Jul 10, 2024
ecf9ddf
Log also the message of the dnf transaction result
pkratoch Jul 16, 2024
7b5c070
Report error when the dnf transaction fails
pkratoch Jul 16, 2024
4eb9e15
Log messages from dnf into /tmp/dnf.log
pkratoch Jul 16, 2024
0dbd5fa
Don't close the multiprocessing queue too soon
pkratoch Aug 28, 2024
9136f90
Always call progress.quit in mocked installing packages in tests
pkratoch Sep 19, 2024
f2805bc
Set the destdir option
pkratoch Sep 23, 2024
6f8f105
Remember if repositories were loaded
pkratoch Sep 26, 2024
5d905ef
Reset the dnf base when clearing cache
pkratoch Nov 6, 2024
1885c50
Implement replacing repositories
pkratoch Nov 22, 2024
4d92503
Respect the missing_ignored and broken_ignored configuration
pkratoch Nov 27, 2024
ddc8bb9
Report downloading progress
pkratoch Dec 9, 2024
70122ea
Remove unused imports
pkratoch Jan 6, 2025
b28181a
Remove the dnf_manager exceptions related to selection resolving
pkratoch Jan 6, 2025
66d3152
Set package excludes
pkratoch Jan 14, 2025
b51dc1a
Print number of packages when reporting installation progress
pkratoch Jan 16, 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