← Back to issue list

Support pinning of snap revisions for build-snaps and stage-snaps

View original Github issue

Metadata

Project
rockcraft
Number
#350
Type
issue
State
open
Author
shayancanonical
Labels
Created
2023-08-29 20:13:45+00:00
Updated
2025-08-15 15:12:56+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done We are currently able to specify a channel for `build-snaps` or `stage-snaps` as follows: ``` parts: charmed-mysql: stage-snaps: - 8.0/edge ``` However, we are unable to specify a specific revision of a snap with the above syntax ### Why it needs to get done We have snaps in the Data Platform team that track a major version of a database (e.g. `charmed-mysql/8.0`). However, the `edge` risk of the channel can be either `8.0.33` or `8.0.34` based on the snap build date Since we are using `stage-snaps` to install the binaries of the snap into our ROCK, we need a way to specify a particular revision of the snap to install from in our rockcraft.yaml file.

Evaluation history

No evaluation history available.