Merge lp:~cjwatson/launchpad/packageset-score-rename-support into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | j.c.sackett on 2012-05-31 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15343 | ||||
| Proposed branch: | lp:~cjwatson/launchpad/packageset-score-rename-support | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
95 lines (+50/-3) 2 files modified
lib/lp/soyuz/model/buildpackagejob.py (+1/-2) lib/lp/soyuz/model/packageset.py (+49/-1) |
||||
| To merge this branch: | bzr merge lp:~cjwatson/launchpad/packageset-score-rename-support | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-05-30 | Approve on 2012-05-31 | |
|
Review via email:
|
|||
Commit Message
Prepare for renaming Packageset.score DB column to Packageset.
Description of the Change
== Summary ==
Bug 1000570 reports that Packageset.score is misnamed. I renamed the Python attribute a while back, but this branch prepares for renaming the database column as well.
== Proposed fix ==
Unashamedly plagiarise https:/
== Implementation details ==
Unlike Archive.commercial, there was one instance of Packageset.score being used a query (indirectly via a Storm aggregate of Packageset.
== LOC Rationale ==
+47, but I'll revert all of that after the corresponding database patch has been deployed.
== Tests ==
bin/test -vvct TestBuildPackag
== Lint ==
./lib/lp/
114: redefinition of function 'relative_
False positive due to pocketlint not understanding setter properties.

This looks ok to land.