This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Jan 21, 2008
-
-
Duncan Coutts authored
-
Duncan Coutts authored
setup configure takes a --with-compiler option, but used to change that into a --with-hc option when calling ./configure. Now that we've added autoconfUserHooks and deprecated defaultUserHooks we can fix this without breaking any existing scripts. The autoconfUserHooks now passes --with-compiler to ./configure and defaultUserHooks is unchanged. Fixes ticket #114.
-
Duncan Coutts authored
-
Duncan Coutts authored
Setup scripts should switch to simpleUserHooks or autoconfUserHooks. autoconfUserHooks now fails if ./configure is not present. defaultUserHooks does the same thing it always did.
-
- Jan 15, 2008
-
-
Duncan Coutts authored
since you can get the same effect just by setting the command's default flags to empty.
-
- Jan 21, 2008
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Also extend the check. It's now a QA error to use a license that is empty or AllRightsReserved. It's a warning to not specify a license file. It's an error for the license file to be given but not exist. Note that QA errors are not fatal for generating tarballs. But they will become fatal errors for uploading to the public hackage server. It will still be possible to use AllRightsReserved or another license on a private hackagedb.
-
- Jan 20, 2008
-
-
Lennart Kolmodin authored
Code written in a session with Duncan Coutts
-
Lennart Kolmodin authored
Much code written in a session with Duncan Coutts
-
- Jan 18, 2008
-
-
Lennart Kolmodin authored
-
- Jan 17, 2008
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
Addresses #191 (QA) and #180 (QA for missing license). This patch only adds a new exposed module, it's not yet used anywhere.
-
- Jan 20, 2008
-
-
Duncan Coutts authored
So they should be safe to remove now.
-
- Jan 13, 2008
-
-
Thomas Main DuBuisson authored
-
- Dec 31, 2007
-
-
agl authored
Fixed: http://hackage.haskell.org/trac/hackage/ticket/176
-
agl authored
-
- Jan 18, 2008
-
-
Ian Lynagh authored
-
- Jan 16, 2008
-
-
Ian Lynagh authored
-
- Jan 13, 2008
-
-
Thomas Main DuBuisson authored
-
- Jan 11, 2008
-
-
Duncan Coutts authored
-
Duncan Coutts authored
because we use the value of configUserInstall to set the default value for configPackageDB, and any value the user sets will override that.
-
- Jan 10, 2008
-
-
Duncan Coutts authored
-
Duncan Coutts authored
Previously --user and --global didn't mean what it looks like they mean, instead of doing a per-user or a global installation they just meant to register in the per-user or global package databases (and to allow dependencies to be satisfied from the per-user or global db) With this patch --user / --global means to do a per-user or global install so in addition to the package db differences it also sets the default installation prefix. This prefix can of course still be overridden using the --prefix= flag. The global prefix is as before, the default per-user prefix is $HOME/.cabal on Unix and on Windows it's something like: C:/Documents And Settings/$user/Application Data/cabal (using getAppUserDataDirectory "cabal"). This is the per-user prefix that cabal-install currently uses. We can change it if people think it's not good.
-
Duncan Coutts authored
but make it do something sensible with the ProgramConfiguration
-
Duncan Coutts authored
-
- Jan 08, 2008
-
-
David Waern authored
-
- Dec 28, 2007
-
-
Clemens Fruhwirth authored
-
Duncan Coutts authored
Spotted by Spencer Janssen
-
Duncan Coutts authored
for compatability with ghc-6.2.2
-
- Dec 27, 2007
-
-
Clemens Fruhwirth authored
-
- Dec 18, 2007
-
-
Duncan Coutts authored
--list-options no takes priority over errors in other flags and over --help this is so that it can be used consistently for command completion without returning garbage (ie error messages on ill formed partial command lines or producing --help output). Also make --list-options list all the common options appart from itself, so that's just --help at the moment.
-
- Dec 17, 2007
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
For the --enable/disable-optimi(z|s)ation flag, allow the British English spelling of the flags as an alias. The current one is still the one displayed, and it does not list bith in the --help text, though the command completion would list both. Perhaps the default should be on the basis of the current locale :-).
-
Duncan Coutts authored
It applies at the top level in which case it lists the global flags and the sub-commands. It applies for each sub-command in which case it lists the sub-command's available flags.
-
- Dec 15, 2007
-
-
Duncan Coutts authored
And specify command flags in a way that allows converting from or two strings. So not only can we parse command lines into the various flag types, we can convert back. This is crucial in cabal-install so that we can call Setup.hs scripts with all the various args, and override certain flags in a typed way rather than just representing them all as strings.
-
- Dec 08, 2007
-
-
Duncan Coutts authored
Also move commandHelp out of the structure into a helper function. Change the type of commandOptions so it doesn't include the CommonFlag. Instead, add those in whenever necessary. This makes deriving commands easier. Also fix docs.
-