Stackage Badges.

Posted by Michael Snoyman - 19 October, 2015

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-2 badge
  • stack/lts-3: Stack lts-3 badge
  • stack/lts (the latest): Stack lts badge
  • stack/nightly: Stack nightly badge

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](http://stackage.org/package/packagename/badge/lts-2)](http://stackage.org/lts-2/package/packagename)
[![packagename on Stackage LTS 3](http://stackage.org/package/packagename/badge/lts-3)](http://stackage.org/lts-3/package/packagename)
[![packagename on Stackage Nightly](http://stackage.org/package/packagename/badge/nightly)](http://stackage.org/nightly/package/packagename)

In case of stack it would look like:


Stack

stack on Stackage LTS 2 stack on Stackage LTS 3 stack on Stackage Nightly




Recent Posts

Devops FedRAMP Compliance and making your migration to govcloud successful

read more

DevOps Security and Privacy Strategies

read more

Implementing pid1 with Rust and async/await

read more

BlockChain Success Program Enrollment

Any content could go in here.

×