staversion: What version is the package X in stackage lts-Y.ZZ?

[ bsd3, development, library, program ] [ Propose Tags ]

A command-line tool to look for version numbers for Haskell packages in specific stackage resolvers. See README.md


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
network-test

Enable network tests.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.3.1, 0.1.3.2, 0.1.4.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.1.4, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.2.3.2, 0.2.3.3, 0.2.3.4, 0.2.3.5, 0.2.3.6, 0.2.3.7, 0.2.4.0, 0.2.4.1, 0.2.4.2, 0.2.4.3
Change log ChangeLog.md
Dependencies aeson (>=0.8.0 && <1.1), base (>=4.6 && <4.10), bytestring (>=0.10.0 && <0.11), containers (>=0.5.5 && <0.6), directory (>=1.2.0 && <1.3), filepath (>=1.3.0 && <1.5), http-client (>=0.4.18 && <0.6), http-client-tls (>=0.2.2 && <0.4), http-types (>=0.8.6 && <0.10), optparse-applicative (>=0.11.0 && <0.14), staversion, text (>=0.11.3 && <1.3), transformers (>=0.3.0 && <0.6), transformers-compat (>=0.4.0 && <0.6), unordered-containers (>=0.2.3 && <0.3), yaml (>=0.8.3 && <0.9) [details]
License BSD-3-Clause
Author Toshio Ito <debug.ito@gmail.com>
Maintainer Toshio Ito <debug.ito@gmail.com>
Category Development
Home page https://github.com/debug-ito/staversion
Bug tracker https://github.com/debug-ito/staversion/issues
Source repo head: git clone https://github.com/debug-ito/staversion.git
Uploaded by debugito at 2016-11-03T08:19:28Z
Distributions
Executables staversion
Downloads 12050 total (73 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-18 [all 1 reports]

Readme for staversion-0.1.1.0

[back to package description]

staversion

travis status

staversion is a command-line tool to look for version numbers for Haskell packages in specific stackage resolvers. It answers to questions like "What version is the package X in stackage lts-Y.ZZ?" It aims to make it easier to write build-depends section in YOUR_PACKAGE.cabal.

$ staversion --resolver lts-4.2 conduit
------ lts-4.2
conduit ==1.2.6.1

$ staversion --resolver lts-4.2 --resolver lts-7.0 conduit
------ lts-4.2
conduit ==1.2.6.1

------ lts-7.0
conduit ==1.2.7

$ staversion --resolver lts-4.2 --resolver lts-7.0 conduit base
------ lts-4.2
conduit ==1.2.6.1,
base ==4.8.2.0

------ lts-7.0
conduit ==1.2.7,
base ==4.9.0.0

staversion first reads build plan YAML files that are stored locally in your computer, then it tries to fetch them over network.

TODO

  • Search for the latest version numbers hosted in hackage.
  • Read build-depends sections .cabal files for package name queries.
  • Show version number ranges supported by the given resolvers.
  • Cache build plans in some local storage (SQLite?)

Author

Toshio Ito debug.ito@gmail.com