Project

Profile

Help

Task #5201

Updated by bmbouter over 5 years ago

h1. 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 (or should we call it variant?) that foreign key points at will associate a distribution a DistributionTree content unit and a to 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

Back