Task #5201
closedStory #5110: [Epic] As a user, I can manage Kickstart repositories
Create the model(s) for distribution trees as Content models
100%
Description
Content Model Design¶
The main model will be DistributionTree that inherits from pulp's Content object. Populate it with the field names from the productmd code [0]. Since some fields are unique only to their section, prefix them with the section name. For example, the name field in the release section will be release_name and base_product name will be base_product_name.
Add a new model DistributionTreeRepository that foreign key points at a distribution a DistributionTree content unit and a a Repository with RPMs. This table should store the variant info.
Lastly we need models for DistributionTree checksums, images, and addons.
[0] https://github.com/release-engineering/productmd/blob/master/productmd/treeinfo.py
Kickstart models
closes #5201 https://pulp.plan.io/issues/5201