Project

Profile

Help

Task #4873

closed

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

Add models for future use with modularity

Added by ppicka over 3 years ago. Updated almost 3 years 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
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 #1

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #2

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #3

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #4

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #5

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #6

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #7

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #8

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #9

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #10

Updated by ttereshc over 3 years ago

  • Description updated (diff)
Actions #11

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #12

Updated by ppicka over 3 years ago

  • Description updated (diff)
Actions #13

Updated by ttereshc over 3 years ago

Actions #14

Updated by ttereshc over 3 years ago

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

Updated by ppicka over 3 years ago

  • Parent task set to #4908
Actions #16

Updated by amacdona@redhat.com over 3 years ago

  • Sprint changed from Sprint 53 to Sprint 54
Actions #17

Updated by ttereshc over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka
Actions #18

Updated by ttereshc over 3 years ago

  • Sprint changed from Sprint 54 to Sprint 55
Actions #19

Updated by ppicka over 3 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.

Actions #20

Updated by ppicka over 3 years ago

Actions #21

Updated by dkliban@redhat.com over 3 years ago

  • Sprint changed from Sprint 55 to Sprint 56

Added by ppicka over 3 years ago

Revision aba082be

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

Actions #22

Updated by ppicka over 3 years ago

Actions #23

Updated by ppicka over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ppicka over 3 years ago

Revision ace1bb5b

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

Actions #24

Updated by ppicka over 3 years ago

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

Added by ppicka over 3 years ago

Revision 946c36c3

Modulemd models uniqness

uniqness field for modulemd models

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

Signed-off-by: Pavel Picka

Actions #25

Updated by ppicka over 3 years ago

  • Status changed from MODIFIED to POST
Actions #26

Updated by ppicka over 3 years ago

  • Status changed from POST to MODIFIED
Actions #27

Updated by ttereshc almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #28

Updated by ttereshc almost 3 years ago

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

Also available in: Atom PDF