This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- May 11, 2024
-
-
sheaf authored
This allows us to compile Setup.hs without depending on base. In particular, this ensures that a package with `build-type: Hooks` and a custom setup stanza that does not depend on base successfully compiles. Tested in PackageTests/SetupHooks/SetupHooksNoBase.
-
- May 10, 2024
-
-
mergify[bot] authored
Docs: update link to SetupHooks RFC
-
sheaf authored
The proposal has been accepted, but its final location is in the 'rfc' subdirectory instead of the 'proposals' subdirectory. This simply updates the link in the Cabal documentation.
-
mergify[bot] authored
source-repository versus source-repository-package
-
Phil de Joux authored
- Adds pijul as type - explicit dot is the same as root - Update doc/cabal-package-description-file.rst - Grammar, comma required for non-restrictive clause - Move warning down the section - Move repository stuff to its own page - Add author and consumer subsections - Keep consistent ordering - Put source-repository before source-repository-package - Reword intro and add hackage linking - A field of this type is always optional - Fix typo - Put the table into the field types section - Link to VCS kind, consistent casing - Introduce the VCS acronym early - Link to cabal get for this|head - Update doc/cabal-package-description-file.rst - Comma after as an example - Update doc/cabal-package-description-file.rst - There are two kinds comma - Split sentences. - Move to how to section - Add version control fields - Rewrite package consumer section - Bump source packages up a level - Rename as "how to source packages" - Rename section, "package source" - Fix whitespace - Mention manual download before cabal download - Use a description list for source-repository fields - Add a warning about the confusing field names - Clarify *source code* ``.tar.gz`` archive - Use Git uppercase - Source Marker section, marks out - Change to "inside a single VCS repository" - Taking a Dependency from a Source Code Repository - Lead with uppercase first letter for Darcs, Git - Fix whitespace - Use lowercase for titles - Change the guide title to "How to get package *source code*". - Hackage is for published, exact versus range of versions - Mention cabal get - Lead with uppercase for Cabal and Hackage - Move VCS fields up in the tree - Mention *source code* in all the section titles - Explain how linking helps contributors and maintainers - Add an example of conversion - Add a dependency vendoring section - Show cloning with cabal build --dry-run - Keep VCS fields small - Add diagrams - Warn about hash in clone folder name - Use code style for .cabal - Use lower caps in title to match other sections - Add missing _ for external link reference - Move package authoring section to last - Use subsections for vendoring - Add a section about publishing - Fix up anchors and references - Typo, "extracts it to a directory" - It is a "``cabal get`` unpacking step" - Use a comma in "Fork, don't vendor" - Add a tag to the src-repo-pkg example - The warning about commits is only for Git repositories - Move note to setting up section - Fix whitespace - Missing source-repository ead in the diff - Use with/without a "-package" suffix ... belongs - Add a reference to cabal get - How to locate and get - Add back the ref to the package consumer section - Replace arrowheads with ASCII - Replace ticked checkboxes with ASCII - Warn about project and the set of pkgs separately - Multiple dependency packages not multiple dependencies - Shorter explanation of vendoring - Lower caps for bold terms - Add references to VCS fields - A marker that points to - Use the shorter "shepherd" - Use grab (not obtain) before obtaining - Clarify terms in source code note - Hackage is only for published package dependencies - Add a link to hackage upload - Add a footnote about packages of a cabal.project - Revert section title to "Specifying the local packages" - Change shepherd to "deal with" - Put source after package, ordering how to guides - Comma after as Co-Authored-By:
Artem Pelenitsyn <a.pelenitsyn@gmail.com> Co-Authored-By:
brandon s allbery kf8nh <allbery.b@gmail.com>
-
mergify[bot] authored
Haddock: use buildSettingKeepTempFiles
-
- May 09, 2024
-
-
sheaf authored
This commit initialises the Haddock flag haddockKeepTempFiles with the value of buildSettingKeepTempFiles. This addresses an 8 year old TODO in the code, from Duncan Coutts.
-
- May 06, 2024
-
-
mergify[bot] authored
Downgrade NoLibraryFound from an error to a warning
-
Teo Camarasu authored
This makes Setup copy/install succeed if there's nothing to do because the package doesn't contain a library or executable. This allows downstream users of Cabal to avoid having to add workarounds for this edge case. Resolves #6750
-
Mikolaj Konarski authored
Touch up release notes for cabal-install 3.12.0.0 pre-release
-
Mikolaj Konarski authored
-
- May 05, 2024
-
-
mergify[bot] authored
How to use Cabal in Windows
-
Javier Sagredo authored
-
mergify[bot] authored
Hackage as a proper noun, capitalized in docs
-
- May 04, 2024
-
-
mergify[bot] authored
update `base` bounds for desupported ghc 8.2
-
Brandon S. Allbery authored
-
- May 03, 2024
-
-
Phil de Joux authored
-
mergify[bot] authored
More consistently pass --package-db flag to tests
-
Matthew Pickering authored
Previously `--package-db` was only passed to test which used the `v2-` prefix. Now we pass `--package-db` to things which use the `v2-` prefix, not things which use the `v1-` prefix and by default assume that unprefixed commands are v2 commands.
-
- May 02, 2024
-
-
mergify[bot] authored
Filter Setup flags: filter working dir on < 3.13
-
sheaf authored
The --working-dir flag is only available for Cabal >= 3.13. This commit fixes an incorrect conditional: we only filtered out this flag for Cabal < 3.11, instead of < 3.13. Test: PackageTests/WorkingDir Fixes #9940
-
mergify[bot] authored
Bump to hlint-3.8
-
mergify[bot] authored
Rename projects to have `.project` extension
-
mergify[bot] authored
Correctly provision build tools in all situations
-
sheaf authored
This patch ensures that we correctly provision executables declared in the build-tool-depends fields in all circumstances: - whether the build tool is external (from another package) or internal (declared in the current package) - whether the build tool is used at compile time (e.g. in a pre-build rule or in a Template Haskell splice) or at run time (e.g. when running a test-suite, benchmark or executable). Note that correctly provisioning a build tool requires two pieces of information: - making it available in PATH, - ensuring it has the correct environment variables overrides; in particular, the build tool needs to be able to find its own data directory. The test case BuildToolPaths checks all of these situations are handled correctly.
-
sheaf authored
This commit ensures the test-suite driver also provides the Cabal-hooks package, on top of Cabal and Cabal-syntax.
-
sheaf authored
-
- May 01, 2024
-
-
mergify[bot] authored
Define a user-visible change
-
mergify[bot] authored
Update PR template
-
f-a authored
Stress an API change is enough to warrant a `changelog.d` entry. Check #9856 to see why we need it.
-
- Apr 30, 2024
-
-
mergify[bot] authored
Reinstate 'initialBuildSteps' function
-
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
-
Phil de Joux authored
- Rename cabal.bootstrap.project - Rename cabal.meta.project - Rename cabal.validate-libonly.project - Rename cabal.validate.project - Rename cabal.release.project
-
Phil de Joux authored
-
Phil de Joux authored
-
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)
-
Phil de Joux authored
-