Expose the storeblob service in API
Bug #315358 reported by
Markus Korn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Please export the storeblob service at [0] in the API. This service is used by apport and missing this would block converting apport from screenscraping to launchpadlib.
Markus
Changed in launchpad: | |
status: | New → Triaged |
Changed in malone: | |
importance: | Undecided → Low |
To post a comment you must log in.
In case it is helpful, this is python- launchpad- bugs' implementation of a convenient storeblob API. We have used that in apport for years:
import storeblob
def progress_ callback( sent, total):
print 'uploaded %i of %i bytes' % (sent, total)
use_staging = True upload( blob, progress_callback, staging= use_staging)
blob = open('/tmp/data')
ticket = storeblob.