Merge lp:~lifeless/launchpad/soyuz into lp:launchpad
Proposed by
Robert Collins
on 2010-11-03
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Robert Collins on 2010-11-03 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11856 | ||||
| Proposed branch: | lp:~lifeless/launchpad/soyuz | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
157 lines (+57/-12) 4 files modified
lib/lp/registry/model/distroseries.py (+32/-1) lib/lp/soyuz/adapters/archivesourcepublication.py (+2/-0) lib/lp/soyuz/doc/publishing.txt (+16/-1) lib/lp/soyuz/model/publishing.py (+7/-10) |
||||
| To merge this branch: | bzr merge lp:~lifeless/launchpad/soyuz | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | mentore | 2010-11-03 | Approve on 2010-11-03 |
| Steve Kowalik (community) | code* | 2010-11-03 | Approve on 2010-11-03 |
|
Review via email:
|
|||
Commit Message
Incremental improvement for +packages pages.
Description of the Change
Incremental improvement for the +packages pages, eager loading the attribute triggering most DB queries and tuning the logic to do only one related call. We may still have DB access being triggered, but this should help.
To post a comment you must log in.
| Robert Collins (lifeless) wrote : | # |
The publisher doesn't seem to use that attribute AFAICT. IMBW, tests will show.
| Tim Penhey (thumper) wrote : | # |
Since we want to make soyuz code more understandable, can you please just add to the docstring at the top of the setNewerDistroS
It wasn't until much further down that change that I actually had any inkling as to what it was.
review:
Approve
(mentore)

My only concern with this is what impact the caching will have on the publisher, but the code itself looks good.