This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Aug 31, 2023
-
-
Hannes Siebenhandl authored
-
- Aug 27, 2023
-
-
Suganya Raju authored
* Remaining Cabal Package Exceptions * Accepting new error output with error code * Removing commented codes and adding constructor "RawSystemStdOut" in `Utils.hs` * Included a catch condition for VErboseException CabalException * Including "GetProgramInvocationException" with a `catch` condition for CabalException. * Rolling back "GetProgramInvocationException" --------- Co-authored-by:
gbaz <gershomb@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Aug 26, 2023
-
-
Hécate Moonlight authored
-
- Aug 24, 2023
-
-
Kazuki Okamoto authored
* Add a config path on Windows in a message * split lines
-
- Aug 21, 2023
-
-
mergify[bot] authored
Make users-guide buildable from within doc/ subdirectory
-
BinderDavid authored
Before this commit it is only possible to build the user guide from the root of the repository. An invocation of "make users-guide" in the "doc/" subdirectory fails. This commit moves the logic for building the users-guide from the Makefile at the root of the repository to the file "doc/Makefile". From the root of the project only the target "users-guide" remains, all other targets related to building the users-guide are only available in the "doc/" subdirectory. Fixes issue 7977
-
BinderDavid authored
-
mergify[bot] authored
Fix two dead links in the users guide
-
- Aug 20, 2023
-
-
BinderDavid authored
Fix two dead links which pointed to Hackage documentation of modules which moved from cabal to cabal-syntax package.
-
mergify[bot] authored
Fix incorrect conditional block documentation
-
Jana Chadt authored
-
- Aug 19, 2023
-
-
mergify[bot] authored
Remove RPATH workaround
-
Andrea Bedini authored
Maybe 7 years ago it was relevant but it seems today it is not needed anymore.
-
- Aug 17, 2023
-
-
Suganya Raju authored
* Cabal Package Exceptions * Accepting new format of output with error codes * Reverting the changes to new error output * Rebasing branch Subsequent Cabal Package errors * Added setup-explicit-fail.out * Delete setup-explicit-fail.out * Accepting new output with error codes * Changed to "GetProgramInvocationException" and "SanityCheckForEnableComponents" * Going back to former die' call in `getProgramInvocationOutout` function to check on the failing CI test * Accepted new error output, included cabalexception in handler * Error code rectification * Added a handler condition for VerboseException CabalException in `annotaeFailure` function * Leaving "GetProgramInvocationException" unmodified * Incorporated review comments * Updated "nor" in AutoGenModule test case * Updated "AutogenExposeOther" test case which was dependent on this "nor" change
-
- Aug 12, 2023
-
-
mergify[bot] authored
Address CVE-2023-37920
-
-
- Aug 10, 2023
-
-
Andrea Bedini authored
* Add alex to build-tool-depends and remove separate code gen - Pass latin-1 encoding is passed as input pragma - Cabal hard-codes -g for alex so we don't need to worry about --ghc - Rework bootstrap, adding per-component building - Update bootstrap plans * [bootstrap] warn the user if cabal config is not found * [bootstrap] regenerate bootstrap plans once more * [bootstrap] regenerate bootstrap files after #9139
-
- Aug 02, 2023
-
-
mergify[bot] authored
Combine non-installable and non-upgradable package lists (fixes #8581)
-
Suganya Raju authored
* Subsequent Cabal Exceptions * Accepting new ouput with error codes * Changed to "VersionMismatch" * Accepting new test outputs with error codes * "UnrecognisedBuildTarget" processing moved to error handler * Changes in type definition for constructors "ReportBuildTargetProblems", "UnknownBuildTarget", "AmbiguousBuildTarget" --------- Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Jul 31, 2023
-
-
f-a authored
* Do not ask overwrite questions for empty dirs See #9150, blank projects need not to ask permission to overwrite files. * Fix tests "test-dir" [] are the mock calls to `getPackageDir` and `listDirectory`
-
kristenk authored
This commit continues the work in b016e597 to combine the lists of non-installable and non-upgradable packages. When a package is in the list, it means that the solver will only consider installed instances of that package. This commit renames the list from "non-upgradable" to "non-reinstallable" to clarify that the packages cannot be upgraded or downgraded. There should be no change in behavior, except for the wording of solver error messages.
-
- Jul 29, 2023
-
-
mergify[bot] authored
Add changelog for #9113
-
- Jul 27, 2023
-
-
taylorfausak authored
-
- Jul 24, 2023
-
-
Francesco Gazzetta authored
Fixes #9122
-
- Jul 20, 2023
-
-
Suganya Raju authored
* I have added a function "dieWithException" which will replace the die' calls and throws Error types as exception. CabalException will hold all ErrorTypes, types will be incrementally added per module. The VerboseException a will have CabalException and cabalInstallException variously in the a position Utils.hs 1. Creation of Error data types 2. Diewithexception and exceptionCode function 3. Instance for VerboseException Bench.hs and install.hs 1. Replaced die' call sites with dieWithException Right now I have only added errors from two modules Distribtuion/Simple/Bench and Distribution/Simple/Install. Error types will be added incrementally. * Codebase is formatted with fourmolu and compiled without warnings. * Enabled fourmolu action * Running fourmolu through github action as the previous ones failed. * Function `exceptionWithMetadata` and constructors for each exception type * I have added a function "dieWithException" which will replace the die' calls and throws Error types as exception. CabalException will hold all ErrorTypes, types will be incrementally added per module. The VerboseException a will have CabalException and cabalInstallException variously in the a position Utils.hs 1. Creation of Error data types 2. Diewithexception and exceptionCode function 3. Instance for VerboseException Bench.hs and install.hs 1. Replaced die' call sites with dieWithException Right now I have only added errors from two modules Distribtuion/Simple/Bench and Distribution/Simple/Install. Error types will be added incrementally. * Codebase is formatted with fourmolu and compiled without warnings. * Enabled fourmolu action * Running fourmolu through github action as the previous ones failed. * Function `exceptionWithMetadata` and constructors for each exception type * Updated changelog * PatternMatching cases of diewithexception and displayexception reduced * Delete fourmolu.yaml This file is redundant. * Delete settings.json This file is redundant. * Replaced die' calls for modules srcDist.hs and HcPkg.hs * Replaced die' calls in modules `build.hs`,`Haddock.hs` and `Program.hs` * Replaced die' calls in modules `Build.hs`, `Haddock.hs` and `Program.hs` * Replaced die' calls in modules `GHCJS.hs`, `HaskellSuite.hs` and `BuildPaths.hs` * Formatted the codebase with Fourmolu * Accepted the new output with error codes and adding the file relevant to the test * Changes in `Utils.hs` and `Errors.hs` to reflect the new error codes * Keeping rip intact * test changes * CallStack unmarked from the error output * callstack unmarked from output * unmarked callstack in test output * Format the codebase with fourmolu * Changed to Error identifier to "Cabal-" * Updated Constructors as per review comments * Rectifying Hlint warning --------- Co-authored-by:
Gershom Bazerman <gershom@arista.com>
-
- Jul 18, 2023
-
-
mergify[bot] authored
Add support for using GHC's -jsem option
-
* The top-level user interface to enable the use of the semaphore is the `--semaphore` flag. If you pass `-j4 --semaphore` then cabal will create a semaphore with 4 slots which is passed to ghc using the `-jsem` option so that all GHC processes coordinate to use 4 capabilities. - The semaphore logic is provided by a new package `semaphore-compat` which provides a cross-platform abstraction for semaphores. * The low level `./Setup.hs build` interface accepts the `--semaphore <SEMAPHORE>` option, which can be used to directly pass the semaphore you require to the Setup script.
-
-
In #9064 we discovered that `ghc-boot` was added to the non-reinstallable package set due to #8051 despite there being no reason why it can't be built from its source distribution. This revealed the fact that there is quite some ambiguity around what constitutes a non-reinstallable package. In #9064 we worked out a hopefully-more-clear picture of non-reinstallability. Here we update the commentary to describe this concept and update the lists to reflect the new definition. Closes #9064.
-
Artem Pelenitsyn authored
If a pull request gets the "merge+no rebase" label, it' will be merged directly to master without a rebase/squash or queue. This can be useful in cases when contributors don't allow updating their branches.
-
-
- Jul 16, 2023
-
-
Artem Pelenitsyn authored
-
mergify[bot] authored
Use case insensitive match on ETag headers
-
taylorfausak authored
Fixes #9113.
-
Josh Meredith authored
* WIP support asm/cmm/js sources in executable components (#8639) * Factorise extra src code for lib/exe and add extra exe src tests * Add extra sources to linking step * lint * lint * Don't build js sources for executables on non-js hosts * Fix cabal.out for CmmSourcesExe test and lint * Update changelog * Slight changes
-
-
-
-
Artem Pelenitsyn authored
-