Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Nov 21, 2023
    • BinderDavid's avatar
      Finish improvements to the CI configuration for documentation changes (#9460) · eaa5245e
      BinderDavid authored
      * Add bootstrap postjob to CI config
      
      Add a new job to the bootstrap.yml GitHub action config.
      This job succeeds if, and only if, all the other bootstrap
      jobs succeed.
      
      * Do not run bootstrap CI jobs for documentation changes
      
      The approach was already introduced in #9355 for the validate jobs.
      This commit introduces the same change also for the bootstrap jobs.
      
      * Also ignore CONTRIBUTING.md and README.md in CI
      
      We do not run the entire CI suite for documentation changes.
      Previously, only changes which were restricted to the 'docs/'
      subdirectory were considered to be documentation changes.
      With this commit we also recognize changes to README.md and
      CONTRIBUTING.md as documentation changes.
      
      * Document improved CI for documentation in CONTRIBUTING.md
      
      The CONTRIBUTING.md file now mentions that documentation changes
      do not waste expensive CI resources.
      
      * Recognize all README.md in subdirs as documentation
      
      Expensive CI jobs should not run on changes which affect only
      README.md files.
  2. Nov 16, 2023
    • Matthew Pickering's avatar
      ci: Enable windows tests for 9.6.3 · 0a177f3a
      Matthew Pickering authored
      There were two failing tests:
      
      1. CCompilerOverride, was attempting to use gcc.exe rather than
         clang.exe without also overriding the C options which led to
         incorrect options being passed to gcc.exe. The fix is to override to
         clang.exe on ghc-9.4 or newer.
      2. ForeignLibs exposes a bug in GHC
         (ghc/ghc#24185) and hence is
         skipped for GHCs newer than 9.4 where it was first introduced.
      
      Towards fixing #8451, we just need to fix the shared library issue now.
      0a177f3a
  3. Nov 12, 2023
  4. Nov 07, 2023
  5. Nov 03, 2023
  6. Nov 02, 2023
  7. Oct 27, 2023
    • Andrea Bedini's avatar
      Update format.yml · d9e54fd8
      Andrea Bedini authored
      Bump haskell-actions/run-fourmolu to v9 and fix fourmolu version to 0.12.0.0. This makes explicit which version is used and avoids unexpected changes later on.
      
      The current version v8 of run-fourmolu uses fourmolu-0.12.0.0 so this should not produce any change in formatting now.
      d9e54fd8
  8. Sep 14, 2023
  9. Jul 18, 2023
    • Artem Pelenitsyn's avatar
      Mergify: add no-rebase rule · 6af0c085
      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.
      6af0c085
  10. Jul 16, 2023
  11. Jul 14, 2023
  12. Jul 13, 2023
  13. Jul 12, 2023
    • f-a's avatar
      Fix issue/PR templates (#9117) · 108dc695
      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's avatar
      Revamp issue/PR templates (#9100) · ec32da7c
      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: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  14. Jul 11, 2023
  15. Jul 10, 2023
    • Phil de Joux's avatar
      Create default hlint configuration (with tidy up) · 31ae312d
      Phil de Joux authored and Artem Pelenitsyn's avatar Artem Pelenitsyn committed
      * 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
      31ae312d
  16. Jun 19, 2023
  17. May 24, 2023
  18. May 21, 2023
  19. Apr 26, 2023
  20. Apr 22, 2023
  21. Apr 17, 2023
  22. Apr 13, 2023
  23. Apr 07, 2023
  24. Apr 03, 2023
  25. Apr 01, 2023
  26. Mar 14, 2023
  27. Mar 13, 2023
  28. Feb 24, 2023
  29. Feb 23, 2023
Loading