tweag / ghc-wasm-bindists

Stable links for various GHC WASM bindists
https://gitlab.haskell.org/ghc/ghc-wasm-meta
8 stars 0 forks source link

Better bindist names #5

Closed hasufell closed 10 months ago

hasufell commented 10 months ago

The bindist in the releases are consumed by ghcup: https://github.com/haskell/ghcup-metadata/blob/25f6f8cfad751224be0a2a30f7d5f9be7e2c0cfb/ghcup-cross-0.0.8.yaml#L43-L55

It seems 20231001T201511 had a wasm32-wasi-ghc-9.8.tar.xz bindist, but the latest 20231224T201610 only has wasm32-wasi-ghc-9.6.tar.xz and a couple bindists that don't even indicate the ghc version.

This makes it hard/confusing what I'm dealing with. I don't want to unpack and inspect the bindists in order to add them to the ghcup metadata.

Can you make the bindist names uniquely descriptive? Why are the new ones 9.6?

amesgen commented 10 months ago

This repo was originally intended just to provide stable/non-vanishing bindist links for ghc-wasm-meta, but I think it should also be fine for other projects to use them. Note that this is relying on the generous policy by GitHub to accept lots of releases with large attached files.

Currently, it is not documented how to consume this repo, so here are some thoughts on your use case:

HTH!

hasufell commented 10 months ago

So what is wasm32-wasi-ghc-9.8? It doesn't say what is the minor version.

amesgen commented 10 months ago

Ah, right, we could let the mirroring job record that in the file name, will take a look some time this week.