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

Opam short download link #2728

Open
rjbou opened this issue Sep 27, 2024 · 5 comments
Open

Opam short download link #2728

rjbou opened this issue Sep 27, 2024 · 5 comments

Comments

@rjbou
Copy link
Contributor

rjbou commented Sep 27, 2024

We'd like to have a short link for opam install script. For the moment the install instruction are:

bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.2.1"

We're thinking of adding opam.ocaml.org/install.sh. Do you have plans for an installer for ocaml.org?

/cc @kit-ty-kate @dra27

@cuihtlauac
Copy link
Collaborator

cuihtlauac commented Oct 1, 2024

@rjbou, do you mean this:

bash -c "sh <(curl -fsSL https://ocaml.org/install.sh) --version 2.2.1"

@kit-ty-kate
Copy link
Member

something like that yes

@sabine
Copy link
Collaborator

sabine commented Oct 3, 2024

I don't see a need for additionally having https://ocaml.org/install.sh (this could in fact lead to conflicts in the future, as it's not referring to which tool is being installed).

Providing https://opam.ocaml.org/install.sh sounds great to me. Another workable alternative would be https://ocaml.org/install-opam.sh.

@kit-ty-kate
Copy link
Member

Providing https://opam.ocaml.org/install.sh sounds great to me.

that was done in ocaml-opam/opam2web#241 btw. We'll update our documentation to reflect that. I'll also send a PR to update ocaml.org in a minute

@rjbou
Copy link
Contributor Author

rjbou commented Oct 3, 2024

Of course, I didn't mean https://ocaml.org/install.sh directly, as it is to install opam, not OCaml itself ^^. Under ocaml.org link, it would be as proposed https://ocaml.org/install-opam.sh, or https://ocaml.org/install/opam.sh if there is a plan to have several tool download links on ocaml.org for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants