Merge lp://staging/~mikemc/software-center/add-purchase-helper-no-token into lp://staging/~dobey/software-center/purchase-helper

Proposed by Mike McCracken
Status: Merged
Merged at revision: 3305
Proposed branch: lp://staging/~mikemc/software-center/add-purchase-helper-no-token
Merge into: lp://staging/~dobey/software-center/purchase-helper
Diff against target: 380 lines (+125/-155)
4 files modified
bin/ubuntu-app-purchase-helper (+8/-7)
softwarecenter/app_purchase_helper/AppPurchaseHelper.py (+15/-9)
softwarecenter/app_purchase_helper/scaclient.py (+0/-134)
softwarecenter/backend/piston/scaclient_pristine.py (+102/-5)
To merge this branch: bzr merge lp://staging/~mikemc/software-center/add-purchase-helper-no-token
Reviewer Review Type Date Requested Status
dobey Approve
Review via email: mp+159872@code.staging.launchpad.net

Commit message

- Fixes to purchase-helper script and support code to correctly purchase using a SKU.

Description of the change

- Fixes to purchase-helper script and support code to correctly purchase using a SKU.

- Also updates existing scaclient_pristine.py to match lp:~canonical-ca-hackers/software-center/scaclient , and uses that version instead of the version of scaclient.py from mvo's purchase-helper branch.

TO TEST: delete your Software Center token to trigger a refreshed one

Then trigger a free purchase and download from production (using api on staging)

% SOFTWARE_CENTER_DEBUG_HTTP=1 PYTHONPATH=. ./ubuntu-app-purchase-helper --from-sku=appstore:series:raring:arch:i386:appid:624 --debug

624 is a magic number, it's the app ID, which is only available from the DB currently, but will become visible soon, see bug# 1170268.

To post a comment you must log in.
3313. By Mike McCracken

merge with lp:~dobey/software-center/purchase-helper

3314. By Mike McCracken

remove purchase helper from setup

Revision history for this message
dobey (dobey) :
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

to all changes: