The interaction with servers is implemented as functions in a module
Bug #1586504 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We can group all the interactions with each server in a client object. That will simplify testing, is cleaner and could make it easier to later split the clients to a separate project.
[Impact]
* No visual impact for users, the commands are untouched.
* This change improves the existing code, but also allows us to make an easier landing of the macaroons feature.
[Test Case]
* snapcraft login.
* build a snap.
* snapcraft upload the snap build.
* check that the snap is in the store.
[Regression Potential]
* The existing features that interact with the servers might fail: login, upload.
Changed in snapcraft: | |
milestone: | none → 2.10 |
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/518