[Hackage] #423: add option to fetch a single package without
dependencies
Hackage
trac at galois.com
Tue Jan 13 10:39:49 EST 2009
#423: add option to fetch a single package without dependencies
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: minor | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.10.1 | Platform:
---------------------------------+------------------------------------------
Comment (by duncan):
I think we do not need this feature. I think there are basically two use
cases:
* fetch a package so that we can install it later when offline
* fetch a package so that we can study it, change it, etc
The first case requires dependencies. The second one does not.
The first use case is handled by `cabal fetch`. The second one should be
handled by `cabal unpack` (see #390) or `cabal fetch -o ./` (see #453).
That said, perhaps one way to organise this is with two modes, one that
gets deps and one that does not. Then we have the default for the first
use case use deps and for the second not do. But reversing the default
could be done with a command line arg. I expect it's not necessary though.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/423#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list