Merge lp://qastaging/~ricardokirkner/snapcraft/cmd-upload into lp://qastaging/~snappy-dev/snapcraft/core
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 |
Related bugs: |
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
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
This is no longer the upstream, upstream is here: /github. com/ubuntu- core/snapcraft
https:/