-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group transactions: optionally report missing group packages
This modifies `base.resolve()` so a caller may pass in a dict. If so, the dict will be populated with information on any 'missing' group packages: that is, cases where a group that was included in the transaction specifies a package name, but no package by that name could be found in the repositories. The dict has four keys matching the four libcomps package 'types', and the value for each key is a list of the missing package names of that type (if any). The intent of this change is to enable callers to treat missing group packages as a fatal error (or do anything else they like with the information), without changing default behaviour, API, or the behaviour of the dnf CLI. Links to some of the the history behind this change: https://bugzilla.redhat.com/show_bug.cgi?id=1292892 https://bugzilla.redhat.com/show_bug.cgi?id=1427365 https://bugzilla.redhat.com/show_bug.cgi?id=1461539 #1038 Signed-off-by: Adam Williamson <[email protected]>
- Loading branch information
Showing
3 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters