This project is mirrored from https://github.com/haskell/Cabal.git.
Pull mirroring updated .
- Nov 23, 2024
-
- Nov 22, 2024
-
-
Hécate authored
* Create changelogs for 3.14.1.0 * Update release-notes/Cabal-3.14.1.0.md Co-authored-by:
ffaf1 <fa-ml@ariis.it> * Update release-notes/cabal-install-3.14.1.0.md Co-authored-by:
ffaf1 <fa-ml@ariis.it> --------- Co-authored-by:
ffaf1 <fa-ml@ariis.it> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Nov 21, 2024
-
-
Hécate authored
-
- Nov 18, 2024
-
-
mergify[bot] authored
Backport #10548: Print info about current project file in use to stderr and ignore the imports by default (#10550) * Print info about current project file in use to stderr and ignore the imports by default (#10548) * Print info about current project file in use to stderr (fix #10547) * only report top-level project config files in the default verbosity in verbose mode report imported files too * fix tests * don't print anything when provenance is empty * fix tests * Apply suggestions from code review Co-authored-by:
ffaf1 <fa-ml@ariis.it> --------- Co-authored-by:
ffaf1 <fa-ml@ariis.it> (cherry picked from commit 7de199ad) # Conflicts: # cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out * fixup! fix conflicts --------- Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
-
- Nov 10, 2024
-
-
mergify[bot] authored
Backport #10506: Don't error if package index is missing (fix #10504)
-
Rebecca Turner authored
All of the packages Cabal needs may already be present in the local package database; we don't know yet! This is a partial revert of #8944. See: https://github.com/haskell/cabal/pull/8944#issuecomment-2313147439 (cherry picked from commit d58a75ef)
-
- Nov 08, 2024
-
-
mergify[bot] authored
* Remove hashable dependency (#10316) Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> (cherry picked from commit 5aaf8ea9) # Conflicts: # cabal.bootstrap.project # cabal.release.project * fixup! conflicts --------- Co-authored-by:
Jasper Van der Jeugt <jaspervdj@gmail.com> Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Nov 07, 2024
-
-
mergify[bot] authored
Backport #10507: Print out which project file we're using by default (fix #8519)
-
Artem Pelenitsyn authored
Before it's only printed under `-v`.
-
mergify[bot] authored
avoid incomplete record selection warning (backport #10403)
-
Brandon S. Allbery authored
Per SPJ suggection. Closes: #10402 (cherry picked from commit b1798b5f)
-
- Nov 06, 2024
-
-
mergify[bot] authored
Backport #10486: Catch exception if git is not installed
-
noiioiu authored
* Catch exception if git is not installed * fix formatting * change type from IO to m * add maybeReadProcessWithExitCode * use maybeReadProcessWithExitCode * disambiguate P.catch * add TypeApplications pragma * add missing arguments * Add changelog entry * Add test for `cabal init` when `git` is not installed * Remove withSourceCopyDir from test * Remove withSourceCopyDir from test * Remove configure and build from test * Remove assert * Skip test on windows --------- Co-authored-by:
noiioiu <noiioiu@cocaine.ninja> (cherry picked from commit e7bc62be)
-
- Nov 05, 2024
-
-
mergify[bot] authored
* fix cabal install --program-suffix/prefix (fix #10290 and #10476) When checking for existing installations, cabal would not account for an affix (suffix or prefix). So, if you had a `hello` binary installed, installing a second one with a non-empty affix (a perfectly legal operation) would fail. The reason seemed to be a typo in 09c04e9a, which passed the arguments to the Symlink structure in a wrong order. When failing to install a binary because of an existing one, cabal would report suffix-less existing target even if a suffix was set. * Add regression tests for overwrite policies and porgram-affixes Add regression tests for the `program-prefix` and `program-suffix` flags combined with the overwrite-policy. In short, the overwrite-policy needs to take potential program affixes into account when deciding whether it will need to overwrite a program path during installation. --------- Co-authored-by:
Fendor <fendor@posteo.de> (cherry picked from commit ee3c3139) Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
-
- Oct 31, 2024
-
-
mergify[bot] authored
Backport #10464: Bump base bound to 4.21 for GHC 9.12
-
- Oct 29, 2024
-
-
mergify[bot] authored
switch validate to 22.04 for now (backport #10445)
-
Brandon S. Allbery authored
`validate-old-ghcs` doesn't work on 24.04, which GHA just updated to; and it uses build artifacts from the earlier steps, so for now the whole thing needs to be downgraded to get thinsg working. We must address this properly later. (cherry picked from commit 85f0f0c6)
-
- Oct 27, 2024
-
-
mergify[bot] authored
Backport #10468: add new options for ghc 9.12
-
- Oct 26, 2024
-
-
Brandon S. Allbery authored
- ghc 9.12 adds several new command line options, divided between `LANGUAGE`s (already added), warnings, new preprocessor control options, and compilation control options. Two options needed to be added to the list of options requiring `Int` parameters. The new options, excluding warning and language options, are: * `-fexpose-overloaded-unfoldings` * `-fmax-forced-spec-args=N` * `-fno-expose-overloaded-unfoldings` * `-fno-object-determinism` * `-fobject-determinism` * `-fwrite-if-compression=N` * `-optCmmP…` * `-optJSP…` * `-pgmCmmP` * `-pgmJSP` As they all affect compilation and store hashes, the only necessary change was to list the two numeric options so they will be parsed correctly. To the best of our understanding, `-pgm*` and `-opt*` options are already handled as a group. (cherry picked from commit 6578978c)
-
- Oct 08, 2024
-
-
mergify[bot] authored
Fix ./setup install comand (backport #10417)
-
Hécate authored
-
mergify[bot] authored
add Makefile targets for fix-whitespace (backport #10376)
-
Hécate authored
-
Brandon S. Allbery authored
`make whitespace` now runs `fix-whitespace --check --verbose` and `make fix-whitespace` runs `fix-whitespace --verbose`. (cherry picked from commit 2858dc09) # Conflicts: # .github/workflows/whitespace.yml
-
Hécate authored
-
mergify[bot] authored
Cabal: Take into account compilerBuildWay when computing final library ways (backport #10419)
-
Matthew Pickering authored
Running ./setup install will give you an error: ``` fromFlag NoFlag. Use fromFlagOrDefault CallStack (from HasCallStack): error, called at src/Distribution/Simple/Flag.hs:110:19 in Cabal-3.15.0.0-inplace:Distribution.Simple.Flag fromFlag, called at src/Distribution/Simple/Register.hs:161:16 in Cabal-3.15.0.0-inplace:Distribution.Simple.Register ``` This seems to not be tested anywhere and most people will use ./setup register in any case, but we should fix this for the next point release in 3.14 series. # Please enter the commit message for your changes. Lines starting Fixes #10416 (cherry picked from commit 2a178f24)
-
- Oct 07, 2024
-
-
Rodrigo Mesquita authored
Patches the component build ways for foreign library components.
-
- Oct 04, 2024
-
-
Matthew Pickering authored
In the profiling dynamic patch I made a mistake when computing the needed ways for a build. When building an executable, the Haskell modules need to be built * For the final link way * For the build way of the compiler if TH is enabled Before this patch, the modules were being built for all the configured library ways, which built modules in more configurations than the previous version of Cabal. Fixes #10418 (cherry picked from commit 27c26688)
-
- Oct 02, 2024
-
-
mergify[bot] authored
Prefer ErrorCall to ErrorCallWithLocation (backport #10404)
-
Rodrigo Mesquita authored
This future proofs the code for CLC#285, which will remove `ErrorCallWithLocation` to de-duplicate duplicate CallStacks. ErrorCall is already a pattern synonym with the same meaning as it will have in the future, so this change is backwards compatible too. (cherry picked from commit db683f26)
-
mergify[bot] authored
Fix Windows tests depending on scripts (backport #10236)
-
Javier Sagredo authored
(cherry picked from commit e420708c)
-
Javier Sagredo authored
(cherry picked from commit 8cf9533a)
-
Javier Sagredo authored
(cherry picked from commit de9d2295)
-
Javier Sagredo authored
(cherry picked from commit b2e4856e)
-
Javier Sagredo authored
(cherry picked from commit 7e0db765)
-
Javier Sagredo authored
(cherry picked from commit d3e589d4)
-
- Sep 16, 2024
-
-
mergify[bot] authored
Update SPDX license list to version 3.25 (backport #10341)
-