Merge lp:~leonardr/launchpad/optimized-length-2 into lp:launchpad/db-devel
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-08-23 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 9705 |
| Proposed branch: | lp:~leonardr/launchpad/optimized-length-2 |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
126 lines (+51/-21) 3 files modified
lib/canonical/launchpad/pagetests/webservice/datamodel.txt (+29/-19) lib/canonical/launchpad/webapp/batching.py (+20/-0) versions.cfg (+2/-2) |
| To merge this branch: | bzr merge lp:~leonardr/launchpad/optimized-length-2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Nelson (community) | code | Approve on 2010-08-26 | |
| Graham Binns (community) | code | Approve on 2010-08-24 | |
| Aaron Bentley (community) | 2010-08-23 | Approve on 2010-08-23 | |
|
Review via email:
|
|||
Description of the Change
This branch integrates the newest version of lazr.restful, which sends 'total_size' instead of 'total_size_link' if it's easy to figure out the total size of a collection. The changes to datamodel.txt show when this happens.
| Leonard Richardson (leonardr) wrote : | # |
| Michael Nelson (michael.nelson) wrote : | # |
r=me for the change pasted via irc:
14:51 < noodles775> leonardr: I don't see a one-liner? It's r11442 that needs to be reviewed right? This: http://
14:59 < leonardr> noodles775, 11442 corrects a typo made to the original one-liner. i was hoping to just give you the code so it wouldn't be so complicated
14:59 < leonardr> i'll just do another merge proposal and get in the queue
15:01 < noodles775> leonardr: I'm happy to review just the one-line that's changed, but currently I can only see it in 11442 along with a few other changes. If the rest is already reviewed, just paste a diff and I can review that, otherwise yes, a new MP is probably easier.
15:04 < leonardr> noodles775: i see the problem. i had to create a new branch with the old changes, so all the old changes show up as one revision
15:04 < leonardr> this code is the only code that hasn't been reviewed yet:
15:04 < leonardr> + if hasattr(resultset, '_select'):
15:04 < leonardr> + resultset.
15:04 < leonardr> + resultset.
15:05 < noodles775> leonardr: r=me (I assume the second two lines were there previously, just not indented). Thanks!
15:05 < leonardr> noodles, yeah

I need a follow-up review. I fixed a minor test failure and added a workaround for bug 620508. I'm fairly sure it won't screw up anything else, but the tests will say for sure.