In Channels | Snapcraft documentation:
Branches
A branch is an optional finer subdivision of a channel for a published snap that allows for the creation of a short-lived sequences of snaps that can be pushed on demand by snap developers to help with fixes or temporary experimentation.
Branch names convey their purpose, such as
fix-for-bug123
, but the name isn’t exposed in the normal way, such as withsnap info
. Instead, they can be tracked by anyone simply knowing the name.After 30 days with no further updates, a branch will be closed automatically. The replacement snap will then be chosen as it would be with closed channels (see below). For example, beta/fix-for-bug123 will fall back to beta after the fix-for-bug123 branch is closed.
I wonder whether we can use this functionality for PRs created for the Snapcrafters adopted snaps, to facilitate testing (e.g. The original issue reporter can try to reproduce the issue using the snap automatically built from the PR to a certain channel, like latest/beta/for-pr123
.)