haskell-infra / hl

Haskell web site (old -- see new repo at https://github.com/haskell-infra/www.haskell.org)
http://haskell.org/
BSD 3-Clause "New" or "Revised" License
158 stars 92 forks source link

Create haskell.org/ghcup/ #248

Closed m-renaud closed 5 years ago

m-renaud commented 5 years ago

ghcup is becoming the preferred way to install the Haskell tool chain, it should have a place on the official Haskell website; it could start as a simple HTML+CSS+JS webpage.

It would be great if it looked something like the rustup page which has: one sentence describing what it is, a command to run to install the whole toolchain (auto-detected based on OS), where to ask for help, and an "official Rust project" badge.

Once the bootstrap-haskell script is merged this script should also be hosted on haskell.org to make it clear that it's an official offering. Then installing the Haskell toolchain would be as easy as:

curl https://get-ghcup.haskell.org -sSf | sh

/cc @hasufell

gbaz commented 5 years ago

If this is just about a subdomain in the haskell infra, it doesn't belong on this repo, which is about the webpage as such. Just reach out to admin@h.org when things are ready to go.

hasufell commented 5 years ago

If this is just about a subdomain in the haskell infra

I don't think that's entirely what this issue is about. The idea was afaiu that the haskell page would also link to that page. Compare with rust:

  1. https://www.rust-lang.org/ (links to install page)
  2. https://www.rust-lang.org/tools/install (references rustup as an option)
  3. https://rustup.rs/ (actual rustup page)

As such, at least https://www.haskell.org/downloads would need adjustment.

gbaz commented 5 years ago

Right. The way I'd like to do this is through shifting the platform in the next release to recommend ghcup on os-x as it now does on linux (https://mail.haskell.org/pipermail/haskell-cafe/2018-December/130371.html). Once that's in place we can adjust the download page accordingly, in a sort of uniform way. That way we keep the platform branding, reduce options, and point to the new tool all at once. And we also avoid pointing to ghcup as the single tool across platforms when we still need to direct users to a different approach on windows.

hasufell commented 5 years ago

You mean people click on haskell-platform, then are told "use ghcup", click on ghcup page, and then download?

gbaz commented 5 years ago

Of course not! That would be silly! Rather, what I'd like to happen is that A) the platform page can give direct install instructions for ghcup (the script would help with this) and furthermore once we have the new platform plans as sketched above, we could even possibly just swap the download page for the platform install page entirely, and it might no longer be controversial to unify in that way.

m-renaud commented 5 years ago

a subdomain in the haskell infra...reach out to admin@h.org

Will do, wasn't sure what the distinction was for what things belonged here vs. in a separate subdir/repo. As @hasufell mentioned this wasn't just about a subdomain but also updating /downloads. This also ties into #221 which I think is a great improvement over what's there now, and could be augmented to include ghcup once it is GA.

we could even possibly just swap the download page for the platform install page entirely

I'd be in favour of that as well, it appears that page already has OS auto-detect which is really nice. Do you know what the release cadence is for Haskell PLatform and when it might be possible to recommend ghcup for Mac?

hasufell commented 5 years ago

bootstrap haskell script was merged https://github.com/haskell/ghcup/commit/225d2d2be41ac38365de074e1d812f02d16fc965

gbaz commented 5 years ago

did we want to add a subdomain still? how/where should it point? or should we host the script directly as well?

m-renaud commented 5 years ago

My vote would be:

https://haskell.org/ghcup - super simple landing page with what ghcup is and command to get it (a la https://rustup.rs/)

https://get-ghcup.haskell.org - where the script is hosted on the haskell.org domain, indicating its an officially supported project

hasufell commented 5 years ago

Someone just gotta do it. The details are not that important. I don't have access to any infrastructure.

gbaz commented 5 years ago

just to close the loop, I set up the account and contacted hasufell with the login info.