Project

Profile

Help

Task #4873

Story #4908: [Epic] As a user, I can manage modular content

Add models for future use with modularity

Added by ppicka about 1 year ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56

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


Checklist

Associated revisions

Revision aba082be View on GitHub
Added by ppicka about 1 year ago

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

Revision ace1bb5b View on GitHub
Added by ppicka about 1 year ago

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

Revision 946c36c3 View on GitHub
Added by ppicka 12 months ago

Modulemd models uniqness

uniqness field for modulemd models

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

Signed-off-by: Pavel Picka

History

#1 Updated by ppicka about 1 year ago

  • Description updated (diff)

#2 Updated by ppicka about 1 year ago

  • Description updated (diff)

#3 Updated by ppicka about 1 year ago

  • Description updated (diff)

#4 Updated by ppicka about 1 year ago

  • Description updated (diff)

#5 Updated by ppicka about 1 year ago

  • Description updated (diff)

#6 Updated by ppicka about 1 year ago

  • Description updated (diff)

#7 Updated by ppicka about 1 year ago

  • Description updated (diff)

#8 Updated by ppicka about 1 year ago

  • Description updated (diff)

#9 Updated by ppicka about 1 year ago

  • Description updated (diff)

#10 Updated by ttereshc about 1 year ago

  • Description updated (diff)

#11 Updated by ppicka about 1 year ago

  • Description updated (diff)

#12 Updated by ppicka about 1 year ago

  • Description updated (diff)

#13 Updated by ttereshc about 1 year ago

  • Checklist item Add Modulemd Model added
  • Checklist item Add ModulemdDefaults Model added
  • Checklist item Extend Package Model added
  • Checklist item Verify that new models are successfully instantiated with data processed with libmodulemd added

#14 Updated by ttereshc about 1 year ago

  • Project changed from Pulp to RPM Support
  • Groomed changed from No to Yes
  • Sprint set to Sprint 53

#15 Updated by ppicka about 1 year ago

  • Parent task set to #4908

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

  • Sprint changed from Sprint 53 to Sprint 54

#17 Updated by ttereshc about 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#18 Updated by ttereshc about 1 year ago

  • Sprint changed from Sprint 54 to Sprint 55

#19 Updated by ppicka about 1 year 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.

#20 Updated by ppicka about 1 year ago

  • Checklist item Add Modulemd Model set to Done
  • Checklist item Extend Package Model set to Done

#21 Updated by dkliban@redhat.com about 1 year ago

  • Sprint changed from Sprint 55 to Sprint 56

#22 Updated by ppicka about 1 year ago

  • Checklist item Add ModulemdDefaults Model set to Done

#23 Updated by ppicka about 1 year ago

  • Status changed from ASSIGNED to POST

#24 Updated by ppicka about 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#25 Updated by ppicka 12 months ago

  • Checklist item Verify that new models are successfully instantiated with data processed with libmodulemd set to Done
  • Status changed from MODIFIED to POST

#26 Updated by ppicka 12 months ago

  • Status changed from POST to MODIFIED

#27 Updated by ttereshc 8 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#28 Updated by ttereshc 6 months ago

  • Sprint/Milestone set to Pulp 3.x RPM (Katello 3.16)

Please register to edit this issue

Also available in: Atom PDF