You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/03/27 14:34:28 UTC

[GitHub] [pulsar] nicoloboschi created a discussion: Facilitate Pulsar Shell download and installation

GitHub user nicoloboschi created a discussion: Facilitate Pulsar Shell download and installation

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.


### Motivation

With Pulsar 2.11.0 released, users can use pulsar-shell by downloading the artifact from the download page or they can use it from the docker image. 
It works but we can improve it.

Most of the CLI tools have one-line solution to get ready in seconds without doing manual works.

I want to propose the following methods:


### Installation script
A file hosted in the pulsar-site with one-liner for shell installation. [DataStax already has one script](https://github.com/datastax/homebrew-luna-streaming-shell/blob/master/get-pulsar-shell.sh) that can be used for that. We could have the same thing for the apache project. Then the user just needs to run

```
curl -Ls "https://pulsar.apache.org/download/shell" | bash
```

For fixed versions

```
curl -Ls "https://pulsar.apache.org/download/shell" | bash 2.11.0
```

### Brew (MacOS)
Offers a official formula for the shell. [This is an example](https://github.com/datastax/homebrew-luna-streaming-shell/blob/master/pulsar-shell.rb) from DataStax

We might need to submit it to the homebrew repository to make it an official formula.
Then then user could install it using:

```
brew install apache-pulsar-shell
```

### Windows
Since Pulsar shell works in Windows as well, we might provide a .msi file.

### Other ideas

Other ideas are:
- [sdkman](https://sdkman.io/)


### Solution

_No response_

### Alternatives

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

GitHub link: https://github.com/apache/pulsar/discussions/19938

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] shy-share added a comment to the discussion: Facilitate Pulsar Shell download and installation

Posted by GitBox <gi...@apache.org>.
GitHub user shy-share added a comment to the discussion: Facilitate Pulsar Shell download and installation

@nicoloboschi  now only the msi for windows is missing?

GitHub link: https://github.com/apache/pulsar/discussions/19938#discussioncomment-5442149

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] github-actions[bot] added a comment to the discussion: Facilitate Pulsar Shell download and installation

Posted by GitBox <gi...@apache.org>.
GitHub user github-actions[bot] added a comment to the discussion: Facilitate Pulsar Shell download and installation

The issue had no activity for 30 days, mark with Stale label.

GitHub link: https://github.com/apache/pulsar/discussions/19938#discussioncomment-5442150

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] tisonkun added a comment to the discussion: Facilitate Pulsar Shell download and installation

Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Facilitate Pulsar Shell download and installation

Since it's more as feature ideas, moved to open-ended discussion before we has a clear plan or volunteers want to figure out how to improve the case.

GitHub link: https://github.com/apache/pulsar/discussions/19938#discussioncomment-5442151

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org