Merge lp://qastaging/~ricardokirkner/snapcraft/cmd-upload into lp://qastaging/~snappy-dev/snapcraft/core

Proposed by Ricardo Kirkner
Status: Work in progress
Proposed branch: lp://qastaging/~ricardokirkner/snapcraft/cmd-upload
Merge into: lp://qastaging/~snappy-dev/snapcraft/core
Diff against target: 196 lines (+144/-0)
4 files modified
setup.py (+7/-0)
snapcraft/cmds.py (+32/-0)
snapcraft/main.py (+18/-0)
snapcraft/tests/test_cmds.py (+87/-0)
To merge this branch: bzr merge lp://qastaging/~ricardokirkner/snapcraft/cmd-upload
Reviewer Review Type Date Requested Status
Sergio Schvezov Disapprove
Review via email: mp+280360@code.qastaging.launchpad.net

Commit message

added support for uploading snap packages directly to the Ubuntu Store.

- added login command to fetch credentials necessary to establish an authenticated session for the upload process
- added logout command to clear stored credentials
- added upload command to upload a snap package to the store

Description of the change

Allow snapcraft to upload snap packages directly to the store. For this 2 new commands are introduced

- login: to generate an authenticated session that will be used for the upload process
- upload: to upload the latest built snap package to the store

This branch introduces a new dependency (click-toolbelt) to avoid duplicating existing work.

PS: wait until click-toolbelt 0.4.0 is released before merging this branch into trunk

To post a comment you must log in.
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

This is no longer the upstream, upstream is here:
https://github.com/ubuntu-core/snapcraft

review: Disapprove

Unmerged revisions

265. By Ricardo Kirkner

fixed tests

264. By Ricardo Kirkner

fix command function signatures

263. By Ricardo Kirkner

require click-toolbelt for login/upload

262. By Ricardo Kirkner

added support for uploading snap packages directly to the Ubuntu Store.

- added login command to fetch credentials necessary to establish an authenticated session for the upload process
- added logout command to clear stored credentials
- added upload command to upload a snap package to the store

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