Merge lp://staging/~barry/ubuntu-system-image/lp1374459 into lp://staging/~registry/ubuntu-system-image/client

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 291
Proposed branch: lp://staging/~barry/ubuntu-system-image/lp1374459
Merge into: lp://staging/~registry/ubuntu-system-image/client
Diff against target: 4171 lines (+1961/-625) (has conflicts)
36 files modified
.bzrignore (+2/-1)
MANIFEST.in (+1/-1)
NEWS.rst (+31/-7)
cli-manpage.rst (+13/-0)
coverage.ini (+2/-0)
systemimage/config.py (+15/-0)
systemimage/curl.py (+273/-0)
systemimage/dbus.py (+19/-19)
systemimage/download.py (+131/-31)
systemimage/helpers.py (+11/-18)
systemimage/index.py (+1/-4)
systemimage/main.py (+12/-1)
systemimage/scores.py (+29/-13)
systemimage/service.py (+5/-2)
systemimage/state.py (+11/-1)
systemimage/testing/controller.py (+37/-11)
systemimage/testing/dbus.py (+7/-1)
systemimage/testing/helpers.py (+30/-8)
systemimage/testing/service.py (+15/-0)
systemimage/tests/data/index_22.json (+2/-3)
systemimage/tests/data/index_26.json (+245/-0)
systemimage/tests/test_api.py (+0/-66)
systemimage/tests/test_candidates.py (+16/-24)
systemimage/tests/test_config.py (+35/-0)
systemimage/tests/test_dbus.py (+67/-17)
systemimage/tests/test_download.py (+226/-61)
systemimage/tests/test_helpers.py (+51/-43)
systemimage/tests/test_index.py (+0/-42)
systemimage/tests/test_main.py (+209/-195)
systemimage/tests/test_scores.py (+83/-10)
systemimage/tests/test_state.py (+130/-36)
systemimage/tests/test_winner.py (+1/-1)
systemimage/udm.py (+213/-0)
systemimage/version.txt (+4/-0)
tools/runme.sh (+10/-0)
tox.ini (+24/-9)
Text conflict in NEWS.rst
Text conflict in cli-manpage.rst
Text conflict in systemimage/download.py
Text conflict in systemimage/state.py
Text conflict in systemimage/testing/helpers.py
Text conflict in systemimage/tests/test_dbus.py
Text conflict in systemimage/tests/test_download.py
Text conflict in systemimage/version.txt
Text conflict in tox.ini
To merge this branch: bzr merge lp://staging/~barry/ubuntu-system-image/lp1374459
Reviewer Review Type Date Requested Status
James Hunt Pending
Michael Vogt Pending
Review via email: mp+238777@code.staging.launchpad.net

Description of the change

This is still a work in progress, but it's encouraging. There are still a number of test failures and skips, but these are all traceable to the fact that the PyCURL loop is not yet integrated with the D-Bus main loop. This means that all tests which require dispatch into D-Bus methods while the download is progressing are blocked, i.e. cancel, pause, resume.

Also, some of the tests mock DBusDownloadManager methods, so those have to be rewritten too.

Still, there's a lot to like about this branch, so I'm putting up an MP for comments.

To post a comment you must log in.
293. By Barry Warsaw

checkpointing

294. By Barry Warsaw

mvo's dbus loop check plus a bunch of debugging.

295. By Barry Warsaw

Less debugging.

296. By Barry Warsaw

Let GLib give you the main context.

297. By Barry Warsaw

Refactoring for pause/resume.

298. By Barry Warsaw

Checkpoint

299. By Barry Warsaw

Merge 2.5.1 from the rtm 14.09 branch.

300. By Barry Warsaw

* Refactor logging and imports.
* Remove the LOW_SPEED limits since the test infrastructure at least will fail
  test_pause because of this.
* Add a test of some huge downloads to prove the low speed limit problem.

301. By Barry Warsaw

Crank up the timeout for big files.

302. By Barry Warsaw

100% coverage for pycurl downloader.

303. By Barry Warsaw

Full udm-downloader test passing. Now working on coverage.

304. By Barry Warsaw

Fix the skips.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches