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 and we'll copy the field names from the productmd code [0]. Since some fields are unique only to their section, we'll prefix them with the section name. For So 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 will associate a DistributionTree 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