syft icon indicating copy to clipboard operation
syft copied to clipboard

feat:snap can be queried by revision and ```track/risk/branch``` check in the channel will be supported

Open VictorHuu opened this issue 2 weeks ago • 0 comments

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

VictorHuu avatar Dec 05 '25 11:12 VictorHuu