Specify where a Snap build was requested
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
As you may know, we are moving the functionality of build.snapcraft.io in snapcraft.io, and because we are not using a database for our website, we would like to differentiate between a snap built from the previous website (build.
We were thinking about setting some value when we trigger a build from the new site so can latter differentiate builts from the previous site and the new one.
I have been looking into the documentation (https:/
Do you know if there is an appropriate way to indicate where a Snap build is being triggered?
Thank you,
Fran
This sounds like an ideal case for Revision Attributes, a feature not yet publicly released but with a basic initial implementation currently live and in use by the storefront for very similar use-cases.
https:/ /docs.google. com/document/ d/1nZA1aevK86ki JUo8EH5Ff8Zb71Q Lu0AhrvBzirmfp4 Y/edit is an internal Google Doc with more detail.
Matias warns that the way to set them is currently a little tricky because it's not exposed for general use yet, and currently the tags are restricted to a predefined list, but this still feels very much like the (theoretically, at least) ideal solution.