Simply being able to display on the app the current tracks/risk. The best would be through environment variable, so I can display on my app SNAP_REVISION and hopefully SNAP_CHANNEL SNAP_TRACKS or other, which is not available for now right ?
Yes that would be great, actually for our use case already being able to trigger a
snap refresh but from the app itself (through snapctl for example) would be nice
Actually our app is a daemon only accessible through a web interface, so if there is a user confirmation it should be something handled with code in our use case.
I can understand giving the ability from an app to switch its own track can lead to some debate, but I think that changing risk, i.e. edge/beta/candidate/stable might be something that the snap itself should do. My use case is just providing the user the choice to change risk of the app, and hopefully to display current risk and optionally track. This way the user can opt-in to be more closer to the edge to for example temporally test more recent and risky features, or switch back to candidate or stable, from the app interface.