[Hackage] #198: cabal install foo should upgrade foo if there's
a newer version
Hackage
trac at galois.com
Mon Dec 31 17:55:02 EST 2007
#198: cabal install foo should upgrade foo if there's a newer version
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform: Linux
---------------------------------+------------------------------------------
Old description:
> if I have foo-1.0 installed, and foo-2.0 is available, "cabal install
> foo" should upgrade foo to version 2.0
New description:
As in #168
if I have foo-1.0 installed, and foo-2.0 is available, "cabal install foo"
should upgrade foo to version 2.0
1. If the user specifies a package without a version, and a newer version
is available on Hackage, that newer version should be installed.
2. If the system is installing dependencies on "foo", if the dependency
can be satisfied locally, do not install the "hackage" version, even if
it's newer.
1. If a user specifies a specific version
1. if that version is available locally, use that
1. if a user specifies a version range
1. if that version can be satisfied locally, but not from hackage, use
the local version
1. if a newer version on Hackage satisfies the dependency too, install
that.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/198#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list