flora-server icon indicating copy to clipboard operation
flora-server copied to clipboard

Compiler page

Open tchoutri opened this issue 3 years ago • 4 comments

It would be nice to have a /compilers/<name>/<maj-min> page that would give informations about the release, link to the release notes, etc.

The compiler tags would link to the maj-min page:

Interesting informations:

  • Date of the first release
  • Date of the latest patch release
  • Base version associated with the latest patch release
    • A subpage for a listing of packages whose upper bound on base do not include the shipped version of base with the latest maj-min-patch version.
  • Installation instruction with ghcup
  • Version of HLS that supports it

What other thing could be interesting on a glance?

tchoutri avatar Dec 17 '22 16:12 tchoutri

@maerwald Ideas welcome

tchoutri avatar Dec 17 '22 16:12 tchoutri

Base version associated with the latest patch release

ghcup list -t ghc -r | grep 'ghc 9.2.5' | awk '{ print $3 }' | sed 's/.*,//' | grep 'base-'

This should be fairly stable and ok.

Date of the latest patch release

Not yet: https://github.com/haskell/ghcup-hs/issues/98

Installation instruction with ghcup

ghcup install ghc <ver>

Version of HLS that supports it

Parse this: https://github.com/haskell/ghcup-metadata/blob/develop/hls-metadata-0.0.1.json

hasufell avatar Dec 17 '22 17:12 hasufell

We could indeed go a long way parsing https://github.com/haskell/ghcup-metadata/blob/develop/ghcup-0.0.7.yaml

tchoutri avatar Dec 17 '22 18:12 tchoutri