Bug 1984403

Summary: Support RPM demodularization
Product: Red Hat Enterprise Linux 9 Reporter: Petr Pisar <ppisar>
Component: libmodulemdAssignee: Petr Pisar <ppisar>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Blazek <jblazek>
Severity: unspecified Docs Contact: Mariya Pershina <mpershin>
Priority: high    
Version: 9.0CC: jberan, mpershin, swm-qe
Target Milestone: betaKeywords: Rebase, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libmodulemd-2.13.0-2.el9 Doc Type: Enhancement
Doc Text:
.RHEL 9 provides `libmodulemd 2.13.0` RHEL 9 is distributed with the `libmodulemd` package version 2.13.0. Notable bug fixes and enhancements over version 2.9.4 include: * Added support for delisting demodularized packages from a module. * Added support for validating `modulemd-packager-v3` documents with a new `--type` option of the `modulemd-validator` tool. * Fortified parsing integers. * Fixed various `modulemd-validator` issues.
Story Points: ---
Clone Of: 1984402 Environment:
Last Closed: 2021-12-07 21:24:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1984402    
Deadline: 2021-08-23   

Description Petr Pisar 2021-07-21 11:30:43 UTC
There is a request (bug #1805260) to support hiding old modular packages which where removed from recent module versions.

DNF team proposed adding /data/demodularized/rpms section to modulemd-v2
modular metadata to enable packagers to delist the removed packages.

This feature was implemented in libmodulemd-2.13.0.

I proposed rebasing libmodulemd to 2.13.0. It is fully compatible to 2.12.1
version found in the current RHEL.

Comment 1 Petr Pisar 2021-07-21 13:24:55 UTC
A merge request with 2.13.0 <https://gitlab.com/redhat/centos-stream/rpms/libmodulemd/-/merge_requests/11>.

Comment 2 Petr Pisar 2021-08-10 12:13:49 UTC
Fixed with:

commit 88df8a364495962bbb719976cf39d867b925ab9c (HEAD -> rhel-9.0.0-beta, origin/rhel-9.0.0-beta, centos/c9s, centos-ppisar/c9s-bug1984403, c9s)
Author: Petr Písař <ppisar>
Date:   Thu May 6 13:27:49 2021 +0200

    Resolves: #1984403 - 2.13.0 bump

Comment 6 Petr Pisar 2021-08-12 10:07:56 UTC
tier0 tests adapted in:

commit d48969327abbcbfad2ab893639cfb7d22362223d (HEAD -> c9s, origin/rhel-9.0.0-beta, centos/c9s, centos-ppisar/c9s-bug1984403)
Author: Petr Písař <ppisar>
Date:   Thu Aug 12 09:34:32 2021 +0200

    Resolves: #1984403 - Enable accept_overflowed_buildorder in tier0 tests
    
    The configuration has to match how the library was built.

Comment 8 Petr Pisar 2021-08-12 13:39:00 UTC
Gating passed (sans DNF test bug #1993143). QE, please perform preverification.