rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Print detailed version/build info

Open jondo2010 opened this issue 2 years ago • 0 comments

  • 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: https://github.com/baoyachi/shadow-rs/pull/128

Closes #1310

Checklist

  • [x] 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 avatar Feb 15 '23 11:02 jondo2010