Merge ubuntu-archive-tools:optimize-phased-updater into ubuntu-archive-tools:main
Proposed by
Steve Langasek
Status: | Needs review |
---|---|
Proposed branch: | ubuntu-archive-tools:optimize-phased-updater |
Merge into: | ubuntu-archive-tools:main |
Diff against target: |
110 lines (+23/-29) 1 file modified
phased-updater (+23/-29) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Needs Information | ||
Review via email: mp+426990@code.launchpad.net |
Description of the change
This is a 30% reduction locally in the runtime of the phased-updater script; for a script that runs for 2 hours, that seems worth doing.
I do note one behavior difference here, which is that we are now only ever looking at the first record returned by getPublishedBin
To post a comment you must log in.
poked around with the API and confirmed that binary payloads for signing do not show up in the output of getPublishedBin aries() ; so as long as the assumption holds that p-u-p is the same for all binaries from a source, this implementation should be safe, and a lot faster.