Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: extend the snap module to provide more info eg. on available tracks / risk levels and revisions #118

Open
sabaini opened this issue Feb 8, 2024 · 1 comment

Comments

@sabaini
Copy link

sabaini commented Feb 8, 2024

The snap module provides a convenient way to interact with snaps, however it's limited in the information it provides from the snap store.

E.g. you can query the SnapCache for a snap name but afaict it will only give you info for the default track and risk level

c = snap.SnapCache()
microceph_snap = c["microceph"]
print(mc)
<Snap: microceph-817.reef/stable -- SnapState.Available>

It would be great to get more info on

  • Available tracks
  • Risk levels and revisions
  • Versions
  • Available archs
@benhoyt
Copy link
Collaborator

benhoyt commented Feb 8, 2024

Hi @sabaini, thanks for the request. This sounds reasonable, however, Charm Tech has limited time to work on operator-libs-linux at the moment with our roadmap items. Often operator-libs-linux changes come from PRs submitted by devs who need the feature. Are you able to do work on this, or at least suggest how it would work and what changes would be need? We can probably get to it (we also have a new guy starting soon), but possibly not in the timeframe you'd need. Let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants