[Hackage] #235: cabal list should also list installed packages
Hackage
trac at galois.com
Sun Mar 2 21:12:51 EST 2008
#235: cabal list should also list installed packages
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.2 | Platform:
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Thanks to Kolmodin's patches the output now looks like:
{{{
$ cabal list xmo
* xmobar
Latest version available: 0.8
Homepage: http://gorgias.mine.nu/repos/xmobar/
Category: System
Synopsis: A Statusbar for the XMonad Window Manager
License: BSD3
* xmonad
Latest version available: 0.6
Latest version installed: 0.6
Category: System
Synopsis: A lightweight X11 window manager.
License: BSD3
* xmonad-contrib
Latest version available: 0.6
Homepage: http://xmonad.org/
Category: System
Synopsis: Third party extensions for xmonad
License: BSD3
}}}
Or just listing installed packages:
{{{
$ cabal list xmo --installed
* xmonad
Latest version available: 0.6
Latest version installed: 0.6
Category: System
Synopsis: A lightweight X11 window manager.
License: BSD3
}}}
And the machine readable output:
{{{
$ cabal list xmo --simple-output
xmobar 0.3
xmobar 0.3.1
xmobar 0.4
xmobar 0.5
xmobar 0.6
xmobar 0.7
xmobar 0.8
xmonad 0.1
xmonad 0.2
xmonad 0.3
xmonad 0.4
xmonad 0.4.1
xmonad 0.5
xmonad 0.6
xmonad-contrib 0.5
xmonad-contrib 0.6
}}}
{{{
$ cabal list xmo --simple-output --installed
xmonad 0.5
xmonad 0.6
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/235#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list