This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 02 Aug, 2008 2 commits
-
-
Duncan Coutts authored
Now uses a single code path for both modes.
-
Duncan Coutts authored
-
- 30 Jul, 2008 8 commits
-
-
Duncan Coutts authored
Eg can use cabal install foo --log-builds='$pkgid-$compiler.log' and the build log for each package will written to a separate file. If an existing file is given then the log is appended. This or something like it should help in future with build reporting of the non-anonymous kind.
-
Duncan Coutts authored
-
Duncan Coutts authored
The path to the binary we're running must be accessable from that other directory. The fix is to use currentDir </> setup
-
Duncan Coutts authored
Rather than calling inDir directly.
-
Duncan Coutts authored
For the internal method, change to the right working dir if necessary.
-
Duncan Coutts authored
Except for optionDryRun which is shared with another command.
-
Duncan Coutts authored
or for using a diiferent initial working directory. We already need to use a different working dir and this would allow us to spawn multiple setup processes for parallel builds each with their own working dir. Also, we want to be able to capture the output of builds. At the moment our internal logging framework is not capable of redirecting, but if we launch a process we redirect its output to a file. This should be useful for build reporting where we want logs for each individual package.
-
Duncan Coutts authored
And tidy some imports slightly
-
- 25 Jul, 2008 1 commit
-
-
gwern0 authored
-
- 23 Jun, 2008 1 commit
-
-
Duncan Coutts authored
Should now return a proper error rather than an internal error from the HTTP library.
-
- 19 Jun, 2008 1 commit
-
-
Duncan Coutts authored
-
- 18 Jun, 2008 1 commit
-
-
Duncan Coutts authored
-
- 17 Jun, 2008 2 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 16 Jun, 2008 5 commits
-
-
Duncan Coutts authored
User installs by default elsewhere. Note that this default only affects new config files. Existing windows users will need to change their config file or delete it and let it be re-created.
-
Duncan Coutts authored
The bogusResolver is used for compilers like hugs and nhc98 where we do not know what packages are already installed. We do it by altering the descriptions of the packages we're going to install to remove all of their dependencies. Doing this gives us a valid install plan. We rely on hope to minimise the difference between this install plan and reality.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Takes account of the ProxyEnabled reg key Allow proxy uris that lack the http:// uri schema. This should really be moved into the HTTP package.
-
- 13 Jun, 2008 1 commit
-
-
Duncan Coutts authored
-
- 12 Jun, 2008 5 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 10 Jun, 2008 6 commits
-
-
Duncan Coutts authored
so it now actually works to say: $ cabal install foo -fbar
-
Duncan Coutts authored
We don't actually have per-package flags yet. All -f flags on the install/upgrade command line apply to every paclage.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Don't bother putting the server url into each report since we do not want to upload that information anyway.
-
Duncan Coutts authored
and add a function to parse a whole logfile of reports
-
- 09 Jun, 2008 1 commit
-
-
Duncan Coutts authored
-
- 08 Jun, 2008 3 commits
-
-
Duncan Coutts authored
This is so that we remember which server to send the reports to. This is pretty important if you're using a private as well as a public hackage server.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 07 Jun, 2008 2 commits
-
-
Duncan Coutts authored
Instead of just using the latest version we use the best version according to the following preferences in priority order: - the same version as cabal-install was itself built with - the same major version number as cabal-install was built with - a stable version of Cabal (even second digit of major number) - the latest version
-
Duncan Coutts authored
The available package index is loaded lazily so if we can avoid forcing all the packages then we can save a huge amount of slow text parsing. So select out the maximal subset of the index that we could ever need based on the names of the packages we want to install. For the common case of installing just one or two packages this cuts down the number of packages we look at by a couple orders of magnitude. This does not help with the installed index which is read strictly, though most people do not (yet) have hundreds of installed packages, so that's less of an immediate problem.
-
- 06 Jun, 2008 1 commit
-
-
Duncan Coutts authored
-