Project

Profile

Help

Task #5201

Updated by daviddavis over 4 years ago

h1. Design References: 

 The main model will be DistributionTree 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. So for example, the name field in the release section will be release_name and base_product name will be base_product_name. https://github.com/release-engineering/productmd/blob/master/productmd/treeinfo.py 

 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. https://github.com/pulp/pulp_rpm/blob/2-master/plugins/pulp_rpm/plugins/db/models.py#L300-L490 

 Lastly we need models for checksums, images, TODO: List out classes and addons. 

 [0] https://github.com/release-engineering/productmd/blob/master/productmd/treeinfo.py fields.

Back