Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Feb 19, 2022
    • Andrea Bedini's avatar
      Avoid templating GitHub Actions workflow (#7952) · 65318cc6
      Andrea Bedini authored
      * Avoid templating GitHub Actions workflow
      
      GitHub Actions workflow have sufficient power to express what we need.
      We don't need to maintain and additional templating solution on top.
      
      * Add GHC 9.2, bump bounds, fix syntax
      
      * Switch to official haskell image
      
      * Always run cli tests for ghc 8.2 and above
      
      * Remove step to regenerate GitHub Actions workflows
      
      * Fix missed reference to GHC version
      
      * Fix yaml syntax
      
      * Fix type in the GHC version
      
      * More CI changes
      
      - Run bootstrap.yml on ubuntu-latest
      - Use explicit matrix for linux.yml
      - Drop containers in favour of haskell setup action
      - Drop workaround for ancient git
      
      * Remove unneeded package from CI setup
      
      I belive this is only necessary to run `cabal man` which we do not in
      the CI.
      
      * Drop old GHCs from the CI
      
      * Switch macos.yml to haskell/action/setup
      
      Also add the same GHC versions as Linux.
      
      * Simplify CI
      
      - Remove cabal-plan, we actually never call it (I think)
      - Remove vendored cabal-doctest
      - Remove few stray allow-newer clauses no longer necessary, apparently
      
      Originally done by @gbaz in PR #7907.
      
      * Mark GHC 9.2.1 as experimental
      
      * Remove reference to cabal-plan from validate.sh
      
      * setup-haskell action already runs cabal update
      
      * Add missing build matrix in test-windows-dogfood
      
      * Replace cabal-plan list-bin with cabal list-bin
      
      * Enable caching in the CI
      
      * Fix typo
      
      * Remove continue-on-error until I figure it out
      
      * Keep naming consistent
      
      * Temporarily disable 8.0.2 on macos
      
      * Add missing step id
      
      * Tweaks
      
      Remove workaround for nektos/act, it accidentally sneaked in.
      
      * More tweaks
      
      * Tweaks
      
      * Restore cabal-plan, temporarily mark everything experimental
      
      cabal list-bin doesn't seem to work like cabal-plan does.
      
      * Tweaks
      
      * Ensure cabal-plan executable gets built
      
      * Install automake on MacOS
      
      * Tweaks
      
      * Tweaks
      
      Link experimental flags to relative GitHub issues
      
      * Fix typo
  2. Jan 26, 2022
  3. Sep 10, 2021
  4. Jun 02, 2021
  5. May 04, 2021
    • Emily Pillmore's avatar
      Rewrite `cabal init` command · 10687555
      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.
      10687555
  6. May 02, 2021
  7. Nov 23, 2020
  8. Oct 15, 2020
  9. Oct 13, 2020
    • Oleg Grenrus's avatar
      Move tests from Cabal to Cabal-tests package · 579bff0c
      Oleg Grenrus authored
      The are various motivation points:
      - I'm not aware anyone third party running Cabal tests (maybe nixpkgs?)
      - No need to do gen-extra-source-files, as Cabal-tests is not distributed
      - No multiple rebuilds of Cabal-QuickCheck, Cabal-tree-diff
      - Slightly smaller Cabal sdist (which is quite big still)
      579bff0c
  10. Jul 22, 2020
  11. May 13, 2020
    • Oleg Grenrus's avatar
      Create Cabal-described · f7ee3c1a
      Oleg Grenrus authored
      Move Described functionality there, out of Cabal the library.
      Similarly cabal-install doesn't contain Described instances,
      they are only in tests.
      f7ee3c1a
  12. May 12, 2020
    • Oleg Grenrus's avatar
      Create Cabal-tree-diff package · 6748dce7
      Oleg Grenrus authored
      Move Cabal instances from cabal-install TreeDiffInstances into it.
      Remove defaultToExprViaShow to get better diffs and dumps
      
      Also rename Cabal-QuickCheck (proper case), and add GenericArbitrary
      module there.
      6748dce7
  13. Mar 19, 2020
  14. Feb 25, 2020
  15. Nov 19, 2019
  16. Sep 24, 2019
  17. Mar 19, 2019
  18. Mar 15, 2019
  19. Dec 03, 2018
  20. Aug 20, 2018
    • Oleg Grenrus's avatar
      Preprocess cabal-install.cabal · b1c2eaac
      Oleg Grenrus authored
      - Disable cabal-install's haddock on CI
      - Temporarily disable cabal check (`-main-is` in tests)
      - Remove this is not a lib note
      - Tell to run git update-index --assume-unchanged
      
          ... when changing to -dev or -monolithic configuration.
      
          Run --no-assume-unchanged unconditionally, when
          changing to the production build.
      - Improve auto-gen note in cabal-install.cabal
      - Try to build haddock (with GHC-8.4.3 only)
      b1c2eaac
  21. Aug 01, 2018
  22. Feb 16, 2018
  23. Feb 15, 2018
  24. Feb 14, 2018
  25. Feb 10, 2018
  26. Jan 15, 2018
    • Oleg Grenrus's avatar
      Add validate.sh script [ci skip] · 6a9a101c
      Oleg Grenrus authored
      This script contains similar commands to appveyor.yml, except it relies
      on cabal new-build, so should be safe to run locally.
      
      Using this script can ease Travis stress.
      
      ATM I see following tests failing:
      
      - PackageTests/Backpack/Includes3/setup-external-ok.test.hs
          - https://github.com/haskell/cabal/issues/5039
      - PackageTests/CustomPlain/setup.test.hs
          - `<command line>: cannot satisfy -package-id Cabal-2.1.0.0-inplace`
      - PackageTests/CustomDep/sandbox.test.hs
          - `.../dist-sandbox-3402c05b/setup/setup: createProcess: runInteractiveProcess: exec: permission denied (Permission denied)`
      6a9a101c
  27. Dec 27, 2017
  28. Dec 19, 2017
  29. Dec 12, 2017
  30. Dec 04, 2017
  31. Dec 02, 2017
  32. Nov 03, 2017
  33. Aug 13, 2017
  34. Aug 10, 2017
Loading