[Hackage] #393: Allow --preference= flags for soft constraints
#393: Allow --preference= flags for soft constraints ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: easy (<4 hours) | Ghcversion: 6.8.3 Platform: | ---------------------------------+------------------------------------------ `cabal install` now uses soft preferences from a `preferred-versions` file in the hackage index. It would sometimes be useful to also be able to specify these on the command line. It shouldn't be too hard since the solver already accepts such soft- constraints. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/393> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#393: Allow --preference= flags for soft constraints ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Thu Dec 18 20:49:17 GMT 2008 Duncan Coutts <duncan@haskell.org> * Generalise the way preferences are specified to the resolver We still provide a default global policy, but now we give a list of per-package preferences which can be on the version or installed state. Later preferences override earlier ones. Thu Dec 18 21:38:49 GMT 2008 Duncan Coutts <duncan@haskell.org> * Add a install/upgrade --preference='foo < 2' flag This behaves just like the preferred-versions file in the hackage index but it can be specified on the command line or in a config file. }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/393#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage