-
Notifications
You must be signed in to change notification settings - Fork 373
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
spawn
version compatibility check
#4031
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teh-cmc
added
🦀 Rust API
Rust logging API
🧑💻 dev experience
developer experience (excluding CI)
📺 re_viewer
affects re_viewer itself
🌊 C++ API
C/C++ API specific
include in changelog
labels
Oct 26, 2023
teh-cmc
force-pushed
the
cmc/spawn_version_check
branch
from
October 26, 2023 17:20
849672f
to
3735483
Compare
teh-cmc
force-pushed
the
cmc/spawn_version_check
branch
from
October 26, 2023 17:25
3735483
to
f26aae8
Compare
emilk
approved these changes
Oct 26, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great idea! And such a helpful error message too ⭐⭐⭐⭐
4 tasks
teh-cmc
added a commit
that referenced
this pull request
Oct 27, 2023
Fixing an oversight from #4031: if the user doesn't have any executable at all on their PATH, don't just blindly tell them to download latest, it might not even be compatible! Use a versioned link in that case too, where possible. ```sh $ which rerun which: no rerun in (...) $ RUST_LOG=off cargo r -p code_examples --bin point3d_simple Error: SpawnViewer(Failed to find Rerun Viewer executable in PATH. You can install an appropriate version of the Rerun Viewer via binary releases: * Using `cargo`: `cargo binstall --force [email protected]` (see https://github.com/cargo-bins/cargo-binstall) * Via direct download from our release assets: https://github.com/rerun-io/rerun/releases/0.10.0/ * Using `pip`: `pip3 install rerun-sdk==0.10.0` (warning: pip version has slower start times!) For more information, refer to our complete install documentation over at: https://rerun.io/docs/getting-started/installing-viewer PATH="...") ``` (This is using my local copy where everything is tagged as if `0.10.0` was released)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🌊 C++ API
C/C++ API specific
🧑💻 dev experience
developer experience (excluding CI)
include in changelog
📺 re_viewer
affects re_viewer itself
🦀 Rust API
Rust logging API
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Nothing too fancy but should do the job!
$PATH
should run a version compatibility check #4001Checklist