Merge lp://staging/~jml/pkgme/juggle-backend-selector into lp://staging/pkgme

Proposed by Jonathan Lange
Status: Merged
Approved by: James Westby
Approved revision: 148
Merged at revision: 137
Proposed branch: lp://staging/~jml/pkgme/juggle-backend-selector
Merge into: lp://staging/pkgme
Diff against target: 269 lines (+87/-56)
5 files modified
NEWS.txt (+11/-0)
pkgme/backend.py (+55/-48)
pkgme/bin/main.py (+8/-3)
pkgme/tests/test_backend.py (+9/-4)
pkgme/tests/test_script.py (+4/-1)
To merge this branch: bzr merge lp://staging/~jml/pkgme/juggle-backend-selector
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+122225@code.staging.launchpad.net

Commit message

Make BackendSelector more re-usable

Description of the change

We want to expose more data about what pkgme is doing to Python API callers.

This branch begins that by factoring out a lot of the guts of
``BackendSelector.get_info``, a very important method in determining what
pkgme does.

I intend to follow it up with other branches that eventually present a
consistent layer for both the command line script and things like pkgme-service
to use.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) wrote :

Looks great, thanks.

review: Approve

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