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

Publish rerun binaries on popular package managers #2108

Open
teh-cmc opened this issue May 12, 2023 · 4 comments
Open

Publish rerun binaries on popular package managers #2108

teh-cmc opened this issue May 12, 2023 · 4 comments
Labels
⛴ release Related to shipping or publishing

Comments

@teh-cmc
Copy link
Member

teh-cmc commented May 12, 2023

See https://repology.org/ for an exact definition of "popular".

Requires #2107

@teh-cmc teh-cmc added the ⛴ release Related to shipping or publishing label May 12, 2023
@emilk
Copy link
Member

emilk commented May 15, 2023

I assume you mean package managers such as apt, brew, winget etc.

For our Python users this brings nothing to the table (pip install rerun-sdk already sets up a rerun in your PATH).

For our Rust SDK users this is great though, as you can get nicer spawn: #2109 without having to wait for the extreme slow compile of cargo install rerun.

It is also nice for people just looking for a simple image- and mesh-viewer (#2060)

@emilk emilk changed the title Publish rerun binaries on popular repositories Publish rerun binaries on popular package managers May 19, 2023
@emilk
Copy link
Member

emilk commented May 19, 2023

This would also help with:

emilk added a commit that referenced this issue May 20, 2023
Closes #1997

Most of our users only use the `rerun` library as a logging library
but are still paying the cost of compiling the native viewer.

With this PR, the `rerun` crate will not have the `native_viewer`
(not `web_viewer`) feature on by default. This halves the compilation
time on my computer.

The `native_viewer` feature is only for users using the `show`
or `spawn` features, which will hopefully be removed soon anyay:
* #2109

To install the `rerun` binary with `native_viewer` and `web_viewer`,
you now have to run `cargo install rerun --features binary`.
This will be improved by:
* #2108

To make things nicer for us developers, I've added `cargo rerun` as a
shorthand for compiling and running `rerun` with the `native_viewer`
feature, but NOT the `web_viewer` feature.
emilk added a commit that referenced this issue May 20, 2023
Closes #1997

Most of our users only use the `rerun` library as a logging library
but are still paying the cost of compiling the native viewer.

With this PR, the `rerun` crate will not have the `native_viewer`
(not `web_viewer`) feature on by default. This halves the compilation
time on my computer.

The `native_viewer` feature is only for users using the `show`
or `spawn` features, which will hopefully be removed soon anyay:
* #2109

To install the `rerun` binary with `native_viewer` and `web_viewer`,
you now have to run `cargo install rerun --features binary`.
This will be improved by:
* #2108

To make things nicer for us developers, I've added `cargo rerun` as a
shorthand for compiling and running `rerun` with the `native_viewer`
feature, but NOT the `web_viewer` feature.
emilk added a commit that referenced this issue May 22, 2023
Closes #1997

Most of our users only use the `rerun` library as a logging library
but are still paying the cost of compiling the native viewer.

With this PR, the `rerun` crate will not have the `native_viewer`
(not `web_viewer`) feature on by default. This halves the compilation
time on my computer.

The `native_viewer` feature is only for users using the `show`
or `spawn` features, which will hopefully be removed soon anyay:
* #2109

To install the `rerun` binary with `native_viewer` and `web_viewer`,
you now have to run `cargo install rerun --features binary`.
This will be improved by:
* #2108

To make things nicer for us developers, I've added `cargo rerun` as a
shorthand for compiling and running `rerun` with the `native_viewer`
feature, but NOT the `web_viewer` feature.
emilk added a commit that referenced this issue May 23, 2023
* Remove `native_viewer` from the default features of `rerun` crate

Closes #1997

Most of our users only use the `rerun` library as a logging library
but are still paying the cost of compiling the native viewer.

With this PR, the `rerun` crate will not have the `native_viewer`
(not `web_viewer`) feature on by default. This halves the compilation
time on my computer.

The `native_viewer` feature is only for users using the `show`
or `spawn` features, which will hopefully be removed soon anyay:
* #2109

To install the `rerun` binary with `native_viewer` and `web_viewer`,
you now have to run `cargo install rerun --features binary`.
This will be improved by:
* #2108

To make things nicer for us developers, I've added `cargo rerun` as a
shorthand for compiling and running `rerun` with the `native_viewer`
feature, but NOT the `web_viewer` feature.

* Add rerun-cli

Users will now install the `rerun` binary with `cargo install rerun-cli`

* Add a README.md

* better text about how to run examples

Co-authored-by: Andreas Reich <andreas@rerun.io>

* Improve docs

* Update RELEASES.md

* Add checking of the docs to the release process

---------

Co-authored-by: Andreas Reich <andreas@rerun.io>
emilk added a commit that referenced this issue May 25, 2023
* Remove `native_viewer` from the default features of `rerun` crate

Closes #1997

Most of our users only use the `rerun` library as a logging library
but are still paying the cost of compiling the native viewer.

With this PR, the `rerun` crate will not have the `native_viewer`
(not `web_viewer`) feature on by default. This halves the compilation
time on my computer.

The `native_viewer` feature is only for users using the `show`
or `spawn` features, which will hopefully be removed soon anyay:
* #2109

To install the `rerun` binary with `native_viewer` and `web_viewer`,
you now have to run `cargo install rerun --features binary`.
This will be improved by:
* #2108

To make things nicer for us developers, I've added `cargo rerun` as a
shorthand for compiling and running `rerun` with the `native_viewer`
feature, but NOT the `web_viewer` feature.

* Add rerun-cli

Users will now install the `rerun` binary with `cargo install rerun-cli`

* Add a README.md

* better text about how to run examples

Co-authored-by: Andreas Reich <andreas@rerun.io>

* Improve docs

* Update RELEASES.md

* Add checking of the docs to the release process

---------

Co-authored-by: Andreas Reich <andreas@rerun.io>
@emilk
Copy link
Member

emilk commented Aug 11, 2023

We should also remember to add analytics for how the user installed rerun. See:

@emilk
Copy link
Member

emilk commented Sep 13, 2023

We should consider using cargo-dist for this: https://github.com/axodotdev/cargo-dist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⛴ release Related to shipping or publishing
Projects
None yet
Development

No branches or pull requests

2 participants