haskell-hedgehog icon indicating copy to clipboard operation
haskell-hedgehog copied to clipboard

Hackage badge is broken

Open jacobstanley opened this issue 8 years ago • 2 comments

The shields.io server doesn't parse .cabal files in a particularly robust way, so it can't figure out the version number of Hedgehog.

I'd like to keep the formatting that we have for the hedgehog.cabal file, so it would be good to fix the shields.io cabal file parser at some point. Essentially is should be changed to find the word following /^version:/, rather than what it does currently, which is assume that the whole thing is on one line.

jacobstanley avatar May 06 '17 02:05 jacobstanley

Dancing around the problem: one can fudge a hackage badge with a version number manually with

[hackage-png]: https://img.shields.io/badge/hackage-v0.2.2.0-orange.svg

HuwCampbell avatar May 30 '17 22:05 HuwCampbell

Dancing around the problem: one can fudge a hackage badge with a version number manually with

This is what i've done for now, would still like to get it fixed upstream though.

jacobstanley avatar Jun 11 '17 02:06 jacobstanley