syft
syft copied to clipboard
feat:snap can be queried by revision and ```track/risk/branch``` check in the channel will be supported
Description
This PR supports that user can query the snap info by revision besides channel.
The latest specification of a snap is proposed below:
name:revision@channel
or
name:revision@risk (architecture)
Note that the specified revision may conflict with the channel. In such cases, the revision takes precedence.
- Fixes #4389
Type of change
- [x] New feature (non-breaking change which adds functionality)
Checklist:
- [x] I have added unit tests that cover changed behavior
- [x] I have tested my code in common scenarios and confirmed there are no regressions
- [ ] I have added comments to my code, particularly in hard-to-understand sections
TODO
- [x] Need to support track/risk/branch check of the channel