This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 27 Apr, 2016 3 commits
-
-
bardur.arantsson authored
-
bardur.arantsson authored
-
Mikhail Glushenkov authored
Move most solver code to new module namespace
-
- 26 Apr, 2016 3 commits
-
-
Mikhail Glushenkov authored
-
bardur.arantsson authored
-
Mikhail Glushenkov authored
Resolve tar-entry masking in `packageListFromCache`
-
- 25 Apr, 2016 6 commits
-
-
Mikhail Glushenkov authored
-
Herbert Valerio Riedel authored
This should address #2956 and is motivated by #3378
-
Mikhail Glushenkov authored
Move BooleanFlag from D.C.Types to D.S.Setup
-
kristenk authored
-
Mikhail Glushenkov authored
Use newtypes for Bool solver options
- 24 Apr, 2016 3 commits
-
-
kristenk authored
-
Mikhail Glushenkov authored
Enable solver quickcheck tests in continuous integration
-
kristenk authored
-
- 23 Apr, 2016 12 commits
-
-
Mikhail Glushenkov authored
Test reinstalling modified add-source dependencies
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
[ci skip]
-
kristenk authored
-
kristenk authored
-
Mikhail Glushenkov authored
[ci skip]
-
(cherry picked from commit d73aa7cb)
-
Mikhail Glushenkov authored
Port #3370 to master
-
During planning we calculate the nix-style package ids by hashing everything. A crucial component of the package id hashes is the hash of the package source, which currently is just hashes of tarballs. For packages from hackage repos we currently have to download the tarballs after running the solver but before elaborating the install plan. So we have the slightly surprising behaviour that doing cabal (new-)build --dry-run will already download the packages. With packages from repos that support the new TUF-based format we do have hashes available up front as part of the repo metadata / index, without having to download the tarballs and hash them. This patch takes advantage of secure TUF repos to get the package source hashes without having to download tarballs. For classic non-secure repos it has the same old behaviour of downloading up front. (cherry picked from commit 2e4533a0)
-
Andres Löh authored
Add quickcheck test to compare dependency solving with and without backjumping
-
Edsko de Vries authored
Fix construction of conflict sets once and for all (WIP)
-
kristenk authored
-
- 22 Apr, 2016 13 commits
-
-
Andres Löh authored
-
Andres Löh authored
-
Andres Löh authored
Added this so that we can verify the unknown package error.
-
Andres Löh authored
In several places where we used to work with Goals mainly to maintain the goal reasons for constructing conflict sets, we can now do so without, and just use Vars instead. This also has the advantage that when creating dependencies during index conversion, we now do not have to invent goal reasons. We used to do that by having an "Unknown" goal reason. This is now no longer necessary.
-
Andres Löh authored
This is relevant for unknown packages. Without the current goal in the initial conflict set, the unknown package itself does not end up in its own conflict set. But we want it to, if only to make sure that the error slicing machinery keeps the message about the unknown goal around. It is also the correct thing to do. The initial conflict set corresponds to a virtual "avoid" choice underneath the package goal. That choice corresponds to avoiding assigning any proper value to the goal at all, which might be possible if the goal was not needed. The conflict set for this "avoid" goal is always between the current package and its immediate goal reason. I have added comments to the code explaining this as well.
-
Andres Löh authored
-
-
Edsko de Vries authored
-
Edsko de Vries authored
-
Edsko de Vries authored
-
Edsko de Vries authored
-
Edsko de Vries authored
-
Edsko de Vries authored
-