Hide Forgot
Description of problem: Beaker displays many duplicate distro families in Excluded Families tab. Version-Release number of selected component (if applicable): 0.6.15 How reproducible: Always Steps to Reproduce: 1. Open any system you have access to 2. Open the Excluded Families tab 3. Check out how many duplicates are there. A screen shot is attached.
Created attachment 512891 [details] screen shot
We're missing a unique constraint on osversion table: --- a/Server/bkr/server/model.py +++ b/Server/bkr/server/model.py @@ -430,6 +430,7 @@ nullable=False, primary_key=True), Column('osmajor_id', Integer, ForeignKey('osmajor.id')), Column('osminor',Unicode(255)), + UniqueConstraint('osmajor_id', 'osminor', name='uix_1'), mysql_engine='InnoDB', ) That's the easy part. I'm now looking at how we craft the sql to fix the current duplicates.
Beaker 0.7.1 has been released.