[Hackage] #336: --constraint flag only used for configure not for install/upgrade dep planning
#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 | Keywords: Difficulty: easy (<4 hours) | Ghcversion: 6.8.2 Platform: | ---------------------------------+------------------------------------------ It would be relatively easy to support the `--constraint=DEP` flag as an input to install/upgrade dependency planning. We should do it because it's useful and it's confusing that it's not supported. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/336> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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): Indeed it's pretty much essential for constraints when installing the package in the current directory. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/336#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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@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@haskell.org> * Have the dep resolver take constraints and targets separately Tue Dec 16 23:50:32 GMT 2008 Duncan Coutts <duncan@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
#336: --constraint flag only used for configure not for install/upgrade dep planning ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/336#comment:3> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage