Merge lp:~michael.nelson/launchpad/copy-binaries-timeout into lp:launchpad
Proposed by
Michael Nelson
Status: | Merged |
---|---|
Approved by: | Muharem Hrnjadovic |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~michael.nelson/launchpad/copy-binaries-timeout |
Merge into: | lp:launchpad |
Diff against target: |
196 lines 3 files modified
lib/lp/soyuz/interfaces/publishing.py (+17/-0) lib/lp/soyuz/model/publishing.py (+69/-26) lib/lp/soyuz/scripts/packagecopier.py (+6/-25) |
To merge this branch: | bzr merge lp:~michael.nelson/launchpad/copy-binaries-timeout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Muharem Hrnjadovic (community) | Approve | ||
Review via email: mp+14157@code.launchpad.net |
To post a comment you must log in.
= Summary =
This branch addresses some of the causes of bug 447138.
Five options for improving the performance when copying a large number /bugs.edge. launchpad. net/soyuz/ +bug/447138/ comments/ 1
of binaries are identified at:
https:/
This branch addresses points (1) and (4).
== Proposed fix ==
Create IPublishingSet. copyBinariesTo( ) so that we only need to lookup
the 'main' component once (point 1 above) and only need one query to
obtain all the newly created BPPHs.
== Pre-implementation notes ==
See comment #1 on bug above.
== Implementation details ==
== Tests ==
bin/test -vv -t test_copypackage -t doc/pubishing.txt
== Demo and Q/A ==
I'll start Q/Aing this on dogfood now. In production we can ask the arch
admins to try including binaries when copying linux kernel package.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/scripts/ packagecopier. py soyuz/model/ publishing. py soyuz/interface s/publishing. py
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ soyuz/scripts/ packagecopier. py
27: [F0401] Unable to import 'lazr.delegates' (No module named
delegates)
lib/lp/ soyuz/interface s/publishing. py fields' (No module named declarations' (No module
33: [F0401] Unable to import 'lazr.enum' (No module named enum)
40: [F0401] Unable to import 'lazr.restful.
restful)
41: [F0401] Unable to import 'lazr.restful.
named restful)
--
Michael