Project

Profile

Help

Task #3661

closed

Add model for modular content

Added by ipanova@redhat.com over 6 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Platform Release:
2.17.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 39
Quarter:

Description

Add a MongoEngine model to represent the Modulemd content type.

Modulemd model :

Name - string
Stream - string
Version - integer
Context - string
Arch - string
Summary - string
Description - string
Profiles - dict ( key - profile name, value - list of rpms)
Servicelvels - dict
Artifacts - list or rpm - list
_storage_path --> yaml stored on the disk - string
checksum ( for yaml integrity check) - string
checksumtype - string

The unit_key is NSVCA.


Related issues

Related to RPM Support - Story #3206: Support for module metadata in pulp_rpmCLOSED - CURRENTRELEASE

Actions
Blocks RPM Support - Task #3708: Add model for Modulemd-defaultsCLOSED - CURRENTRELEASEttereshc

Actions
Blocks RPM Support - Story #3659: Add a migration for transition from basic to advanced modular supportCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions
Actions #1

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #2

Updated by ipanova@redhat.com over 6 years ago

  • Related to Story #3206: Support for module metadata in pulp_rpm added
Actions #3

Updated by ttereshc over 6 years ago

Is it a task to create the model or just to identify what should go into the model?

I suggest to have it as a task to create the model.
What and how yaml files are parsed will affect modeling I guess.
Maybe some links to have a general information will be helpful as well as a link to the libmodulemd[0] itself. What do you think?

fn.0 https://github.com/fedora-modularity/libmodulemd

Actions #4

Updated by ipanova@redhat.com over 6 years ago

i thought would be good to have a dedicated task that will define/create the model.
The other reason i created this as a separate task is to give the possibility to list the usecases which would help in model definition.

Actions #5

Updated by ipanova@redhat.com over 6 years ago

  • Sprint Candidate changed from No to Yes
Actions #6

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #7

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #8

Updated by ipanova@redhat.com over 6 years ago

  • Blocks Task #3708: Add model for Modulemd-defaults added
Actions #9

Updated by dkliban@redhat.com over 6 years ago

  • Subject changed from Define model for modular content to Add model for modular content
  • Description updated (diff)
Actions #10

Updated by dkliban@redhat.com over 6 years ago

  • Groomed changed from No to Yes
Actions #11

Updated by rchan over 6 years ago

  • Sprint set to Sprint 38
Actions #12

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #13

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #14

Updated by ipanova@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
Actions #15

Updated by ipanova@redhat.com over 6 years ago

removing from the model servicelevels based on:

(12:58:06 PM) contyk: also RHEL modules won't have this filled in; a PM decision

Actions #16

Updated by ttereshc over 6 years ago

  • Related to Story #3659: Add a migration for transition from basic to advanced modular support added
Actions #17

Updated by ttereshc over 6 years ago

  • Related to deleted (Story #3659: Add a migration for transition from basic to advanced modular support)
Actions #18

Updated by ttereshc over 6 years ago

  • Blocks Story #3659: Add a migration for transition from basic to advanced modular support added
Actions #19

Updated by rchan over 6 years ago

  • Sprint changed from Sprint 38 to Sprint 39
Actions #20

Updated by ipanova@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST
Actions #21

Updated by ttereshc over 6 years ago

  • Status changed from POST to ASSIGNED
  • Sprint changed from Sprint 39 to Sprint 38
Actions #22

Updated by ttereshc over 6 years ago

  • Status changed from ASSIGNED to POST
  • Sprint changed from Sprint 38 to Sprint 39
Actions #23

Updated by ipanova@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #24

Updated by ipanova@redhat.com over 6 years ago

  • Platform Release set to 2.17.0
Actions #25

Updated by rchan over 6 years ago

  • Sprint/Milestone set to 2.17.0

Adding to 2.17.0 milestone. This is one of the required deliverables.

Actions #26

Updated by ipanova@redhat.com over 6 years ago

  • Platform Release changed from 2.17.0 to master
Actions #27

Updated by ipanova@redhat.com over 6 years ago

  • Platform Release deleted (master)
Actions #28

Updated by ipanova@redhat.com over 6 years ago

  • Platform Release set to 2.17.0
Actions #29

Updated by ipanova@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5
Actions #30

Updated by ipanova@redhat.com about 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #31

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #32

Updated by ttereshc almost 3 years ago

  • Sprint/Milestone deleted (2.17.0)

Also available in: Atom PDF