Project

Profile

Help

Story #4051

As a user, I can get module(s) info by specifying a modular RPM

Added by ttereshc about 3 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Motivation

  • No easy way to search/check if module belongs to a specific module or to any module at all => that would help tooling for identifying modular RPMs without a module
  • No easy way to get list of RPMs which belong to a specific module
  • No lookup of a module by RPM, no way to prevent user from deleting modular RPM and break a module.
  • Katello asks for API which returns references module -> rpms [#3982]

Suggested solution

Create a separate collection which maps a module to an RPM.
Records can be created/removed in the post-save/delete hooks.

Sync: create/update mapping during sync
Upload: check if an RPM is modular and if it is, require to provide module NSCVA
Copy: no changes
Publish: no changes
Removal of a modulemd content unit from Pulp: remove mapping
Unassociation of RPM: if RPM is modular and module is still in a repo => reject/complain
API for Katello: up for discussion, but it's easier to provide it when we have that mapping
Migration: process existing modules and rpms and create the mapping collection

History

#1 Updated by ipanova@redhat.com about 3 years ago

  • Description updated (diff)

#2 Updated by ttereshc about 3 years ago

  • Description updated (diff)

#3 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#4 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF