[Hackage] #623: when a package is already installed,
print the version as well
Hackage
trac at galois.com
Tue Jan 12 13:44:43 EST 2010
#623: when a package is already installed, print the version as well
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.6.0.1
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
---------------------------------+------------------------------------------
At the moment, when a package is already installed, '''cabal-install'''
prints a message like the following:
{{{
> cabal install 'HaXml>1.3'
Resolving dependencies...
No packages to be installed. All the requested packages are already
installed.
If you want to reinstall anyway then use the --reinstall flag.
}}}
It would be helpful to print the version(s) of the requested package(s) as
well.
One case where this would be useful is to help the user realise that a
preferred-version entry is in effect - in the case above, the version of
!HaXml selected would be 1.13.3, while the latest version on hackage is
1.20.
The output could look like this:
{{{
> cabal install 'HaXml>1.3'
Resolving dependencies...
No packages to be installed. All the requested packages are already
installed, in particular:
HaXml-1.13.3
If you want to reinstall anyway then use the --reinstall flag.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/623>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list