Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. May 05, 2021
  2. May 04, 2021
  3. May 03, 2021
  4. May 02, 2021
    • Emily Pillmore's avatar
      Get HPC working for cabal-install · a54f9d23
      Emily Pillmore authored
      * Strips away dogfooding framework and zinza templates
      * Splits out tests into targets by as a function of running time
      * Delete TESTING.md as it no longer applies
      * Bump cabal-install.cabal to its dev template settings (base >= 4.10,
      Cabal 2.2)
      * Remove Paths_cabal_install (blocks HPC generation)
      * Add `long-tests` target to split out unit-tests and long-running
        DVCS tests.
      a54f9d23
    • Emily Pillmore's avatar
      Move cabal-install-solver to its own toplevel directory · 54696c14
      Emily Pillmore authored
      * Add Setup.hs for `cabal-install-solver`
      * Update `cabal.project` pkg path for `cabal-install-solver`
      54696c14
  5. Apr 09, 2021
  6. Apr 03, 2021
  7. Apr 01, 2021
  8. Mar 20, 2021
  9. Mar 12, 2021
  10. Mar 11, 2021
  11. Mar 10, 2021
  12. Mar 08, 2021
  13. Feb 24, 2021
  14. Feb 12, 2021
    • Alex Biehl's avatar
      Propage provenance when parsing ProjectConfig · efa1e3f1
      Alex Biehl authored
      In a project with lots of constraints it's not always obvious from
      which file a constraint is coming from. Also we are currently showing
      a big `TODO` message in place of the file name which is not nice.
      
      Prior to this patch
      
      ```
      $ cabal build all
      Resolving dependencies...
      cabal: Could not resolve dependencies:
      [__0] trying: some-package-0.24.1.2 (user goal)
      [__1] trying: foldl-1.4.8 (dependency of some-package)
      [__2] next goal: mwc-random (dependency of foldl)
      [__2] rejecting: mwc-random-0.15.0.0 (constraint from project config TODO
      requires ==0.14.0.0)
      [__2] trying: mwc-random-0.14.0.0
      [__3] next goal: math-functions (dependency of mwc-random)
      [__3] rejecting: math-functions-0.3.4.0, math-functions-0.3.3.0,
      math-functions-0.3.2.1, math-functions-0.3.2.0, math-functions-0.3.1.0,
      math-functions-0.3.0.2, math-functions-0.3.0.1, math-functions-0.3.0.0,
      math-functions-0.2.1.0, math-functions-0.2.0.2, math-functions-0.2.0.1,
      math-functions-0.2.0.0, math-functions-0.1.7.0, math-functions-0.1.6.0,
      math-functions-0.1.5.2, math-functions-0.1.5.1, math-functions-0.1.4.0,
      math-functions-0.1.3.0, math-functions-0.1.1.2, math-functions-0.1.1.1,
      math-functions-0.1.1.0, math-functions-0.1.0.0 (constraint from project config
      TODO requires ==0.3.4.1)
      [__3] fail (backjumping, conflict set: math-functions, mwc-random)
      After searching the rest of the dependency tree exhaustively, these were the
      goals I've had most trouble fulfilling: mwc-random, math-functions, foldl,
      some-package
      Try running with --minimize-conflict-set to improve the error message.
      ```
      
      Note the TODO. No idea where th constraint is coming from :(
      
      With this patch applied:
      
      ```
      Resolving dependencies...
      cabal: Could not resolve dependencies:
      [__0] trying: some-package-0.24.1.2 (user goal)
      [__1] trying: foldl-1.4.8 (dependency of some-packagge)
      [__2] next goal: mwc-random (dependency of foldl)
      [__2] rejecting: mwc-random-0.15.0.0 (constraint from project config
      /Users/a602232/git/haskell-libs/cabal.project.freeze requires ==0.14.0.0)
      [__2] trying: mwc-random-0.14.0.0
      [__3] next goal: math-functions (dependency of mwc-random)
      [__3] rejecting: math-functions-0.3.4.0, math-functions-0.3.3.0,
      math-functions-0.3.2.1, math-functions-0.3.2.0, math-functions-0.3.1.0,
      math-functions-0.3.0.2, math-functions-0.3.0.1, math-functions-0.3.0.0,
      math-functions-0.2.1.0, math-functions-0.2.0.2, math-functions-0.2.0.1,
      math-functions-0.2.0.0, math-functions-0.1.7.0, math-functions-0.1.6.0,
      math-functions-0.1.5.2, math-functions-0.1.5.1, math-functions-0.1.4.0,
      math-functions-0.1.3.0, math-functions-0.1.1.2, math-functions-0.1.1.1,
      math-functions-0.1.1.0, math-functions-0.1.0.0 (constraint from project config
      /Users/a602232/git/haskell-libs/cabal.project.freeze requires ==0.3.4.1)
      [__3] fail (backjumping, conflict set: math-functions, mwc-random)
      After searching the rest of the dependency tree exhaustively, these were the
      goals I've had most trouble fulfilling: mwc-random, math-functions, foldl,
      some-package
      Try running with --minimize-conflict-set to improve the error message.
      ```
      
      Note that we now explicitly say where the constraint is coming from!
      efa1e3f1
  15. Feb 01, 2021
  16. Jan 09, 2021
  17. Dec 28, 2020
  18. Dec 08, 2020
  19. Nov 26, 2020
  20. Nov 23, 2020
  21. Nov 19, 2020
Loading