Add "services" ServiceRoot to launchpadlib
Bug #974139 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
In Progress
|
High
|
Ian Booth |
Bug Description
Launchpad now supports named services. launchpadlib needs to provide a convenient way to access such services.
Instead of:
service = launchpad.
use this:
service = launchpad.
Related branches
lp://staging/~wallyworld/launchpadlib/services-serviceroot
Rejected
for merging
into
lp://staging/launchpadlib
- Robert Collins (community): Needs Fixing
-
Diff: 225 lines (+118/-4)7 files modified.bzrignore (+1/-0)
src/launchpadlib/NEWS.txt (+5/-0)
src/launchpadlib/__init__.py (+1/-1)
src/launchpadlib/docs/toplevel.txt (+8/-0)
src/launchpadlib/launchpad.py (+14/-1)
src/launchpadlib/testing/testing-wadl.xml (+75/-0)
src/launchpadlib/testing/tests/test_launchpad.py (+14/-2)
lp://staging/~wallyworld/launchpad/launchpadlib-services-974139
On hold
for merging
into
lp://staging/launchpad
- Launchpad code reviewers: Pending requested
-
Diff: 219 lines (+54/-56)8 files modifiedlib/lp/app/configure.zcml (+0/-8)
lib/lp/app/interfaces/services.py (+25/-1)
lib/lp/app/services.py (+13/-7)
lib/lp/app/tests/test_services.py (+9/-2)
lib/lp/registry/interfaces/webservice.py (+5/-1)
lib/lp/registry/services/tests/test_sharingservice.py (+1/-4)
lib/lp/services/webservice/services.py (+0/-32)
versions.cfg (+1/-1)
To post a comment you must log in.
Can you not just use load('/ +services/ servicename' )
service = launchpad.