This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 30 Apr, 2008 5 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Clearer code and a wider interface to give more control.
-
Duncan Coutts authored
so we do not accidentally inherit the default flags for the underlying configure command when we in fact want the empty flags. I am beginning to suspect that having any defaults at all was a mistake.
-
Duncan Coutts authored
We do not want to pass a load of default command line flags. We only want to pass flags where we're overriding the defaults. Also it's because old Cabal versions do not understand new flags.
-
- 24 Apr, 2008 1 commit
-
-
Duncan Coutts authored
Make it usable for callers that want to check properties before constructing an InstallPlan.
-
- 23 Apr, 2008 1 commit
-
-
Duncan Coutts authored
-
- 20 Apr, 2008 1 commit
-
-
Duncan Coutts authored
-
- 14 Apr, 2008 3 commits
-
-
Duncan Coutts authored
This is joint work with Kolmodin. An InstallPlan records what we want to install and records the outcome of installing packages. It has a fairly strict internal invariant which should guarantee that each package can be configured sucessfully.
-
Duncan Coutts authored
The install --only doesn't do any planning or build reporting so make it completely separate so we do not have to make up fake build plans or results.
-
Duncan Coutts authored
Rather than using global 'constants' for the current os and arch.
-
- 13 Apr, 2008 3 commits
-
-
Duncan Coutts authored
Externally we currently use a DepGraph, though we'll move to a InstallPlan. This is a step towards making it easier to swap in different package dependency resolution algorithms. Because we're hiding ResolvedDependency we have to disable the extended Hackage.Info stuff for the moment.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 12 Apr, 2008 1 commit
-
-
unknown authored
-
- 30 Mar, 2008 1 commit
-
-
sjanssen@cse.unl.edu authored
-
- 29 Mar, 2008 3 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 27 Mar, 2008 1 commit
-
-
Duncan Coutts authored
-
- 25 Mar, 2008 1 commit
-
-
Duncan Coutts authored
Mostly just changing showVersion, showPackageId to display instead
-
- 20 Mar, 2008 1 commit
-
-
Saizan authored
The baseDir was passed instead of the full path.
-
- 19 Mar, 2008 7 commits
-
-
Duncan Coutts authored
-
mnislaih authored
This patch takes advantage of the new OptionField structure in Distribution.Simple.Command to provide support for all the configure command line options in the .cabal/config file. This has a global effect on all the packages managed by cabal-install. The ticket also mentions support for per-package sections in the config file. This patch does not take care of that.
-
Duncan Coutts authored
When installing a bunch of package we have to catch exceptions since we carry on building other packages that did not depend on the failing package. We were recording what phase the failure was in but not the actual exception. We now record that too and print it along with the more general explanation of what package failed and in which phase. It's not perfect, eg when a package fails to compile we end up printing that the exception was "ExitFailure 1" which is not very useful.
-
Duncan Coutts authored
We always know the base path for construction or extraction so don't bother using Maybe FilePath. Also use GZip qualified.
-
Duncan Coutts authored
The current directory is a global variable, we should not mutate it. So instead, pass a base and relative path when generating tar entries. Also change sanitizePath to be pure and use FilePath.Poisx.
-
Duncan Coutts authored
Use lazy bytestring when packing tar entry headers rather than strict and then making a single chunk lazy bytestring later. The lazy bytestring pack will only generate a single chunk for a String that short (<4k). Use openBinaryFile rather than openFile + hSetBinaryMode. Add a haddock module header with copyright note.
-
Duncan Coutts authored
-
- 18 Mar, 2008 2 commits
- 12 Mar, 2008 1 commit
-
-
Duncan Coutts authored
That is, allow quoted and unquoted paths.
-
- 06 Mar, 2008 1 commit
-
-
Saizan authored
It also adds the internal flag --only so we can avoid building a setup when build-type == Simple.
-
- 07 Mar, 2008 1 commit
-
-
byorgey authored
-
- 10 Mar, 2008 2 commits
-
-
Duncan Coutts authored
+1 for using the same version of the ReadP lib everywhere, previously we would only have noticed this type error with nhc98.
-
Duncan Coutts authored
It tells you what to do if you don't supply any args, rather than doing nothing and it check for simple mistakes and gives helpful error messages.
-
- 06 Mar, 2008 1 commit
-
-
Duncan Coutts authored
-
- 05 Mar, 2008 2 commits
-
-
byorgey authored
-
Duncan Coutts authored
-
- 03 Mar, 2008 1 commit
-
-
Duncan Coutts authored
-