This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- May 05, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
- May 04, 2021
-
-
Patrick Augusto authored
-
Patrick Augusto authored
-
Patrick Augusto authored
-
Patrick Augusto authored
-
Emily Pillmore authored
-
Emily Pillmore authored
* Restructures the `cabal init` command to fix historical issues. All flags are preserved. * Codebases for interactive and non-interactive flags are disentangled. * Data structures now exploit relevant stanza structure and formatters only care about stanza data * Heuristics and prompts have a pure and impure implementation. * Sets default behavior to be `--interactive` as opposed to `--non-interactive`. * Rewrites tests to achieve 98% coverage * Golden files now test every stanza individually * Every flag is covered by a unit test * Interactive, simple, and non-interactive workflows are covered.
-
Francesco Gazzetta authored
-
Francesco Gazzetta authored
Fixes #7351
-
Francesco Gazzetta authored
-
- May 03, 2021
-
-
Emily Pillmore authored
-
- May 02, 2021
-
-
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.
-
Emily Pillmore authored
* Add Setup.hs for `cabal-install-solver` * Update `cabal.project` pkg path for `cabal-install-solver`
-
- Apr 09, 2021
-
-
Francesco Gazzetta authored
And don't encourage its use as much as before. Adding packages to build-depends is more often what the user wants.
-
- Apr 03, 2021
-
-
Francesco Gazzetta authored
-
- Apr 01, 2021
-
-
Bodigrim authored
-
- Mar 20, 2021
-
-
Francesco Gazzetta authored
-
- Mar 12, 2021
-
-
edmundnoble authored
-
- Mar 11, 2021
-
-
Bodigrim authored
- Mar 10, 2021
- Mar 08, 2021
-
-
Hannes Siebenhandl authored
-
- Feb 24, 2021
-
-
Teo Camarasu authored
-
- Feb 12, 2021
-
-
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!
-
- Feb 01, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
- Jan 09, 2021
-
-
Oleg Grenrus authored
-
- Dec 28, 2020
-
-
Oleg Grenrus authored
-
- Dec 08, 2020
-
-
Aiken Cairncross authored
-
- Nov 26, 2020
-
-
Oleg Grenrus authored
-
- Nov 23, 2020
-
-
Oleg Grenrus authored
-
Auri authored
-
Auri authored
-
- Nov 19, 2020
-
-
Oleg Grenrus authored
-