This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Apr 30, 2024
-
-
sheaf authored
This patch reinstates the 'initialBuildSteps' function, as it is used by stack in its implementation of the multi-repl feature. A deprecation warning has been added to that function: calling it does not suffice to prepare the sources for a package, as there are other steps that one might also need to perform: - running pre-processors (such as alex/happy) - running pre-build hooks or custom logic (in build-type: Hooks or build-type: Custom or Configure) Consumers wanting to prepare the sources of a package, e.g. in order to launch a REPL session, are advised to run `Setup repl --repl-multi-file=<fn>` instead. Fixes #9856
-
mergify[bot] authored
State supported GHC versions in release notes
-
- Apr 29, 2024
-
-
f-a authored
-
mergify[bot] authored
Add warning and note to cabal test [TARGETS]
-
mergify[bot] authored
CI: force MacOS jobs to use Intel runners (macos-13)
-
Artem Pelenitsyn authored
-
Artem Pelenitsyn authored
-
Artem Pelenitsyn authored
GitHub just switched macos-latest to the ARM chips (now alisasing `macos-14`), and it brings a bunch of problems. - First of all, GHC's 8.8 and 8.6 don't exist there. - ghcup and llvm are unavailable For the time being, lets stay on the previous version of the runner.
-
f-a authored
* Add `initialBuildSteps` removal notice And suggestion on what to use (`preBuildComponent`) instead. * Update release-notes/Cabal-3.12.0.0.md Co-authored-by:
sheaf <sam.derbyshire@gmail.com>
-
- Apr 27, 2024
-
-
Phil de Joux authored
Co-authored-by:
brandon s allbery kf8nh <allbery.b@gmail.com>
-
Phil de Joux authored
Co-authored-by:
brandon s allbery kf8nh <allbery.b@gmail.com>
-
Phil de Joux authored
-
Phil de Joux authored
-
- Apr 26, 2024
-
-
mergify[bot] authored
Use alice as username in cabal path examples
-
- Apr 25, 2024
-
-
f-a authored
* Add release notes for Cabal 3.12 Forwardport of #9785, #9908 Add changelog/release notes for Cabal 3.12 (#9785) - generated with git log --pretty=oneline --no-color cabal-install-v3.10.1.0..HEAD > 3.12.prlog - deduped - stored WIP “release notes” file for future `cabal-install` release 3.12 changelogs updated (#9908) * Update changelog for 3.12 (and for future WIP 3.12.1.0 cabal-install) * Remove changelog.d files * 3.12 changelog fixup (#9922) * Incorporate Brandon’s suggestions See #9920. * Incorporate Artem’s suggestions See #9920. * Do not repeat yourself * Fix whitespace * Fix release notes grammar See #9920.
-
mergify[bot] authored
Fix changelog/readme
-
f-a authored
-
- Apr 24, 2024
-
-
Phil de Joux authored
-
mergify[bot] authored
Support GHC 9.12
-
f-a authored
-
- Apr 23, 2024
-
-
mergify[bot] authored
Bump project version from 3.11 to 3.13
-
sheaf authored
-
- Apr 22, 2024
-
-
mergify[bot] authored
update zlib.cabal location
-
Brandon S. Allbery authored
The upstream zlib package was recently reorganized in a way that caused our git fetch test to fail. Update it to match.
-
- Apr 21, 2024
-
-
mergify[bot] authored
Fix #8141 Don't refer to 'custom-setup' as 'optional'
-
- Apr 19, 2024
-
-
Mike Pilgrem authored
-
Mikolaj Konarski authored
-
This makes `withShorterPathForNewBuildStore` fit more nicely into the rest of the testing infrastructure. * Move `withShorterPathForNewBuildStore` to `TestM` monad * Move responsibility for passing `--store-dir` to `cabalGArgs` function * Move `findDependencyInStore` into `TestM`, and remove requirement to pass path to store directory. * Introduce `testStoreDir` function which returns the store location (and honours `withShorterPathForNewBuildStore`) * Migrate tests which use `withShorterPathForNewBuildStore`.
-
- Apr 18, 2024
-
-
mergify[bot] authored
update idna per dependabot / CVE-2024-3651
-
Brandon S. Allbery authored
-
mergify[bot] authored
Setup hooks
-
sheaf authored
This commit introduces a new build-type, Hooks. A package using this build type should provide a SetupHooks.hs module which exports a value `setupHooks :: SetupHooks`. This is intended to replace the Custom setup type. This allows Cabal to have finer-grained information about the build, instead of having an opaque Setup executable to invoke. Tests include: - error when returning an invalid component diff in a per-component pre-configure hook - error when declaring pre-build rules whose dependency graph contains cycles - error when we cannot find a dependency of a pre-build rule - warning when there are pre-build rules that are declared but never demanded - correctness tests for SetupHooks, e.g. that pre-build rules are run in dependency order (see the `SetupHooksRuleOrdering` test)
-
sheaf authored
This commit splits off the file monitoring types from cabal-install into the Cabal library, so that they can be referred to in pre-build rules for SetupHooks. This will allow package authors with Hooks build-type to monitor files and directories specified by globbing.
-
sheaf authored
This commit exposes installFileGlob as a generally useful part of the API which users might want to call, e.g. in their custom Setup scripts.
-
mergify[bot] authored
add squash+merge for backports
-
Brandon S. Allbery authored
-
- Apr 17, 2024
-
-
mergify[bot] authored
Add tests for #9799
-
Rodrigo Mesquita authored
Add tests for #9799 about freeze qualifying all packages with 'any' constraint scope.
-
Mike Pilgrem authored
Also uses 'stanza' consistently in that context.
-
mergify[bot] authored
Show abbreviated mixed versions with suffix
-