[Hackage] #198: outline for revamp of "cabal install" and upgrade behavior

Hackage trac at galois.com
Sat Jun 7 15:05:44 EDT 2008


#198: outline for revamp of "cabal install" and upgrade behavior
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:         
      Type:  task                |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.2.3.0
  Severity:  normal              |   Resolution:         
  Keywords:                      |   Difficulty:  normal 
Ghcversion:  6.8.2               |     Platform:         
---------------------------------+------------------------------------------
Comment (by duncan):

 The current behaviour is this:

 {{{
 $ cabal install foo
 }}}
 means install the latest version of foo. If the latest version is already
 installed (and it has consistent dependencies and no broken dependencies)
 then it does nothing. If installing foo involves installing other packages
 then prefer to use any versions that are already installed. This is the
 minimal upgrade.

 {{{
 $ cabal upgrade foo
 }}}
 means install the latest version of foo. The difference from the install
 command is that for dependencies of foo it prefers the latest available
 version rather than the installed versions. This is the maximal upgrade.

 {{{
 $ cabal upgrade
 }}}
 means upgrade for all the packages currently installed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/198#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list