highlight-versions: Highlight package versions which differ from the latest version on Hackage

[ bsd3, deprecated, distribution, program ] [ Propose Tags ]

This package provides an executable which reads from stdin and outputs the same thing to stdout, except that any lines which look like package identifiers (e.g. foo-0.3.2) are highlighted: red if the version is less than the version on Hackage, green if equal, or cyan if greater. In addition, when the versions are unequal the Hackage version is shown in blue.

In particular, it can be useful to pipe the output of cabal(-dev) install --dry-run through this program, to aid in checking the install plan. It's usually a good idea to understand why an outdated package is being installed; otherwise it can indicate that something needs to be updated.

PLEASE NOTE that highlight-versions does not actually consult Hackage, but rather your local index of Hackage cached by cabal. You must call 'cabal update' to be sure that highlight-versions has access to the latest information about package versions on Hackage.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,, 0.1.3,,,,,,, 0.1.4
Change log CHANGES
Dependencies ansi-terminal (>=0.5 && <0.9), base (>=4 && <5), Cabal (>=2.2 && <2.3), containers (>=0.4 && <0.6), hackage-db (>=2 && <2.1) [details]
License BSD-3-Clause
Copyright Copyright 2012 Brent Yorgey
Author Brent Yorgey
Maintainer byorgey@gmail.com
Category Distribution
Source repo head: darcs get http://hub.darcs.net/byorgey/highlight-versions
Uploaded by BrentYorgey at 2018-07-27T16:56:02Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables highlight-versions
Downloads 10788 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-07-27 [all 3 reports]