Bug 20131 - Migrate package installation engine to DNF
Summary: Migrate package installation engine to DNF
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 7
Assignee: Angelo Naselli
QA Contact:
Depends on:
Blocks: 16002
  Show dependency treegraph
Reported: 2017-01-16 12:03 CET by Neal Gompa
Modified: 2018-04-22 20:33 CEST (History)
2 users (show)

See Also:
Source RPM:
Status comment:


Description Neal Gompa 2017-01-16 12:03:13 CET
Description of problem:

In order to complete our migration from urpmi to DNF, the installer needs to be converted to use DNF. The most obvious way to pull this off would be to move to using libdnf (the core library for DNF, and the library used by PackageKit-Dnf backend).

This will also solve a number of problems related to sanely managing local and online repository configuration for classic installs, as well as giving us a must faster installation process for network installs, among other things.
Neal Gompa 2017-01-16 12:03:41 CET

Priority: Normal => release_blocker
Assignee: bugsquad => thierry.vignaud
Target Milestone: --- => Mageia 7

Neal Gompa 2017-01-16 12:04:05 CET

Blocks: (none) => 16002

Comment 1 Neal Gompa 2017-01-16 12:11:31 CET
Since libdnf is a glib2 backed library, it supports GObject Introspection as an bindings engine, so in addition to the hand-crafted Hawkey Python binding, there are automatically generated Python and Perl bindings through G-I. For using libdnf in the installer, Perl through G-I is one way to go.

The other way would be to either use python-hawkey or the higher level DNF API through PyPerl or Inline::Python from Perl. This is also useful if the goal is to gradually transition the installer from Perl to Python.
Samuel Verschelde 2017-01-16 14:32:41 CET

Priority: release_blocker => High

Dave Hodgins 2017-07-06 23:01:04 CEST

CC: (none) => davidwhodgins

Ulrich Beckmann 2017-10-31 12:14:20 CET

CC: (none) => bequimao.de

Comment 2 Neal Gompa 2018-04-22 20:33:32 CEST
This is currently in progress. Angelo Naselli has started working on this[1][2].

[1]: https://gitlab.com/mdklinux/Mageia/drakx/tree/topic/switching_to_dnf
[2]: https://github.com/manatools/python-manatools-pkgs

Assignee: thierry.vignaud => anaselli
Summary: Migrate package installation engine to libdnf => Migrate package installation engine to DNF

Note You need to log in before you can comment on or make changes to this bug.