Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal.git. Pull mirroring updated .
  1. Jul 06, 2025
  2. Jun 25, 2025
  3. Jun 24, 2025
  4. Jan 15, 2025
  5. Dec 11, 2024
  6. Oct 08, 2024
    • f-a's avatar
      Handle SPDX licences starting with a digit (#10356) · e69ae9ba
      f-a authored
      * Handle licences starting with a digit
      
      cabal has a devscript that parses a json file (containing SPDX licences)
      and returns a number of of Haskell data constructors.
      
      There have been problems when the SPDX short identifier starts with
      a digit (e.g. “0BSD”), as that would generate an data constructor
      starting with a digit, which is not valid Haskell.
      The way to handle such occourrences was in an ad-hoc basis.
      
      This patch prepends “N_” to the beginning of every SPDX licence starting
      with a digit, future-proofing the script.
      
      * Regenerate licence files
      
      Useless since we are going to have to do it again before a release,
      needed to make CI green (“Check that diff is clean”).
      e69ae9ba
  7. Sep 16, 2024
  8. Jul 26, 2024
    • Nadia Chambers's avatar
      rm-old-base: remove ifdefs for pre-4.13 bases (#10092) · 356c2f4c
      Nadia Chambers authored
      
      * rm-old-base: remove ifdefs for pre-4.13 bases
      
      4.13 and older have fallen out of the support window. Hence this commit
      removes code only conditionally included for base 4.13 and older. Some
      occasional transitive removals were implied and done in this same commit.
      
      * Remove 8.6.5 from CI and Makefile
      
      * Remove test for GHC <8.6.5
      
      * Update GHC versions mentioned in the user guide
      
      * rm-old-base: use Distribution.Compat.Prelude
      
      The change was likely an artifact of a rebase.
      
      * rm-old-base: restore builds not of cabal itself
      
      The #ifdefs being generated need to be kept here so that projects other
      than cabal can be built using older ghc versions and current cabal
      versions.
      
      * rm-old-base: restore older catchIO
      
      This needs to be included so running with older bases and ghcs can be
      done even while building cabal itself demands recent ghcs.
      
      * Bump base lower bounds to >=4.13
      
      * Update a few package version in the documentation
      
      * rm-old-base: remove Distribution.Compat.Typeable
      
      It's not needed with our currently supported ghcs.
      
      * rm-old-base: restore T6906
      
      ---------
      
      Co-authored-by: default avatarAndrea Bedini <andrea.bedini@tweag.io>
      Co-authored-by: Brandon S. Allbery's avatarbrandon s allbery kf8nh <allbery.b@gmail.com>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      356c2f4c
  9. May 04, 2024
  10. Apr 06, 2024
  11. Feb 28, 2024
  12. Jan 08, 2024
  13. Dec 02, 2023
  14. Oct 03, 2023
    • Andrea Bedini's avatar
      Bump base in cabal-dev-scripts.cabal · 033e8e04
      Andrea Bedini authored
      Bump base in cabal-dev-scripts.cabal. We are now using GHC 9.4.7 in CI, which ships with base 4.17.2.0. I am bumping all the way to <4.19 after testing everything compiles with GHC 9.6.3 (base-4.18.1.0).
      033e8e04
  15. Jul 14, 2023
  16. Jul 11, 2023
  17. Feb 19, 2023
  18. Sep 30, 2022
  19. Aug 07, 2022
  20. Jul 28, 2022
  21. May 25, 2022
  22. May 10, 2022
  23. May 02, 2022
  24. Apr 06, 2022
  25. 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
      65318cc6
  26. Jan 20, 2022
  27. Sep 17, 2021
  28. Aug 05, 2021
  29. May 02, 2021
    • Emily Pillmore's avatar
      Update CI for cabal-install and cabal-install-solver · bf8dff54
      Emily Pillmore authored
      * Changes needed for GenValidate and release.py to
        accommmodate new solver dependency
      * Bumps bootstrap plans to modern GHC versions
      * Update `validate.sh` and `release.py` to accommodate new solver dep.
      * Update `Makefile` targets
      bf8dff54
  30. Apr 13, 2021
  31. Apr 07, 2021
  32. Mar 09, 2021
  33. Jan 13, 2021
  34. Jan 11, 2021
  35. Dec 30, 2020
  36. Nov 23, 2020
Loading