Bug 13110

Summary: Add "release" records to product records
Product: [Yocto Project Subprojects] Security Response Tool Reporter: David Reyna <david.reyna>
Component: GeneralAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: ross.burton
Version: 2.7   
Target Milestone: 2.7 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description David Reyna 2018-12-29 09:45:32 UTC
Add a new table for "Releases".

class Release:
  name = models.CharField(max_length=63)
  product = models.ForeignKey(Product,related_name="release2product",on_delete=models.CASCADE,)

* Each Product (e.g. "YP-2.6") can can multiple Releases (e.g. "YP-2.6", "YP-2.6.1", "YP-2.6.2", ...)

* This can be used to match CPEs to specific releases

* This can be used to match CVE defects to releases

* Thia can be used to map defects for CVEs to releases, useful for when/where they are fixed.