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

Print detailed version/build info #1313

Conversation

jondo2010
Copy link
Contributor

@jondo2010 jondo2010 commented Feb 15, 2023

  • Output detailed version/build info with --version flag on entrypoints.
  • Add get_version() Python API
In [1]: import rerun as rr
DEV ENVIRONMENT DETECTED! Re-importing rerun from: /Users/john/Source/rerun/rerun_py/rerun_sdk

In [2]: rr.get_version()
Out[2]: VersionInfo(major=0, minor=2, patch=0, prerelease=None, build='3a03da72.1')
> rerun --version
rerun 0.2.0+3a03da72.1
branch:1310-add-commit-hash-and-date-to-version-numbers-add-both-to-gui
commit_hash:3a03da72
build_time:2023-02-15 11:59:35 +01:00
build_env:rustc 1.67.0 (fc594f156 2023-01-24),1.67-aarch64-apple-darwin

Upstream PR on shadow-rs: baoyachi/shadow-rs#128

Closes #1310

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@jondo2010 jondo2010 linked an issue Feb 15, 2023 that may be closed by this pull request
@jondo2010 jondo2010 added 🐍 Python API Python logging API 🧑‍💻 dev experience developer experience (excluding CI) labels Feb 15, 2023
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of new dependencies for something I think we can do ourselves

@emilk
Copy link
Member

emilk commented Feb 22, 2023

I'll make a simpler version of this, introducing a re_version crate

@emilk emilk closed this Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI) 🐍 Python API Python logging API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add commit hash and date to version numbers, add both to GUI
2 participants