Task #4873
closedStory #4908: [Epic] As a user, I can manage modular content
Add models for future use with modularity
100%
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
Updated by ttereshc over 5 years ago
- Project changed from Pulp to RPM Support
- Groomed changed from No to Yes
- Sprint set to Sprint 53
Updated by amacdona@redhat.com over 5 years ago
- Sprint changed from Sprint 53 to Sprint 54
Updated by ttereshc over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ppicka
Updated by ttereshc over 5 years ago
- Sprint changed from Sprint 54 to Sprint 55
Updated by ppicka over 5 years ago
For modulemd : https://github.com/pulp/pulp_rpm/pull/1384
To test you can use viewset and methods from my branch https://github.com/pulp/pulp_rpm/compare/master...pavelpicka:4873-modularity-models
In the branch there is not change 'packages' to '_packages' so be aware of this chnage.
Updated by dkliban@redhat.com over 5 years ago
- Sprint changed from Sprint 55 to Sprint 56
Added by ppicka over 5 years ago
Updated by ppicka over 5 years ago
Modulemd-defaults PR : https://github.com/pulp/pulp_rpm/pull/1409
Added by ppicka over 5 years ago
Revision ace1bb5b | View on GitHub
Modulemd Defaults models
models for modulemd-deafults as prerequisity for modulemd support.
closes: #4873 https://pulp.plan.io/issues/4873
Signed-off-by: Pavel Picka ppicka@redhat.com
Updated by ppicka over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset ace1bb5ba7f782d01a1ad9b24a30ef3ab10fb9b3.
Added by ppicka over 5 years ago
Revision 946c36c3 | View on GitHub
Modulemd models uniqness
uniqness field for modulemd models
closes #4873 https://pulp.plan.io/issues/4873
Signed-off-by: Pavel Picka ppicka@redhat.com
Updated by ppicka over 5 years ago
- Status changed from MODIFIED to POST
Updated by ppicka over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset 946c36c38b01f4716dee160042a731c9fda86947.
Updated by ttereshc almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ttereshc almost 5 years ago
- Sprint/Milestone set to Pulp 3.x RPM (Katello 3.16)
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