Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Apr 06, 2024
  2. Apr 03, 2024
    • mergify[bot]'s avatar
      Merge pull request #9718 from mpickering/wip/work-dir · 738e4192
      mergify[bot] authored
      Make Cabal agnostic about working directory
    • sheaf's avatar
      Make Cabal agnostic about working directory · 7b905832
      sheaf authored
      This commit makes the library functions in Cabal agnostic of the working
      directory. In practice, this means that we distinguish `FilePath`s
      from un-interpreted `SymbolicPath`s. The latter may be paths that are
      relative to the working directory, and need to be interpreted with
      respect to a passed-in argument specifying the working directory,
      instead of using the working directory of the current process.
      See Note [Symbolic paths] in Distribution.Utils.Path.
      
      In particular, paths in the package description now use the SymbolicPath
      abstraction, which allows specifying whether they are allowed to be
      absolute, and, if they are relative, what they are relative to.
      For example, source files are relative to a source search directory,
      data files are relative to the data directory, and doc files are
      relative to the package root.
      
      Fixes #9702
      7b905832
  3. Apr 02, 2024
  4. Mar 31, 2024
  5. Mar 30, 2024
  6. Mar 29, 2024
  7. Mar 26, 2024
    • Phil de Joux's avatar
      Ignore testdb/intree generated files · 57b961ca
      Phil de Joux authored
    • Phil de Joux's avatar
      Merge pull request #9565 from cabalism/import/pkg-groups · 7e085faf
      Phil de Joux authored
      Use package groups
    • Phil de Joux's avatar
      Remove projects; weeder, doctest & libonly · 72be26bd
      Phil de Joux authored
      * Remove cabal.project.libonly
      
      It was only referenced once in a stale Makefile comment about doctests.
      
      * Remove weeder
      
      - remove weeder's configuration
      - remove its recipe from Makefile
      - remove its project
      
      * Delete cabal.project.doctest
      
      - Adding --ghc-options="-Wwarn" is sufficient to avoid the numerous <interactive> failures seen otherwise
      - write-ghc-environment-files has a default of never
    • Phil de Joux's avatar
    • Phil de Joux's avatar
    • Phil de Joux's avatar
      Add an intercepting cabal-testsuite/cabal.project · d3362759
      Phil de Joux authored
      - Reduce duplication in test flag setup
      - Avoid "New config" picking cabal's own project
      
      Before this change, this was the test failure:
      
      Unit Tests
        UnitTests.Distribution.Client.Configure
          Configure tests
            New config:                     FAIL
              Exception: project-cabal/pkgs/cabal.config: withBinaryFile: does not exist (No such file or directory)
              Use -p '/New config/' to rerun this test only.
            Replacement + new config:       OK
            Old + new config:               OK
            Old + new config, no appending: OK
            Old + new config, backup check: OK
            Local program options:          OK
      
      1 out of 6 tests failed (0.02s)
    • Phil de Joux's avatar
      Build all local packages with -Werror · 8453ee0b
      Phil de Joux authored
      - Satisfy -Wmissing-signatures in test-runtime-deps
      - Satisfy -Wx-partial in HackageBenchmark
      - Satisfy -Wunused-imports in QuickCheck.Instances.Cabal
      - Use partial pattern for filtering in list comprehension
      - Don't error on deprecated import
    • Phil de Joux's avatar
      Import packages from project-cabal/pkgs · 0876e187
      Phil de Joux authored
      - Move constraints to project-cabal/constraints.config
      - Remove duplicate package groups
      - Groups coverage, doctest and validate are the same as the default group
      - Remove duplicate validate-libonly package group
      - Both validate and validate-libonly are the same
      - Move Cabal & Cabal-syntax to pkgs/cabal.config
      - Add install package group
      - Add benchmarks package group
      - Add tests package group
      - Both default and libonly groups were the same set of packages that I renamed to tests
      - Put install group before tests and benchmarks
      - Don't repeat packages
      - Add TODO and REVIEW comments on allow-newer exceptions
      - Move latest.ghc configuration
      - Put program-options first & separate imports
      - Remove optional-packages
      - Don't reiterate default value for tests and benchmarks
      - Don't reiterate default value for optimization
      - Add ghc-options.config
      - Rename to ghc-latest.config
      - Use -Werror in ghc-options.config
      - Don't include ghc-options.config for doctest project
      - Add project-config/pkgs.config
      - Add project-config/pkgs.config importing all package groups
      - Move Cabal-described to the cabal package group
      - Remove cabal.project.buildinfo
      - Have cabal.project.doctest import cabal.project
      - Split integration tests into their own package group.
      - Add back trailing newlines at EOF in projects
      - Integration-tests.config needed for libonly
      - Add a README for projects.
  8. Mar 22, 2024
  9. Mar 20, 2024
  10. Mar 18, 2024
  11. Mar 17, 2024
  12. Mar 16, 2024
Loading