Actions
Task #4873
closedStory #4908: [Epic] As a user, I can manage modular content
Add models for future use with modularity
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:
Description
Add modulemd and modulemd-defaults and through table for keeping track of modulemd - rpm relations (which rpms beling to which modulemd)
Modulemd¶
TYPE = modulemd
- NSVCA to identify
name = StringField
stream = StringField
version = IntField
context = StringField
arch = StringField
dependencies = DictField
- dict because can have different deps on different systems [f30/rhel8]
artifacts = ListField
packages = ManyToManyField(Package)
ModulemdDefaults¶
TYPE = modulemd_defaults
module = StringField
stream = StringField
profiles = DictField
Extends Package Model¶
modular = BoolField
Actions
Modulemd model and serializer
Add pre-requisities for modularity support. Modulemd model, modulemd serializer. Add boolean field to Package model if rpm is modular and its serializer.
re: #4873 https://pulp.plan.io/issues/4873
Signed-off-by: Pavel Picka ppicka@redhat.com