Task #3661
closedAdd model for modular content
100%
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.
- To parse module.yaml doc we'll use Modulemd.objects_from_file() from libmodulemd
- To Write module out to a YAML document on disk we'll use Modulemd.Module.dump () from libmodulemd.
- Spec of the Modulemd for reference https://github.com/fedora-modularity/libmodulemd/blob/master/spec.v2.yaml
- library for the reference https://sgallagh.fedorapeople.org/docs/libmodulemd/1.4/
Related issues
Updated by ipanova@redhat.com over 6 years ago
- Related to Story #3206: Support for module metadata in pulp_rpm added
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?
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.
Updated by ipanova@redhat.com over 6 years ago
- Sprint Candidate changed from No to Yes
Updated by ipanova@redhat.com over 6 years ago
- Blocks Task #3708: Add model for Modulemd-defaults added
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)
Updated by ipanova@redhat.com over 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
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
Updated by ttereshc over 6 years ago
- Related to Story #3659: Add a migration for transition from basic to advanced modular support added
Updated by ttereshc over 6 years ago
- Related to deleted (Story #3659: Add a migration for transition from basic to advanced modular support)
Updated by ttereshc over 6 years ago
- Blocks Story #3659: Add a migration for transition from basic to advanced modular support added
Updated by ipanova@redhat.com over 6 years ago
- Status changed from ASSIGNED to POST
Added by ipanova@redhat.com over 6 years ago
Updated by ttereshc over 6 years ago
- Status changed from POST to ASSIGNED
- Sprint changed from Sprint 39 to Sprint 38
Updated by ttereshc over 6 years ago
- Status changed from ASSIGNED to POST
- Sprint changed from Sprint 38 to Sprint 39
Updated by ipanova@redhat.com over 6 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 4e0be8ebbcb431b271e884ae696c3570612330df.
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.
Updated by ipanova@redhat.com over 6 years ago
- Platform Release changed from 2.17.0 to master
Updated by ipanova@redhat.com over 6 years ago
- Platform Release deleted (
master)
Updated by ipanova@redhat.com over 6 years ago
- Status changed from MODIFIED to 5
Updated by ipanova@redhat.com about 6 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Add Modulemd model.
closes #3661 https://pulp.plan.io/issues/3661