Merge lp:~mwhudson/launchpad/pull-mirror-branches-separately-bug-520107 into lp:launchpad
Proposed by
Michael Hudson-Doyle
on 2010-02-24
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Michael Hudson-Doyle on 2010-02-24 | ||||
| Approved revision: | not available | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~mwhudson/launchpad/pull-mirror-branches-separately-bug-520107 | ||||
| Merge into: | lp:launchpad | ||||
| Prerequisite: | lp:~mwhudson/launchpad/remove-old-puller-xmlrpc-methods | ||||
| Diff against target: |
527 lines (+144/-46) 14 files modified
cronscripts/supermirror-pull.py (+3/-1) lib/lp/code/errors.py (+5/-0) lib/lp/code/interfaces/branch.py (+0/-4) lib/lp/code/interfaces/branchpuller.py (+3/-1) lib/lp/code/interfaces/codehosting.py (+4/-1) lib/lp/code/model/branchpuller.py (+5/-2) lib/lp/code/model/tests/test_branchpuller.py (+47/-9) lib/lp/code/xmlrpc/codehosting.py (+11/-2) lib/lp/code/xmlrpc/tests/test_codehosting.py (+17/-9) lib/lp/codehosting/inmemory.py (+12/-2) lib/lp/codehosting/puller/scheduler.py (+3/-2) lib/lp/codehosting/puller/tests/test_acceptance.py (+19/-2) lib/lp/codehosting/puller/tests/test_scheduler.py (+14/-10) lib/lp/testing/factory.py (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~mwhudson/launchpad/pull-mirror-branches-separately-bug-520107 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2010-02-24 | Approve on 2010-02-24 | |
|
Review via email:
|
|||
Commit Message
Allow an invocation of supermirror-pull.py to only pull certain branch types.
To post a comment you must log in.
| Michael Hudson-Doyle (mwhudson) wrote : | # |
| Tim Penhey (thumper) wrote : | # |
Good except test_type_
review:
Approve

Mirrored branches are inherently less reliable to access than hosted or imported branches, so it makes sense to be able to handle them in a separate process, and that's what this branch does.
The default behavior is kept the same, we can coordinate with the LOSAs after rollout to set up two different cronjobs.