Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Feb 13, 2023
  2. Feb 12, 2023
  3. Feb 11, 2023
    • Pierre Le Marre's avatar
      Fix repl discarding --build-depends (#8732) · e9b4744a
      Pierre Le Marre authored
      
      * Fix repl discarding `build-depends` argument
      
      Previously the function `\f -> L.allCondTrees $ traverseCondTreeC f` was
      used to add the dependencies, but manipulating `CondTree` this way does
      not update the nested fields `targetBuildDepends` of the tree, only the
      conditions. It worked merely by chance if one does not further process
      these fields: this explains why options like `--allow-newer` or
      `allow-older` were incompatible with `--build-depends`.
      
      Using `L.traverseBuildInfos . L.targetBuildDepends` ensures
      `targetBuildDepends` fields and conditions are all updated consistently.
      
      * Add test
      
      * Add changelog
      
      * Cleanup
      
      ---------
      
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  4. Feb 10, 2023
  5. Feb 09, 2023
  6. Feb 08, 2023
    • Mikolaj Konarski's avatar
    • Mikolaj Konarski's avatar
      Hack around CI problems by sudo chown and disabling cache for Windows validate (#8739) · 22dcb3c2
      Mikolaj Konarski authored
      * Try to fix ghcup cache in CI via sudo chmod
      
      * Revert "Try to fix ghcup cache in CI via sudo chmod"
      
      This reverts commit 0bb71d10fa763b2f8f3382885d635ad1cfa09752.
      
      * Try not caching store in validate jobs to avoid double package bugs
      
      * Revert "Try not caching store in validate jobs to avoid double package bugs"
      
      This reverts commit b3f378222886ddd754ccccc2a79fa500b78f4998.
      
      * Try not to cache store on Windows in validate jobs
      
      to avoid double directory package bugs.
      
      * Revert "Revert "Try to fix ghcup cache in CI via sudo chmod""
      
      This reverts commit b3a843a861cbddbe8ae9d44b20250d806f331cd3.
      
      * Try sudo only on (new) Linux, where it should be available
      
      * Also change the user
      
      * Document the particular hack snippets in validate.yml
      
      * Add an extra diagnostic ls for ghcup dirs
      
      * Also hack the other affected CI scripts
      
      * Also print the version of ghcup used for debugging
  7. Feb 01, 2023
  8. Jan 29, 2023
  9. Jan 24, 2023
  10. Jan 23, 2023
  11. Jan 22, 2023
  12. Jan 21, 2023
  13. Jan 20, 2023
  14. Jan 19, 2023
  15. Jan 18, 2023
    • Paweł Dybiec's avatar
      Add check for recursive glob in root directory (#8441) · fff7a981
      Paweł Dybiec authored
      * Add check for recursive glob in root directory
      
      Such globs might be expensive to include, as they might pull unnecessary
       directories just like `.git` or `dist-newstyle`.
      
      * Move expensive glob warning to its own constructor
      
      * Add changelog entry
      
      * Add test for recursive glob warning
      
      * Fix formatting
Loading