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 44 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
e12e248
Use the DNF5 API
poncovka Jan 20, 2023
3639620
Use repo.get()
poncovka Feb 15, 2023
5df8ec7
Remove the DNFConfigWrapper and access the configuration options dire…
pkratoch Apr 15, 2024
b2637cf
Call get_download_size instead of get_package_size because of rename
pkratoch Apr 15, 2024
4aadfad
Fix setting releasever in dnf5 base
pkratoch Apr 15, 2024
18d4667
Call dnf5 base setup at a proper place
pkratoch Apr 24, 2024
46a04dc
Load all repositories at once
pkratoch Apr 15, 2024
e3afa98
Adapt test_dnf_initialization.py tests for dnf5
pkratoch May 7, 2024
67023e8
Adapt test_module_payload_dnf_manager download tests for dnf5
pkratoch May 7, 2024
a775de7
Remove test for reset_substitution method
pkratoch May 9, 2024
f58dfe6
Remove variable loading, since it's done in base.setup()
pkratoch May 9, 2024
5ff5f01
Replace `base.load_config_from_file` with `base.load_config` method
pkratoch May 14, 2024
a258c12
Fix use of group and environment iterators
pkratoch May 23, 2024
ee23625
TEMPORARY: Disable testing messages from resolving package selections
pkratoch May 23, 2024
7a10bfb
Update TransactionItemState_ERROR import to libdnf5
pkratoch Jun 12, 2024
248bf9e
Remove unused _create_group method from DNFRequirementsTestCase
pkratoch Jun 12, 2024
fab3225
TEMPORARY: Store comps queries
pkratoch Jun 19, 2024
2e3d816
Fix setting of libdnf5.repo.PackageDownloader
pkratoch Jun 19, 2024
e3e0ae2
Enable comps tests
pkratoch Jun 19, 2024
506b936
Adapt checking transaction errors to DNF5
pkratoch Jun 21, 2024
2754632
Adapt test_module_payload_dnf_installation for dnf5
pkratoch Jun 24, 2024
6f3873e
Fix setting up and running transaction
pkratoch Jul 4, 2024
b39b65c
Adapt tests of DNFManager.install_packages for dnf5
pkratoch Jul 4, 2024
761a114
Fix transaction callbacks
pkratoch Jul 4, 2024
a203bcb
Report warnings in DNFManager.resolve_selection
pkratoch Jul 8, 2024
ed21036
Remove the test_dnf_tear_down
pkratoch Jul 10, 2024
9746c19
Enable some tests in test_module_payload_dnf5_manager
pkratoch Jul 10, 2024
54ed720
Log also the message of the dnf transaction result
pkratoch Jul 16, 2024
da25984
Report error when the dnf transaction fails
pkratoch Jul 16, 2024
cf7c429
Log messages from dnf into /tmp/dnf.log
pkratoch Jul 16, 2024
3abc8fd
Don't close the multiprocessing queue too soon
pkratoch Aug 28, 2024
abf3fba
Always call progress.quit in mocked installing packages in tests
pkratoch Sep 19, 2024
b76d831
Set the destdir option
pkratoch Sep 23, 2024
387340b
Remember if repositories were loaded
pkratoch Sep 26, 2024
1e34461
Reset the dnf base when clearing cache
pkratoch Nov 6, 2024
375ee58
Implement replacing repositories
pkratoch Nov 22, 2024
7843177
Respect the missing_ignored and broken_ignored configuration
pkratoch Nov 27, 2024
2aed287
Report downloading progress
pkratoch Dec 9, 2024
e5fedd5
Remove unused imports
pkratoch Jan 6, 2025
7b3fed8
Remove the dnf_manager exceptions related to selection resolving
pkratoch Jan 6, 2025
0d7ae6e
Set package excludes
pkratoch Jan 14, 2025
123c263
Print number of packages when reporting installation progress
pkratoch Jan 16, 2025
584a2b3
Add a second goal for second resolving in case of unavailable packages
pkratoch Jan 17, 2025
5f0aa19
Reduce installation progress log verbosity
pkratoch Jan 27, 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
Prev Previous commit
Reduce installation progress log verbosity
  • Loading branch information
pkratoch committed Jan 27, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5f0aa196c8978a392a39a86c54bba91cf86cfdc4
Original file line number Diff line number Diff line change
@@ -87,9 +87,6 @@ def install_start(self, item, total):
)
))

def install_progress(self, item, amount, total):
log.debug("Installing - %s (%s/%s)", item.get_package().to_string(), amount, total)

def verify_progress(self, amount, total):
log.debug("Verify %s/%s", amount, total)
self._queue.put(('verify', 'packages'))