[Hackage] #456: `cabal info pkg` command
#456: `cabal info pkg` command ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: easy (<4 hours) | Ghcversion: 6.8.3 Platform: | ---------------------------------+------------------------------------------ The output for `cabal list` cannot be too verbose or it looses its purpose as a search. For details on an individual package we could use `cabal info foo` instead. This could present the info for the package in greater detail. For example, most of the meta-data from the .cabal file or installed package info. In particular the bug report url (#449) and the location of any installed documentation (#361). Alternatively we could do this in `cabal list` with some flag to get more detailed information. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/456> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#456: `cabal info pkg` command ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: easy (<4 hours) => very easy (<1 hour) Comment: Mostly done, a few TODOs left. For example: {{{ cabal info xmonad * xmonad Latest version available: 0.8 Latest version installed: [ Not installed ] Homepage: http://xmonad.org Bug reports: [ Not specified ] Description: xmonad is a tiling window manager for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximising screen use. All features of the window manager are accessible from the keyboard: a mouse is strictly optional. xmonad is written and extensible in Haskell. Custom layout algorithms, and other extensions, may be written by the user in config files. Layouts are applied dynamically, and different layouts may be used on each workspace. Xinerama is fully supported, allowing windows to be tiled on several screens. Category: System License: BSD3 Author: Spencer Janssen Maintainer: xmonad@haskell.org Source repo: [ Not specified ] Executables: xmonad Flags: small_base, testing Dependencies: X11 >=1.4.1, mtl -any, unix -any, base >=3, containers -any, directory -any, process -any, base <3, random -any, QuickCheck <2 Downloaded: No Modules: XMonad XMonad.Config XMonad.Core XMonad.Layout XMonad.Main XMonad.ManageHook XMonad.Operations XMonad.StackSet }}} The dependencies are a bit odd at the moment because they're flattened. I'm not quite sure about the `Downloaded` field. It's to indicate if the tarball for the latest version has already been downloaded, ie if installing it will need network access. Suggestions on improved wording. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/456#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#456: `cabal info pkg` command ---------------------------------+------------------------------------------ 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: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Fri Jan 23 00:48:10 GMT 2009 Duncan Coutts <duncan@haskell.org> * Fix some FIXMEs and do some TODOs in the list command Now properly prints if the haddock docs are installed and if the tarball is cached. It did print them before but it was lying. }}} The printing of dependencies is a bit dodgy but will do for now. Really we should print conditional dependencies properly. They should also be simplified. This should be a lot easier to do using the infrastructure changes planned for Cabal-1.8. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/456#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage