Merge lp:~laney/ubuntu-cdimage/stop-sync-mirrors into lp:ubuntu-cdimage
Proposed by
Iain Lane
Status: | Merged |
---|---|
Merged at revision: | 1932 |
Proposed branch: | lp:~laney/ubuntu-cdimage/stop-sync-mirrors |
Merge into: | lp:ubuntu-cdimage |
Diff against target: |
43 lines (+17/-1) 2 files modified
lib/cdimage/mirror.py (+8/-0) lib/cdimage/tests/test_mirror.py (+9/-1) |
To merge this branch: | bzr merge lp:~laney/ubuntu-cdimage/stop-sync-mirrors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Approve | ||
Ćukasz Zemczak | Pending | ||
Review via email: mp+398103@code.launchpad.net |
Description of the change
mirror: Add a flag file etc/STOP_
Our current method of `chmod -x bin/sync-mirrors` doesn't work. In particular, the mirrors are triggered whenever any daily build is completed. This means that in progress releases are highly vulnerable to leaking early. In the past we have asked Canonical IS to stop rsync to prevent this from happening. But we can take care of it on our side by avoiding ever asking the frontends to pull from us.
A better API where we can ask frontends to only sync *certain* images - thedaily which just finished - would be preferable.
To post a comment you must log in.