[Hackage] #524: support file, directory and url targets for packages and .cabal files

Hackage cvs-ghc at haskell.org
Mon Feb 14 17:31:59 CET 2011


#524: support file, directory and url targets for packages and .cabal files
---------------------------------+------------------------------------------
  Reporter:  duncan              |        Owner:                     
      Type:  enhancement         |       Status:  closed             
  Priority:  normal              |    Milestone:  cabal-install-0.10 
 Component:  cabal-install tool  |      Version:  1.6.0.1            
  Severity:  normal              |   Resolution:  fixed              
  Keywords:                      |   Difficulty:  very hard (<1 week)
Ghcversion:                      |     Platform:                     
---------------------------------+------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * difficulty:  hard (< 1 day) => very hard (<1 week)
  * resolution:  => fixed
  * milestone:  => cabal-install-0.10


Comment:

 Added support for:
  * local package directories
  * local cabal files
  * local tarballs
  * remote tarballs

 This applies to the install, fetch, info and unpack commands.

 Not implemented is alternate targets for the `list` command, or remote
 .cabal targets for the `info` command (opened as #804).

 {{{
 Sun Feb 13 19:41:50 GMT 2011  Duncan Coutts <duncan at community.haskell.org>
   * Add a new module for handling user targets
   This will allow us to increase the range of targets that cabal
   commands can support. The new ones are local directory targets,
   local cabal files, local tarballs and remote tarballs by URL.
   Also a better way of doing the special "world" target.

 Sun Feb 13 19:46:27 GMT 2011  Duncan Coutts <duncan at community.haskell.org>
   * Partial rewrite of cabal list and info commands
   The new user target system requires a change in how cabal info works.
   Instead of just giving package names and looking them up in the
   available package index, we can now specify names with versions or
   version constraints which means we want the info to be about that
   version in particular. We now list many installed and available
   versions and mark which ones are preferred or not. Also fix a bug
   for packages that are only installed, not available.

 Sun Feb 13 19:50:09 GMT 2011  Duncan Coutts <duncan at community.haskell.org>
   * New interface to the dep resolver that allows modular policy
 construction
   Allows shorter and clearer code for the various ways the resolver is
 used.

 Sun Feb 13 22:49:55 GMT 2011  Duncan Coutts <duncan at community.haskell.org>
   * Use the new modular dep resolver interface in the various commands
   Also minor tweak to InstallPlan.remove
 }}}

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



More information about the cabal-devel mailing list