This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Apr 03, 2016
-
-
kristenk authored
This commit removes the 'ExTest' constructor from 'ExampleDependency'. Test dependencies are now represented using the same 'ExampleDependency' constructors as library dependencies. The only difference between dependencies of different components is that they are placed under different keys in 'D.C.ComponentDeps.ComponentDeps'.
-
- Mar 31, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Mar 29, 2016
-
-
kristenk authored
-
- Mar 12, 2016
-
-
Edsko de Vries authored
A package path now consists of a namespace and a qualifier. The namespace is either DefaultNamespace or Independent _i_, for some _i_; this is used for independent top-level goals. Then the qualifier is either Unqualified (default), Setup _pn_ for the setup dependencies of package _pn_, or Base _pn_, for a dependency on base by package _pn_ (used only when we detect the presence of a base shim). Qualifiers are not tested anymore. This avoids non-termination in the solver. The unit tests now pass.
-
Edsko de Vries authored
In #3170 we introduced a cycle check to the solver. This check is necessary to reject cycling solutions (which would previously have resulted in an internal error when we verify the install plan). However, this by itself is not sufficient. If we have a cycle through setup dependencies, the solver loops because it starts building an infinite tree. This is explained in detail in In this commit we just add some unit tests that provide a minimal example that exposes the bug.
-
- Mar 05, 2016
-
-
inaki authored
When solving, we now discard plans that would involve packages with a pkgconfig-depends constraint which is not satisfiable with the current set of installed packages (as listed by pkg-config --list-all). This fixes https://github.com/haskell/cabal/issues/3016. It is possible (in principle, although it should be basically impossible in practice) that "pkg-config --modversion pkg1 pkg2... pkgN" fails to execute for various reasons, in particular because N is too large, so the command line becomes too long for the operating system limits. If this happens, revert to the previous behavior of accepting any install plan, regardless of any pkgconfig-depends constraints.
-
- Feb 20, 2016
-
-
Edsko de Vries authored
-
- Feb 16, 2016
-
-
Mikhail Glushenkov authored
-
- Jan 16, 2016
- Jan 14, 2016
-
-
kristenk authored
-
kristenk authored
'DSL.exResolve' now takes a 'Maybe [Extension]' for supported extensions and a 'Maybe [Language]' for supported languages. 'Nothing' means that extensions/languages are not checked by the solver, and 'Just []' means that no extensions/languages are allowed.
-
kristenk authored
-
- Dec 26, 2015
-
-
martinvlk authored
-
- Nov 25, 2015
-
-
Danny Navarro authored
This also includes modifications to the solver testing DSL and the testing functions. This is necessary for merging PR #2732.
-
- Jun 01, 2015
-
-
Edsko de Vries authored
Addresses https://github.com/haskell/cabal/pull/2500#commitcomment-10817840.
-
- Apr 07, 2015
-
-
Edsko de Vries authored
-
- Apr 06, 2015
-
-
Edsko de Vries authored
-
- Mar 27, 2015
-
-
Edsko de Vries authored
This address @23Skidoo's comment https://github.com/haskell/cabal/pull/2500#issuecomment-8703532
-
Edsko de Vries authored
Since we didn't really have a unit test setup for the solver yet, this introduces some basic tests for solver, as well as tests for independent goals specifically.
-