[Hackage] #612: cabal fetch without recursive package download

Hackage trac at galois.com
Fri Nov 27 17:54:29 EST 2009


#612: cabal fetch without recursive package download
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:           
      Type:  enhancement         |       Status:  closed   
  Priority:  normal              |    Milestone:           
 Component:  cabal-install tool  |      Version:  1.6.0.1  
  Severity:  normal              |   Resolution:  duplicate
  Keywords:                      |   Difficulty:  unknown  
Ghcversion:                      |     Platform:           
---------------------------------+------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 Of course if you're using it just to inspect the contents of the package
 then you can use `cabal unpack blah`.

 The fetch command is mainly so you can install packages when offline, so
 in that case you do really need the dependencies or you'll end up
 screaming and shouting when you get on the train and find that not all the
 deps were downloaded.

 Of course we could possibly print a message in the case that fetch cannot
 resolve deps to suggest unpack.

 It would also be possible of course to have a no-deps flag, see the
 existing ticket on this issue #423.

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


More information about the cabal-devel mailing list