-
Notifications
You must be signed in to change notification settings - Fork 365
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
~Reorder options,~ fix brew instructions, spelling #4421
Conversation
Thanks for this PR! |
Not my area of expertise I'm afraid. The comments from @Octachron on the linked thread are on the mismatch between the idea of what is recommended, and its position on the page, not the core issue of what is recommended. I suppose it is because your distribution's package manager can keep opam up to date automatically? |
The patch to Homebrew has now landed, by the way. |
It's the first recommended way because it is always the last version that can be retrieved using it, distributions have their own delays to propagate a new version (from instantly to several months). It one of the reason why I've added repology badges, to know which version is available at the moment for the distro. |
Except point 1. that is discussed, 2. & 3. are lgtm! |
Advantages of native distros are that they include all the right patches and dependencies to work. E.g. on macOS, gpatch will be installed. Also the binary installer does not include |
If there is no opamroot, install script will advice to run On the presentation, binary install is more light than distros part. When you look at the page, you see that there is binary install and distros ones. If binary install is at the bottom, it won't be seen anymore. Binary install script is however incomplete, it needs to be more explicit, display current last version, and notify that dev version can be installed too. |
Apologies for the long delay on further feedback for this mostly uncontended and excellent update to the docs! Would it be OK for this to be rebased - potentially with the order of the paragraphs not changed in order to get the corrections and other improvements in and then spin off another PR which does the re-ordering and which can have more discussion as required? That said, we discussed this this morning! The problem here is that often distributions will be behind the latest version and so while we want the user who skims quickly just to see the OS package manager instructions, we also don't want the binary install instructions completely buried, for those trying to figure out how to install betas, etc. Could we instead do the reordering as proposed but add a bit in the "How to install opam" section which signposts the 3 different ways of installing (OS package manager, binary release, source release) with anchor links to the sections? Something along the lines of; "You probably want to use your OS package manager's opam package, although these can be behind the latest version (and don't package pre-release versions) which can be installed using our signed |
The uncontested parts (2) and (3) above are tiny single-word or single-line changes, so this would be the right approach, I think. |
@rjbou split PR without reordering and merge |
updated |
This PR reflects three lessons learned when writing the new ocaml.org "Up and Running" guide ocaml/ocaml.org#1165 : 1) Pending: having the binary distribution at the top of this page, when it is not the recommended installation mechanism for most users, is confusing. 2) Brew will shortly be updated Homebrew/homebrew-core#64301 to make opam depend on gpatch, thus removing this instruction from the OS X instructions. 3) OSX is now spelled macOS Co-authored-by: Etienne Millon <etienne.millon@gmail.com>
This PR reflects three lessons learned when writing the new ocaml.org "Up and Running" guide ocaml/ocaml.org#1165 :
EDIT @rjbou: split the PR, reordering question that was blocking the PR is meant to go to another PR