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

Create haskell.org/ghcup/ #248

Closed
m-renaud opened this issue Dec 19, 2018 · 11 comments
Closed

Create haskell.org/ghcup/ #248

m-renaud opened this issue Dec 19, 2018 · 11 comments

Comments

@m-renaud
Copy link

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
Copy link

gbaz commented Dec 20, 2018

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 [email protected] when things are ready to go.

@gbaz gbaz closed this as completed Dec 20, 2018
@hasufell
Copy link

hasufell commented Dec 20, 2018

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
Copy link

gbaz commented Dec 20, 2018

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
Copy link

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

@gbaz
Copy link

gbaz commented Dec 20, 2018

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
Copy link
Author

a subdomain in the haskell infra...reach out to [email protected]

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
Copy link

hasufell commented Jan 7, 2019

bootstrap haskell script was merged haskell/ghcup@225d2d2

@gbaz
Copy link

gbaz commented Mar 7, 2019

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

@m-renaud
Copy link
Author

m-renaud commented Mar 7, 2019

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
Copy link

hasufell commented Mar 7, 2019

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

@gbaz
Copy link

gbaz commented Mar 20, 2019

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

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

No branches or pull requests

3 participants