DistroSeriesDifference can't blacklist current version

Bug #627957 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Michael Nelson

Bug Description

Currently the model for DistroSeriesDifference stores the source package name only, and evaluates the currently published versions in both the derived and parent series.

After more discussion with users, we need to be able to blacklist a specific version of the package - implying that it will be automatically removed from the blacklist once a new version is detected. With the current model we can't do this.

I assume we'll delete the source_package_name column and make source_pub and parent_source_pub db-backed attributes rather than properties (as we'd originally planned).

Related branches

Changed in soyuz:
assignee: nobody → Michael Nelson (michael.nelson)
status: Triaged → In Progress
Revision history for this message
Michael Nelson (michael.nelson) wrote :

So I started the schema change as above yesterday, (adding source_pub/parent_source_pub), but soon realised that I don't think we want that amount of redundancy. We'd need to ensure at a DB level that both publications reference the same source package name, and that the publications are for the derived/parent distro series respectively etc. AFAIK, this could only be done with triggers like this:

http://pastebin.ubuntu.com/490866/

So unless I hear otherwise, I'll instead store source_version/parent_source_version so that we can remove blacklists for specific versions when they are updated (they will not be writeable outside of the DistroSeriesDifference model).

Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: none → 10.10
tags: added: qa-needstesting
Changed in soyuz:
status: In Progress → Fix Committed
tags: added: qa-untestable
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.