[Hackage] #297: cabal fetch command don't fetch packages those have already been installed

Hackage trac at galois.com
Tue Jul 29 16:56:00 EDT 2008


#297: cabal fetch command don't fetch packages those have already been installed
---------------------------------+------------------------------------------
  Reporter:  chylli              |        Owner:                 
      Type:  defect              |       Status:  new            
  Priority:  normal              |    Milestone:  Cabal-1.4      
 Component:  cabal-install tool  |      Version:                 
  Severity:  normal              |   Resolution:                 
  Keywords:                      |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.2               |     Platform:                 
---------------------------------+------------------------------------------
Comment (by Isaac Dupree):

 okay, seems reasonable, although I suppose there could also be command-
 line flags to modify the behavior

 - at least, an option for if someone wants the sources of all dependencies
 that are on Hackage, even if installed, otherwise they'll be hard to get

 - or all packages that are not fully upgraded.  For example, if you have
 internet connection for a short time and it'll take your computer a while
 to build all of them.  In this case, we want the newest versions.  But if
 you want to look at the sources, it's also likely that you'll want to look
 at the currently installed versions' sources :-)

 but ignoring those additional features:

 hmm, it's been a while since I looked at the Fetch code, but IIRC it
 looked not too hard to make the simple change to default to do C, for
 someone familiar with those types -- don't count the package itself as an
 *installed* dependency.

 -Isaac

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


More information about the cabal-devel mailing list