shields
shields copied to clipboard
Add [snapstore] version badge
Example badge render:
Path: http://HOST/snapstore/v/:package
A few notes:
- Takes the latest value, might be a problem with mix of channels
- Currently does not use authentication - just proof of concept, I think we will have to add macaroon auth for this PR.
- I need to add tests.
Fixes badges/shields#9103
Messages | |
---|---|
:book: | :sparkles: Thanks for your contribution to Shields, @jNullj! |
Generated by :no_entry_sign: dangerJS against 29dd792cd42c823811b4614c75b0d1ffdaac8745
I think we can get away without auth tbh. I think the macaroon auth is needed if you want to do stuff like publish snaps, for example. I'm not seeing anything that indicates the /info
endpoint is rate limited without auth. Have you seen any docs indicating otherwise?
🚀 Updated review app: https://pr-9976-badges-shields.fly.dev
This latest iteration is solid. Nice work :+1:
When will this be available? 🤔
I ran a deploy this evening It is live now https://shields.io/badges/snapcraft-version
Thank you!