default for snap download is global store (not brand store)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
The default store ID for `snap install` is that of the model, which makes sense as it allows installation from the brand store for a device.
However the default store ID for `snap download` is the global store, which is inconsistent with `snap install` and seems wrong. I think that the _default_ store ID for all operations on a device with a model and a brand store should be the brand store's store ID.
For example to download a snap from the device's brand store, one would have to either have to know their brand store ID, or would have to do something like
```
UBUNTU_
snap download brand-store-
```
which is not obvious and a not so great user experience.
Note that this bug is simply about the default, obviously with the default brand store ID changed to the device's a user could still download any snap from the global store using
```
UBUNTU_STORE_ID="" snap download global-
```
For a user on a device with a model and a brand store the more common use case would probably be to download snaps from their brand store, hence why it should be the default.
affects: | snapstore → snapd |
Changed in snapd: | |
status: | Invalid → New |
Should this be reported against snapd instead?
https:/ /bugs.launchpad .net/snapd/
The Snap Store honors the store requested by snapd via the model and serial assertion data (or forced via the UBUNTU_STORE_ID hack); if that's not being honored/sent for a snap download operation, there's not much the Snap Store can do, I think.