Say I install a snap from a branch:
$ sudo snap install nextcloud --channel=stable/junk
$ snap info nextcloud
name: nextcloud
summary: "Nextcloud Server"
publisher: nextcloud
contact: https://github.com/nextcloud/nextcloud-snap
description: |
Access & share your files, calendars, contacts, mail & more from any device,
on your terms.
commands:
- nextcloud.disable-https
- nextcloud.enable-https
- nextcloud.manual-install
- nextcloud.mysql-client
- nextcloud.mysqldump
- nextcloud.occ
tracking: stable/junk
installed: latest-stable11 (1498) 184MB -
refreshed: 2017-05-29 01:37:21 +0100 BST
channels:
latest/stable: 11.0.3snap3 (1474) 186MB -
latest/candidate: 11.0.3snap3 (1472) 186MB -
latest/beta: latest-stable11 (1498) 184MB -
latest/edge: latest-master (1499) 185MB -
And then that branch gets closed:
$ snapcraft close nextcloud stable/junk
Then I snap refresh:
$ sudo snap refresh nextcloud
2017-05-30T16:50:14+01:00 INFO cannot auto connect nextcloud:network-bind to core:network-bind: (plug auto-connection), existing connection state "nextcloud:network-bind core:network-bind" in the way
nextcloud (stable/junk) 11.0.3snap3 from 'nextcloud' refreshed
Note that it actually did refresh to the right revision, but it thinks it came from stable/junk
instead of stable
. snap info
thinks the same:
$ snap info nextcloud
name: nextcloud
summary: "Nextcloud Server"
publisher: nextcloud
contact: https://github.com/nextcloud/nextcloud-snap
description: |
Access & share your files, calendars, contacts, mail & more from any device,
on your terms.
commands:
- nextcloud.disable-https
- nextcloud.enable-https
- nextcloud.manual-install
- nextcloud.mysql-client
- nextcloud.mysqldump
- nextcloud.occ
tracking: stable/junk
installed: 11.0.3snap3 (1474) 186MB -
refreshed: 2017-05-26 20:33:35 +0100 BST
channels:
latest/stable: 11.0.3snap3 (1474) 186MB -
latest/candidate: 11.0.3snap3 (1472) 186MB -
latest/beta: latest-stable11 (1498) 184MB -
latest/edge: latest-master (1499) 185MB -
Is this by design?