Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Apr 03, 2016
    • kristenk's avatar
      Simplify representation of test suites in the solver DSL · 931b5a19
      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'.
      931b5a19
  2. Mar 31, 2016
  3. Mar 29, 2016
  4. Mar 12, 2016
    • Edsko de Vries's avatar
      Change structure of package paths · 3d2ad8e0
      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.
      3d2ad8e0
    • Edsko de Vries's avatar
      Introduce unit tests that illustrate the problem · 37978a6c
      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.
      37978a6c
  5. Mar 05, 2016
    • inaki's avatar
      Make the solver aware of pkg-config constraints · c72aa8db
      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.
      c72aa8db
  6. Feb 20, 2016
  7. Feb 16, 2016
  8. Jan 16, 2016
  9. Jan 14, 2016
  10. Dec 26, 2015
  11. Nov 25, 2015
  12. Jun 01, 2015
  13. Apr 07, 2015
  14. Apr 06, 2015
  15. Mar 27, 2015
Loading