
#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 duncan): So yes, there are two overloaded purposes here. One is to get the source of a package so you can play with it, read it etc. The other is so that you can fetch packages while your online with the intention of building them later while offline. For both cases we need at least the sources for the uninstalled dependencies since part of studying would be trying to compile and run it, which will need the deps. As for all dependencies, how far would you go? Do you really want the sources of all the core libs if you didn't happen to have those sources already? I suspect not. That's not necessary to study or build the package of interest. So actually yes, I think we do want option C since that covers both uses cases fine. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/297#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects