[Hackage] #758: expose existing functionality: fetchPackage/unpackPackage

Hackage cvs-ghc at haskell.org
Thu Nov 4 10:40:18 EDT 2010


#758: expose existing functionality: fetchPackage/unpackPackage
---------------------------------+------------------------------------------
  Reporter:  claus               |        Owner:         
      Type:  enhancement         |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.6
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 `cabal-install` has functionality for fetching and unpacking `cabal`
 packages (`.tar.gz`, as produced by `cabal sdist`).

 It would be very helpful to expose these functions as `cabal-install`
 commands. `unpackPackage` is the more important of the two, though being
 able to fetch individual packages from URLs (think blogs, wikis, ..)
 without having to establish a full hackage-like repo would also be very
 welcome.

 Most importantly, you could remove the whole
 http://www.haskell.org/haskellwiki/How_to_unpack_a_tar_file_in_windows
 hazzle. Instead of package authors and users having to worry about whether
 some unpacker is installed client-side, everyone could just rely on
 {{{
 cabal unpack Example.tar.gz
 }}}

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



More information about the cabal-devel mailing list