[Hackage] #452: Improve --help. Add info about installing specific versions and the use of predicates

#452: Improve --help. Add info about installing specific versions and the use of predicates ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | ----------------------------+----------------------------------------------- It is possible to install a specific version of a package with the following syntax. cabal install <package>-<version> e.g. cabal install haskell-src-exts-0.4.3.1 However, no mention is made of this in the --help. Also, it is possible to use predicates. e.g. cabal install haskell-src- exts<=0.4 to install a particular version of a package. This should also be mentioned in the --help (along with a helpful remind to quote the ">" character with "\>" if you don't want to redirect your output in most shells! -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/452 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#452: Improve --help. Add info about installing specific versions and the use of predicates ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: normal => very easy (<1 hour) Comment: Yep. Nice easy ticket for a new cabal hacker. :-) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/452#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#452: Improve --help. Add info about installing specific versions and the use of predicates ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.6 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * milestone: => cabal-install-0.6 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/452#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#452: Improve --help. Add info about installing specific versions and the use of predicates ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: cabal-install-0.6 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Now `cabal install --help` displays this at the end: {{{ Examples: cabal install Package in the current directory cabal install foo Package from the hackage server cabal install foo-1.0 Specific version of a package cabal install 'foo < 2' Constrained package version }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/452#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage