Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Split the Package model into two #1392
We need to split the Package model into two models, a superclass (probably still called Package) and a new RPM-specific subclass, perhaps simply called RPM. All of Package's relationships should be analyzed to determine which ones should be adjusted to reference RPM vs. continuing to reference Package. Also, a database migration will be needed so that Bodhi's existing data can be preserved in the new split package design. All code will need to be altered to use the new RPM model rather than the Package model when the data involved is RPM-specific.
Once this is done, all of Bodhi's functionality should continue to work exactly as it does today.