Bug 16480

Summary: Request DNF+plugins
Product: Mageia Reporter: Neal Gompa <ngompa13>
Component: New RPM package requestAssignee: Neal Gompa <ngompa13>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: bruno, eatdirt, thierry.vignaud
Version: Cauldron   
Target Milestone: Mageia 6   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: dnf CVE:
Status comment:

Description Neal Gompa 2015-07-27 01:33:38 CEST
I would like to request that DNF[0] and its associated plugins be packaged in Mageia. DNF replaces Yum as of Fedora 22[1] and uses libsolv through hawkey to do better dependency resolution. DNF has a well-defined API that can be used to control DNF as well as extend its functionality. For example, one of the plugins available for DNF integrates with snapper[2] to provide automatic snapshotting on btrfs on system updates so that you have rollback capabilities.

Fedora's package sources for DNF and its plugins[3] could be used as a reference/base for Mageia packages.

[0]: http://dnf.baseurl.org
[1]: http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
[2]: http://snapper.io/
[3]: http://pkgs.fedoraproject.org/cgit/?q=dnf

Reproducible: 

Steps to Reproduce:
Neal Gompa 2015-07-27 01:35:35 CEST

CC: (none) => bruno

Thierry Vignaud 2015-07-31 09:32:07 CEST

CC: (none) => thierry.vignaud
Source RPM: (none) => dnf

Comment 1 Samuel Verschelde 2016-10-11 20:55:30 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Comment 2 Neal Gompa 2016-11-17 14:24:06 CET
I'd completely forgotten about this, but since I'm technically doing this for Mageia 6, well, it's in progress...

See: https://wiki.mageia.org/en/Feature:Add_DNF_as_Alternate_Repository_Manager

Status: NEW => ASSIGNED
Version: 5 => Cauldron
Assignee: pkg-bugs => ngompa13
Target Milestone: --- => Mageia 6

Neal Gompa 2016-11-17 14:24:19 CET

Summary: Request DNF+plugins to replace yum => Request DNF+plugins

Comment 3 Chris Denice 2016-11-18 16:24:02 CET
Hi Neal,
I am posting it here, but I think there is too much deps in mageia-repos. After trying dnf for a while, I wanted to remove it and its dependency, but apparently I can not.

urpme mageia-repos
Removing the following package will break your system:
  basesystem-minimal-6-0.4.mga6.x86_64


If urpmi and the rpm database are installed, I don't think these packages are Require.

rpm -ql mageia-repos
/etc/yum.repos.d
/etc/yum.repos.d/mageia-i586.repo
/etc/yum.repos.d/mageia-nonfree-i586.repo
/etc/yum.repos.d/mageia-nonfree-x86_64-source.repo
/etc/yum.repos.d/mageia-nonfree-x86_64.repo
/etc/yum.repos.d/mageia-tainted-i586.repo
/etc/yum.repos.d/mageia-tainted-x86_64-source.repo
/etc/yum.repos.d/mageia-tainted-x86_64.repo
/etc/yum.repos.d/mageia-x86_64-source.repo
/etc/yum.repos.d/mageia-x86_64.repo

CC: (none) => eatdirt

Comment 4 Neal Gompa 2016-11-18 16:29:07 CET
mageia-repos has no dependencies in itself, but is explicitly tied to the release of the distribution. It is required for PackageKit, DNF, Yum, or any other package manager that uses Mageia's rpm-md repodata. It also provides the local copy of Mageia's GPG key, used for verification of packages.

The only thing that explicitly requires mageia-repos is mageia-release.

This particular setup mimics the strategy done by Fedora and is simple to maintain. It also solves a lot of problems related to making sure there's a way to verify before downloading software by preloading the information in the installation image.
Comment 5 Neal Gompa 2016-12-15 00:32:51 CET
This is in Cauldron now, and will be part of Mageia 6.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED