Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #10320: Convert validate.sh to a Haskell script #10490

Merged
merged 15 commits into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. Convert validate.sh to cabal-validate

    Closes #10317.
    
    A Haskell script will be easier to maintain and expand than the existing
    Bash script.
    
    This also adds a `--pattern PATTERN` option which lets you filter tests
    across all test suites.
    
    (cherry picked from commit 582a5c7)
    
    # Conflicts:
    #	validate.sh
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    341f25f View commit details
    Browse the repository at this point in the history
  2. Split cabal-validate into modules

    This disentangles the utility boilerplate from the validation logic,
    making the `Main.hs` module much easier to read and modify.
    
    (cherry picked from commit 43a3975)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    166edae View commit details
    Browse the repository at this point in the history
  3. cabal-validate: Add Haddock documentation + README

    (cherry picked from commit e257591)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    321163a View commit details
    Browse the repository at this point in the history
  4. Remove ansi-terminal dependency

    (cherry picked from commit 96d6ad5)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    8036dd3 View commit details
    Browse the repository at this point in the history
  5. Use unlines in printConfig

    (cherry picked from commit 9f5d90f)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    5f25a84 View commit details
    Browse the repository at this point in the history
  6. optsParser -> rawOptsParser

    (cherry picked from commit a10a2a3)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1467a9c View commit details
    Browse the repository at this point in the history
  7. withTiming: take startTime explicitly

    (cherry picked from commit 37cfe85)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    16e1e67 View commit details
    Browse the repository at this point in the history
  8. Add cabal-validate to format job

    (cherry picked from commit 92613f0)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    c1e4a24 View commit details
    Browse the repository at this point in the history
  9. Build test suites explicitly

    This seems to fix an error where `long-tests` isn't built?
    
    (cherry picked from commit d208282)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    aec9a1d View commit details
    Browse the repository at this point in the history
  10. fixup! Remove ansi-terminal dependency

    (cherry picked from commit bae200a)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    92015ec View commit details
    Browse the repository at this point in the history
  11. fixup! Build test suites explicitly

    (cherry picked from commit 1900d5e)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ea53c3a View commit details
    Browse the repository at this point in the history
  12. fixup! fixup! Build test suites explicitly

    (cherry picked from commit 30f0faa)
    9999years authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    6afaf99 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c1b495b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    17e5890 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    2f6cb64 View commit details
    Browse the repository at this point in the history