This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Oct 01, 2015
-
-
Mikhail Glushenkov authored
Use a common sandbox for building Cabal and cabal-install.
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Always use new hackage URI
-
Benno Fünfstück authored
This commit fixes the handling of repo URIs that have a non-null uriPath. Previously, the code would just override the uriPath if the repo had one. For example, "http://hackage.haskell.org/foo" as repo would lead to the upload URI "http://hackage.haskell.org/upload". Even using `parseRelativeReference "upload"` (instead of "/upload") doesn't work, since that will replace the last path component of the URI path (i.e. "/foo/bar" would generate the URI "/foo/upload", but we want "/foo/bar/upload").
-
Benno Fünfstück authored
Previously, when uriPath was "", then the generated URI would be wrong. For example, if we have a remote repo with the URI http://hackage.haskell.org (without a trailing slash), then the previous code will generate http://hackage.haskell.orgupload for the upload URL. We now use the relativeTo function from Network.URI, which does the right thing. Additionaly, we now always rely on the new hackage URL layout. cabal now automatically upgrades the old URI to the new URI when parsing the config file, so manually checking for that is no longer needed.
-
Mikhail Glushenkov authored
Carry package dbs into testsuite
-
- Sep 30, 2015
-
-
Mikhail Glushenkov authored
Don't bootstrap Cabal, fixing #2845.
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edsko de Vries authored
This is necessary because otherwise doing a secure update will result in errors such as Unexpected response (4,0,4)for http://hackage.haskell.orgpackages/archive/root.json Alternative we could set up redirections for these in Hackage, but what's the point?
-
- Sep 29, 2015
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Sep 26, 2015
-
-
enolan authored
Prior to this patch, the testsuite used your global package db, and sometimes, the inplace package db, which led to errors if you didn't have old-time installed globally. They looked like this: BuildDeps/SameDepsAllRound: Cabal result was Result {successful = False, success = Failure, outputText = "\"/home/enolan/cabal/Cabal/tests/Setup configure --user -w /home/enolan/.nix-profile/bin/ghc\" in PackageTests/BuildDeps/SameDepsAllRound\nConfiguring SameDepsAllRound-0.1...\nSetup: At least the following dependencies are missing:\nold-time -any\n"}
-
Mikhail Glushenkov authored
Use extra-prog-path in running build-type configure
-
gershomb authored
-
gershomb authored
-
- Sep 24, 2015
-
-
ttuegel authored
Add warning about testing Cabal on Windows
-
ttuegel authored
Prevent detailed-0.9 test suites from freezing on Windows (fixes #2762)
-
kristenk authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Andres Löh authored
For a while now, we lift out dependencies from conditionals. If a package is dependended on regardless of the outcome of a test, the dependency is lifted out. This has the advantage that we can choose an instance for the package prior to choosing the value of the flag. Often, this is the desired behaviour for flags, i.e., to have the flag choice implied by the possible package choices, rather than the other way around. Prior to this change, lifting was simply adding an unconstrained dependency to such a package at a higher level, which would then of course still be refined after making the flag choice. We are now making this more precise by actually computing the union of the ranges in both branches of the conditional. So we will not choose an instance on the top level that will later be rejected by both branches.
-
Rufflewind authored
-
- Sep 23, 2015
-
-
kristenk authored
-
- Sep 22, 2015
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Add DeriveLift to Language.Haskell.Extension
-
- Sep 21, 2015
-
-
Ryan Scott authored
-
- Sep 20, 2015
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Add hasUpperBound and hasLowerBound
-
Michael Snoyman authored
This is useful for performing PVP bounds checking, especially for tooling that wants to automate such dependency bounds. A demonstration of this being used in practice is the --pvp-bounds flag for stack: https://github.com/commercialhaskell/stack/commit/c774f9905b3b112f58fc3789dfb9c26389d33b24
-
- Sep 18, 2015
-
-
ttuegel authored
Lower memory usage during index file parsing #2396
-
- Sep 17, 2015
-
-
Łukasz Dąbek authored
-
Łukasz Dąbek authored
-
Łukasz Dąbek authored
The parsePackageIndex wasn't streaming because resulting list was hidden in two constructors: Either and tuple. By removing that error semantics changed in updatePackageIndexCacheFile. The updatePackageIndexCacheFile problem was sequence call that evaluated whole list made by parsePackageIndex. By using lazySequence any error during index file parsing will be raised during writing to cache file. Also removed reacPackageIndexFile, as it wasn't used anywhere as far as I can tell. If this is a mistake I'll include it again.
-
- Sep 16, 2015
-
-
Mikhail Glushenkov authored
Revert "Exit with an error if $CABAL_SANDBOX_CONFIG does not point to extant file"
-
Mikhail Glushenkov authored
Call addInfoForKnownRepos in initialSavedConfig
-
- Sep 15, 2015
-
-
Edsko de Vries authored
We called addInfoForKnownRepos when _parsing_ a file, but not when creating the initial file. This meant that when we created an initial file, we would end up with a different internal configuration (which would not have addInfoForKnownRepos applied) than if we wrote out and then read back that same initial file (which would).
-
Edsko de Vries authored
This reverts commit 3488f593.
-
- Sep 12, 2015
-
-
Mikhail Glushenkov authored
Bump the upper bound on 'process'.
-
- Sep 11, 2015
-
-
Mikhail Glushenkov authored
Extend other-extensions documentation
-