Bloop: Add `coursier install bloop` as the recommended installation

Created on 17 Mar 2020  路  5Comments  路  Source: scalacenter/bloop

The next bloop release will be mainly installed via coursier, instead of forcing clients to either run the generic curl script or install bloop via a dependency manager. The brew, Scoop and Linux distros installation formulas/recipes will be changed to use coursier install to install bloop. The only reason why somebody would install bloop this way instead of via a manual coursier install would be to install also bash/zsh autocompletions.

Right now I'm investigating what changes we need, so all of this is still being considered and there's no final decision. I've also made a comment in https://github.com/coursier/apps/pull/8 to ask if coursier install can deal with the fact that we don't have native binaries for Windows.

enhancement install priority / high release

Most helpful comment

To close this ticket and the 1.4.0 release we need the following:

  1. Native binaries need to be created in CI and published to the release.
  2. Our dependency on install.py needs to go away.

    • We will still keep the installer for a while but we will no longer use it in our official installation methods.

    • We will mark the "universal" installation method on the website as deprecated.

    • The launcher implementation needs to change to not use the install.py anymore.

  3. Our formulas will install completions and the bloop CLI. The bloop server will be launched automatically based on the version of the CLI.
  4. Formulas will no longer install systemd and brew services. We will keep them around in case people feel really strongly that they want to use them, but they will no longer be installed automatically and recommended.

All 5 comments

To close this ticket and the 1.4.0 release we need the following:

  1. Native binaries need to be created in CI and published to the release.
  2. Our dependency on install.py needs to go away.

    • We will still keep the installer for a while but we will no longer use it in our official installation methods.

    • We will mark the "universal" installation method on the website as deprecated.

    • The launcher implementation needs to change to not use the install.py anymore.

  3. Our formulas will install completions and the bloop CLI. The bloop server will be launched automatically based on the version of the CLI.
  4. Formulas will no longer install systemd and brew services. We will keep them around in case people feel really strongly that they want to use them, but they will no longer be installed automatically and recommended.

Made good progress porting the brew formula to install our CLI directly and changing the launcher to use coursier as the only way of starting the bloop server. I will follow up with more progress updates here soon.

Brew installation is now out of the way, I'm focusing on porting the archlinux installation. Latest master already has code to publish GraalVM binaries for macOS and Linux as well, so we'll reuse that to attach them to the created GitHub release automatically.

The button which expands the universal installation section on the webpage now says coursier however the installation information still describes the python based installation.

Never mind. It's fixed now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dsilvasc picture dsilvasc  路  8Comments

jvican picture jvican  路  5Comments

kai-ming-91 picture kai-ming-91  路  5Comments

shwin picture shwin  路  5Comments

propensive picture propensive  路  3Comments