This project is mirrored from https://github.com/haskell/Cabal.git.
Pull mirroring updated .
- 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
-
- Jul 14, 2023
-
-
Phil de Joux authored
-
Brandon Chinn authored
* Fix PROCS for Darwin * Add fixity information * Fix file exclusions * Fix formatting * Fix CI linting * Simplify 'make style' without 'find' * Add in backwards-compatible fourmolu 0.13 config --------- Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Jul 13, 2023
-
-
Daniel Trstenjak authored
* Add 'mkVersionIntervals' for creating a VersionIntervals from a list * Update changelog.d/pr-9034 Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> * Apply suggestions from code review --------- Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
-
Labels are not supported in PR templates, see https://github.com/orgs/community/discussions/12815
-
- Jul 12, 2023
-
-
mergify[bot] authored
Add user-oriented resources in README.md
-
f-a authored
Manual and venues where to (h)ask questions.
-
f-a authored
* Unwrap text in templates GitHub markdown does not do auto-unwrapping. * Switch to one-template PR This Stack Overflow answer [1] details how to have multiple PR templates on GitHub. The UX is not that immediate (user has to click on preview, and then another link). A single page with two templates (where you fill in the one you pick and erase the other) is more friendly. [1] https://stackoverflow.com/a/75030350 * Whitespace * Made PR instruction impersonal For consistency with other bullet points.
-
f-a authored
* Revamp issue templates * Add “Feature request” template * Integrate Artem’s review - `cabal` → Cabal - add “type: enhancement” label * Add “Documentation” issue template * Add labels to “Bug report” template. “type: bug” and ”needs-triage”. Suggested by Artem. * Add “Question” issue template * Fix typos Spotted by Brandon. * Fix English in “Question” template Fix by Brandon. Add “needs-review” to Pull Request template As suggested by Artem. * Split PR template in two Split in full (PR modifies `cabal` behaviour) and simple (otherwise). * Add Github PR Convention to PR templates --------- Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
* Change group short names * Reference to group links
-
Artem Pelenitsyn authored
* facelift bootstrap/README.md * fixup! facelift bootstrap/README.md Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> * Update bootstrap/README.md --------- Co-authored-by:
brandon s allbery kf8nh <allbery.b@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Jul 11, 2023
-
-
aspidites authored
Remove v2-prefix from other documentation where appropriate * Added a changelog file * Merge branch 'master' of github.com:haskell/cabal into remove-v2-from-docs * Implemented PR feedback * Reverted changes to regression tests * Update CONTRIBUTING.md Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> * Update bootstrap/bootstrap.py Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> * Apply suggestions from code review Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> * Merge branch 'master' into remove-v2-from-docs * Removed changelog entry * Merge branch 'remove-v2-from-docs' of github.com:aspidites/cabal into remove-v2-from-docs * Reverted bootstrap/README.md * Merge branch 'master' into remove-v2-from-docs Co-authored-by:
ulysses4ever <6832600+ulysses4ever@users.noreply.github.com>
-
- Jul 10, 2023
-
-
* hlint --default -j . > .hlint.yaml * Ignore modules that #include "MachDeps.h" Warning: Can't find file "MachDeps.h" in directories ./cabal-testsuite/PackageTests/CmmSources/src . Asked for by: ./cabal-testsuite/PackageTests/CmmSources/src/Demo.hs at line 8 col 1 Warning: Can't find file "MachDeps.h" in directories ./cabal-testsuite/PackageTests/CmmSourcesDyn/src . Asked for by: ./cabal-testsuite/PackageTests/CmmSourcesDyn/src/Demo.hs at line 8 col 1 * Ignore the manually generated Lexer.hs templates/Lexer.x:10:1-20: Warning: Use fewer LANGUAGE pragmas Found: {-# LANGUAGE CPP #-} {-# LANGUAGE CPP #-} Perhaps: {-# LANGUAGE CPP #-} 1 hint * Ignore templates/Paths_pkg.template.hs for its parse error * Ignore templates/SPDX*.hs for their parse errors * Add a linting workflow and rename the formatting one * Redo default configuration with hlint-3.5 I had mistakenly used a development build before: $ hlint --version HLint v3.6.20230213, (C) Neil Mitchell 2006-2022 * Shorten github workflow
-
- Jul 09, 2023
-
-
mergify[bot] authored
workaround for #9103: skip test failing on Windows
-
Artem Pelenitsyn authored
-
mergify[bot] authored
Remove v2-prefix from Quickstart guide
-
tomjaguarpaw authored
Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
-
Tom Ellis authored
Closes https://github.com/haskell/cabal/issues/9086
-
- Jul 08, 2023
-
-
Hécate Moonlight authored
-
- Jul 06, 2023
-
-
mergify[bot] authored
Bump deepseq bounds to allow 1.5
-
Ben Gamari authored
-
mergify[bot] authored
README: update Matrix chat link
-
Artem Pelenitsyn authored
-
- Jul 05, 2023
-
-
mergify[bot] authored
haddock-project fixes
-
Marcin Szamotulski authored
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
-