
#453: "cabal fetch" should take output arguments ---------------------------------+------------------------------------------ Reporter: gregorycollins | Owner: Type: enhancement | Status: new Priority: high | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: easy (<4 hours) => very easy (<1 hour) Comment: And I should note that it's actually really very easy. Adding an extra command line arg is easy as is adding the plumbing to get the info to the right place. The only tricky thing is that for `fetch -o` we do not care about dependencies so we should use the logic for `unpack` rather than the normal `fetch`. Bonus points for refactoring to unify the two methods and using a parameter to specify if we want to download deps into the cache too. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/453#comment:9 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects