[Hackage] #336: --constraint flag only used for configure not for install/upgrade dep planning

Hackage trac at galois.com
Tue Dec 16 18:55:12 EST 2008


#336: --constraint flag only used for configure not for install/upgrade dep
planning
---------------------------------+------------------------------------------
  Reporter:  duncan              |        Owner:                 
      Type:  defect              |       Status:  new            
  Priority:  normal              |    Milestone:                 
 Component:  cabal-install tool  |      Version:  1.2.3.0        
  Severity:  normal              |   Resolution:                 
  Keywords:                      |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.2               |     Platform:                 
---------------------------------+------------------------------------------
Comment (by duncan):

 Done. The `--constraint` flag should now be take into account for install
 and upgrade. There is no `--constraint` flag for the fetch command but it
 would be easy to add.

 {{{
 Mon Dec 15 21:56:34 GMT 2008  Duncan Coutts <duncan at haskell.org>
   * Change the dep resolver interface to pass constraints separately from
 targets
   This lets us specify constraints for packages that are not targets.

 Tue Dec 16 23:34:46 GMT 2008  Duncan Coutts <duncan at haskell.org>
   * Have the dep resolver take constraints and targets separately

 Tue Dec 16 23:50:32 GMT 2008  Duncan Coutts <duncan at haskell.org>
   * Implement cabal install --constraint=
   Connect up the existing user interface with the new dep resolver api.
 }}}

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


More information about the cabal-devel mailing list