← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~michael.nelson/launchpad/627957-differences-schema-update into lp:launchpad

 

The proposal to merge lp:~michael.nelson/launchpad/627957-differences-schema-update into lp:launchpad has been updated.

Description changed to:

Overview
========
This branch addresses bug 627957 by adding three new columns to the DistroSeriesDifference table: source_version, parent_source_version, and parent_package_diff.

Details
=======

The two version fields allow the object to remember the respective versions last time the record was updated (and change status where appropriate etc.). The tests ensure that the blacklisting setting changes appropriately when new versions are uploaded.

The additional package_diff column allows us to reference one package diff for the base-version -> derived series version, and one package diff for the base-version -> parent series version (as requested during UI testing).

The branch adds (and tests) a missing constraint on (source_package_name, derived_series).

This branch also renames the IGNORED difference type to BLACKLISTED (also discussed on the mailing list thread at:

https://lists.launchpad.net/launchpad-dev/msg04525.html

It also makes the source_pub and parent_source_pub cached properties as they are used numerous times when updating a difference.

Test
===
bin/test -vvm test_distroseriesdifference -m test_series_view
-- 
https://code.launchpad.net/~michael.nelson/launchpad/627957-differences-schema-update/+merge/35073
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~michael.nelson/launchpad/627957-differences-schema-update into lp:launchpad.



References