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

#612: cabal fetch without recursive package download ---------------------------------+------------------------------------------ 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: | ---------------------------------+------------------------------------------ Sometimes I want to install a package from Hackage and the dependencies cannot be satisfied. Thus 'cabal install' refuses to work. Now I like to download the package in order to inspect the Cabal file. Sometimes it contains switches that may reduce dependencies, or I can add such switches, say because the offending dependencies only apply to the test executables or examples. However, also 'cabal fetch' refuses to work, because the dependencies cannot be resolved. Thus I like to say something like 'cabal fetch --disable-recursive-download package'. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/612 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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
participants (1)
-
Hackage