Skip to content

Conversation

@avdv
Copy link
Member

@avdv avdv commented Oct 26, 2023

GHC 9.8.1 has been released a few weeks ago. This PR enables updates to the generated bindist file for this stable release too.

  • Simplify and refactor the gen_ghc_bindist.py script to keep the GHC versions we generate entries for in the same place.
    These are now just stored in ghc_bindist_generated.json file.
  • Add 9.8 to the ghc matrix variable to keep it updated

avdv added 7 commits October 26, 2023 09:25
Remove the `ignore_prefixes` and `ignore_suffixes` handling.

We only process .tar.xz files from the `SHA256SUMS` file expecting a specific prefix.
When updating a GHC version, just add an empty entry for the version to the
`ghc_bindist_generated.json` file and run the gen_ghc_bindist.py to update it.
@avdv avdv requested a review from ylecornec October 26, 2023 07:34
Copy link
Member

@ylecornec ylecornec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me 👍

@avdv avdv added the merge-queue merge on green CI label Nov 6, 2023
@avdv avdv merged commit 853d140 into master Nov 6, 2023
@avdv avdv deleted the ghc-9.8 branch November 6, 2023 16:43
@mergify mergify bot removed the merge-queue merge on green CI label Nov 6, 2023
avdv added a commit that referenced this pull request Nov 7, 2023
This was broken because of the refactoring in [#1999][1], we need to read the versions
from the `ghc_bindist_generated.json` file now.

[1]: #1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants