Task #4873

Updated by ppicka over 1 year ago

Add modulemd and modulemd-defaults and through table for keeping track of modulemd - rpm relations (which rpms beling to which modulemd)

h2. 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)

h2. ModulemdDefaults

TYPE = modulemd_defaults

module = StringField
stream = StringField
profiles = DictField

h2. Extends RPM Package ModulemdPackage

modular modulemd = BoolField ManyToManyField
rpms = ManyToManyField