Project

Profile

Help

Issue #4869

Use RPMTAG_MODULARITYLABEL to determine modular RPM

Added by ttereshc about 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.20.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 54

Description

According to information from modularity folks RPMTAG_DISTTAG is no longer in use for modularity purposes.
RPMTAG_MODULARITYLABEL should be used instead.

This affects applicability calculations which rely on the correct identification of modular RPMs.
The problem should not be huge or broad, most modular RPMs are identified as such at sync time using metadata.

This tag is supported in old versions of rpm, just the name is not exposed and numeric key should be used:
The constant rpm. RPMTAG_MODULARITYLABEL is not available on Centos7 and < F30, instead the id if the header 5096 can be used directly: headers[5096].


Related issues

Copied to RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMCLOSED - COMPLETE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision fe410aea View on GitHub
Added by ttereshc about 1 year ago

Use new RPMTAG_MODULARITYLABEL to identify modular RPMs

Old RPMTAG_DISTTAG is still in the code for the old content that might be still around.

closes #4869 https://pulp.plan.io/issues/4869

History

#1 Updated by ttereshc about 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 53

#2 Updated by amacdona@redhat.com about 1 year ago

  • Sprint changed from Sprint 53 to Sprint 54

#3 Updated by ttereshc about 1 year ago

  • Platform Release set to 2.20.0

#4 Updated by ttereshc about 1 year ago

  • Assignee set to ttereshc

#5 Updated by ttereshc about 1 year ago

  • Description updated (diff)

#6 Updated by ttereshc about 1 year ago

  • Status changed from NEW to POST

#7 Updated by ttereshc about 1 year ago

  • Description updated (diff)

#9 Updated by bherring about 1 year ago

  • Copied to Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPM added

#10 Updated by ttereshc about 1 year ago

  • Status changed from POST to MODIFIED

#11 Updated by ttereshc about 1 year ago

  • Sprint/Milestone set to 2.20.0

#12 Updated by ttereshc about 1 year ago

  • Status changed from MODIFIED to 5

#13 Updated by ttereshc about 1 year ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF