This is a guest blog from Konstantin Zudov, who has been making
a number of wonderful enhancements to the Stackage Server website.
Snapshot badges
for packages on Stackage
Stackage Server just got a new feature: snapshot badges. Take a
look:
stack/lts-2
:
stack/lts-3
:
stack/lts
(the latest):
stack/nightly
:
Package authors can add the badges to their
README.md
to tell users in which snapshots the package
is present and provide a link to the package page.
Here is an example of how that can be done:
# PackageName
[![packagename on Stackage LTS 2](https://stackage.org/package/packagename/badge/lts-2)](https://stackage.org/lts-2/package/packagename)
[![packagename on Stackage LTS 3](https://stackage.org/package/packagename/badge/lts-3)](https://stackage.org/lts-3/package/packagename)
[![packagename on Stackage Nightly](https://stackage.org/package/packagename/badge/nightly)](https://stackage.org/nightly/package/packagename)
In case of stack
it would look like:
Stack
Subscribe to our blog via email
Email subscriptions come from our Atom feed and are handled by Blogtrottr. You will only receive notifications of blog posts, and can unsubscribe any time.
Do you like this blog post and need help with Next Generation Software Engineering, Platform Engineering or Blockchain & Smart Contracts? Contact us.