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

Prepare release of 0.7.0 #2446

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
868036b
scripts: add PostHog crash fetcher/reporter script (#2168)
teh-cmc May 20, 2023
631c268
Centralize freestanding store helpers (#2153)
teh-cmc May 22, 2023
1d30c6e
Improved 3D transform ingestion & affine transform support (#2102)
Wumpf May 24, 2023
2b61a8f
Stable image order, fixing flickering (#2191)
Wumpf May 24, 2023
7d4b2c2
`impl Copy for Arrow3D`. (#2239)
kpreid May 29, 2023
e2ee66c
Time panel now always talks about "events" instead of "messages" (#2247)
Wumpf May 29, 2023
1cc39c1
Image uploader script (#2164)
jprochazk May 29, 2023
e5eb631
Example of how to embed the Rerun Viewer inside your own GUI (+ ergon…
emilk May 29, 2023
7772b25
Replace wasm-bindgen-cli with library wasm-bindgen-cli-support (#2257)
emilk May 29, 2023
44db91e
Fix double clicking objects no longer focusing the camera on them (#2…
Wumpf May 30, 2023
47fdfc1
Fix manual release/dispatch workflows (#2230)
jprochazk May 30, 2023
2984c60
Add instructions on how to fix weird gsutil crash (#2278)
emilk May 30, 2023
91c2dcc
Objectron Rust example: install protoc for the user (#2280)
emilk May 31, 2023
bc9f48c
Import `rerun-docs` (#2284)
jprochazk May 31, 2023
0965b15
Link to preview of latest commit in PR body (#2287)
jprochazk May 31, 2023
beb6350
Fix off-by-half pixel error in textured rectangle shader (#2294)
emilk May 31, 2023
1b73558
Update wgpu-hal to 0.16.1 to fix mobile Safari (#2296)
emilk Jun 1, 2023
5539558
CI: Retry `linkinator` (#2299)
jprochazk Jun 1, 2023
481f17a
add manifest + readmes to examples (#2309)
jprochazk Jun 6, 2023
6d06c1c
Link to `/examples` in PR description (#2320)
jprochazk Jun 7, 2023
b20063e
Fix and clean up BUILD.md (#2319)
abey79 Jun 7, 2023
e90e8b0
Make examples setup a separate page (#2323)
jprochazk Jun 7, 2023
db6a5ee
Add `site_url` to `mkdocs.yml` (#2326)
jprochazk Jun 8, 2023
880af5f
Things broken on main (#2343)
jleibs Jun 8, 2023
47c01a6
Fix ARKit example (#2351)
teh-cmc Jun 9, 2023
df44ae2
Optimization: avoid a memory allocation when padding RGB u8 to RGBA (…
emilk Jun 9, 2023
b293405
Remove long dead code python unit test (#2356)
teh-cmc Jun 9, 2023
b75c4e4
Normalise Python typing syntax to 3.8+ (#2361)
abey79 Jun 12, 2023
7419dfe
Enforce `from __future__ import annotations` in Python files (#2377)
abey79 Jun 12, 2023
2843e9c
Automatically determine image/tensor color mapping & need for srgb de…
Wumpf Jun 12, 2023
9652421
Added gcloud project name to `upload_image.py` (#2381)
abey79 Jun 12, 2023
77ed880
Add `log_cleared` to the common index (#2400)
jleibs Jun 13, 2023
7927d15
Use forked `mkdocs-redirects` (#2404)
jprochazk Jun 13, 2023
1078640
Update wasm-bindgen to 0.2.87 (#2406)
emilk Jun 13, 2023
fd099a2
Fix texture clamping and color gradient selection being displayed inc…
Wumpf Jun 13, 2023
b1e63b5
Fix some browsers failing due to 8k texture requirement, pick always …
Wumpf Jun 13, 2023
ad1884a
Remove weird-looking argument parsing in examples (#2398)
emilk Jun 13, 2023
dd22283
Add support for classes to generated python common API index (#2401)
jleibs Jun 13, 2023
2c3aa4c
Fix class id resolving to wrong color for class-id tensors (#2414)
Wumpf Jun 13, 2023
00c4499
Fix WebGL crash due to rectangle shader returning arrays (#2413)
Wumpf Jun 13, 2023
37ee89d
Added support for creating multi-resolution stacks with upload_image.…
abey79 Jun 13, 2023
50230d8
Fix tracking_hf example: put scaled thing under its own root entity (…
emilk Jun 14, 2023
587e6e2
Clean up our examples (#2424)
emilk Jun 14, 2023
183b566
Update xml-rs v0.8.13 -> v0.8.14 (#2425)
emilk Jun 14, 2023
7e169b7
Add `jpeg_quality` parameter to `log_image` (#2418)
emilk Jun 14, 2023
865dcb8
Update pip package `requests` to 2.31 with bug fix (#2426)
emilk Jun 14, 2023
122832e
New face detection example based on MediaPipe (#2360)
abey79 Jun 14, 2023
f883944
Update web examples (#2420)
emilk Jun 14, 2023
3023efe
Fix BGR/RGB mixup in colmap demo (#2430)
emilk Jun 14, 2023
06fa7da
Update names, titles and tags for examples with real data (#2416)
nikolausWest Jun 14, 2023
833aaf0
Fix typo in `run_all.py` (#2441)
jprochazk Jun 15, 2023
29046de
Small changelog improvements (#2442)
emilk Jun 15, 2023
1c95e21
Fix visiblity toggles for time series not working (#2444)
Wumpf Jun 15, 2023
212d5d0
Minor fixes/improvements of `upload_image.py` (#2449)
abey79 Jun 15, 2023
b31aae0
Improve changelog generator (#2447)
emilk Jun 15, 2023
21bdf53
Bump version to 0.7.0-alpha.1
emilk Jun 15, 2023
3d288d3
fix github case
jprochazk Jun 15, 2023
3a36677
Add Quarternion xyzw argument to ros_node example (#2451)
jleibs Jun 15, 2023
3bef960
When loading on web, match style and show a progress indicator while …
jleibs Jun 15, 2023
25c1835
Fixed a bunch of missing renames (#2448)
abey79 Jun 15, 2023
d380074
Document annotation context in manual (#2453)
Wumpf Jun 16, 2023
fe3b654
Fix greyscale colormapping being not gamma-corrected (#2456)
Wumpf Jun 16, 2023
9cf3033
Released version to 0.7.0
jleibs Jun 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ To get an auto-generated PR description you can put "copilot:summary" or "copilo

<!-- This line will get updated when the PR build summary job finishes. -->
PR Build Summary: {{ pr-build-summary }}

<!-- This comment will be replaced by a link to the documentation preview -->
35 changes: 35 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Documentation

on:
pull_request:
push:
branches:
- "main"

permissions:
contents: read

jobs:
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v2
with:
config: "docs/cspell.json"
files: "docs/**/*.md"
linkinator:
name: linkinator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jprochazk/linkinator-action@main
with:
paths: "docs/**/*.md"
linksToSkip: "https://crates.io/crates/rerun"
retry: true
retryErrors: true
retryErrorsCount: 5
retryErrorsJitter: 2000

2 changes: 2 additions & 0 deletions .github/workflows/manual_adhoc_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
MARK_TAGGED_VERSION: false
ADHOC_NAME: ${{ github.event.inputs.ADHOC_NAME }}
RRD_ARTIFACT_NAME: linux-rrd-fast
UPLOAD_COMMIT: false
secrets: inherit

build-web-demo-adhoc:
Expand All @@ -65,4 +66,5 @@ jobs:
MARK_PRERELEASE_FOR_MAINLINE: false
MARK_TAGGED_VERSION: false
ADHOC_NAME: ${{ github.event.inputs.ADHOC_NAME }}
UPLOAD_COMMIT: false
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/manual_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,26 @@ jobs:
RRD_ARTIFACT_NAME: linux-rrd
RELEASE_VERSION: ${{ github.event.inputs.RELEASE_VERSION }}
secrets: inherit

build-web-demo:
name: 'Build Web Demo'
needs: [build-linux, build-web]
uses: ./.github/workflows/reusable_build_web_demo.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
WHEEL_ARTIFACT_NAME: linux-wheel
secrets: inherit

upload-web-demo:
name: 'Upload Web'
needs: [build-web-demo]
uses: ./.github/workflows/reusable_upload_web_demo.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
MARK_PRERELEASE_FOR_MAINLINE: false
MARK_TAGGED_VERSION: true
RELEASE_VERSION: ${{ github.event.inputs.RELEASE_VERSION }}
secrets: inherit

generate-wheel-index:
name: 'Generate Pip Index'
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/manual_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@ on:
default: 'linux'

BUILD_WEB:
description: 'Run reusable_build_web'
type: boolean
required: false
default: true

BUILD_WEB_DEMO:
description: 'Run reusable_build_web'
type: boolean
description: 'Run reusable_build_web/reusable_build_web_demo (Full build: app,demo)'
type: string
required: false
default: true
default: 'app,demo'

RELEASE_VERSION:
description: 'Release Version Number (Must match Cargo.toml)'
Expand Down Expand Up @@ -218,7 +212,7 @@ jobs:

build-web:
name: 'Build Web'
if: ${{ github.event.inputs.BUILD_WEB == 'true'}}
if: ${{ contains(github.event.inputs.BUILD_WEB, 'app') }}
uses: ./.github/workflows/reusable_build_web.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
Expand All @@ -228,7 +222,7 @@ jobs:
upload-web:
name: 'Upload Web'
needs: [min-test-wheel, build-web]
if: ${{ (github.event.inputs.BUILD_WEB == 'true') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
if: ${{ contains(github.event.inputs.BUILD_WEB, 'app') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_web.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
Expand All @@ -240,7 +234,7 @@ jobs:
build-web-demo:
name: 'Build Web Demo'
needs: [min-test-wheel, build-web]
if: ${{ github.event.inputs.BUILD_WEB_DEMO == 'true'}}
if: ${{ contains(github.event.inputs.BUILD_WEB, 'demo') }}
uses: ./.github/workflows/reusable_build_web_demo.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
Expand All @@ -250,7 +244,7 @@ jobs:
upload-web-demo:
name: 'Upload Web Demo'
needs: [build-web-demo]
if: ${{ (github.event.inputs.BUILD_WEB_DEMO == 'true') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
if: ${{ contains(github.event.inputs.BUILD_WEB, 'demo') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_web_demo.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ jobs:
generateReleaseNotes: true
allowUpdates: true
draft: true

- name: Release Web Demo
run: |
gsutil -m cp -r "gs://rerun-demo/commit/${{ env.SHORT_SHA }}/*" "gs://rerun-demo/version/latest/"

8 changes: 8 additions & 0 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@ jobs:
CONCURRENCY: pr-${{ github.event.pull_request.number }}
PR_NUMBER: ${{ github.event.pull_request.number }}
secrets: inherit

link-docs:
name: 'Link Docs'
uses: ./.github/workflows/reusable_pr_link_docs.yml
with:
CONCURRENCY: pr-${{ github.event.pull_request.number }}
PR_NUMBER: ${{ github.event.pull_request.number }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/on_push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
secrets: inherit

upload-web-demo:
name: 'Upload Web'
name: 'Upload Web Demo'
needs: [build-web-demo]
uses: ./.github/workflows/reusable_upload_web_demo.yml
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/reusable_build_and_test_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ jobs:
run: ./scripts/setup_web.sh

# The first steps of setup_web.sh, for Windows:
- name: Install wasm32 and wasm-bindgen-cli for building the web-viewer Wasm on windows
- name: Install wasm32 cargo target for building the web-viewer Wasm on windows
if: inputs.platform == 'windows'
shell: bash
run: rustup target add wasm32-unknown-unknown && cargo install wasm-bindgen-cli --version 0.2.86
run: rustup target add wasm32-unknown-unknown

# The last step of setup_web.sh, for Windows.
# Since 'winget' is not available within the GitHub runner, we download the package directly:
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
# TODO(jleibs): understand why deps can't be installed in the same step as the wheel
shell: bash
run: |
pip install deprecated numpy>=1.23 pyarrow==10.0.1 pytest==7.1.2
pip install deprecated numpy>=1.23 pillow>=9.5.0 pyarrow==10.0.1 pytest==7.1.2

- name: Install built wheel
if: needs.set-config.outputs.RUN_TESTS == 'true'
Expand Down Expand Up @@ -278,18 +278,18 @@ jobs:
id: dataset
uses: actions/cache@v3
with:
path: examples/python/colmap/dataset/
path: examples/python/structure_from_motion/dataset/
# TODO(jleibs): Derive this key from the invocation below
key: colmap-dataset-colmap-fiat-v0
key: structure-from-motion-dataset-structure-from-motion-fiat-v1

- name: Generate Embedded RRD file
if: needs.set-config.outputs.RUN_TESTS == 'true'
shell: bash
# If you change the line below you should almost definitely change the `key:` line above by giving it a new, unique name
run: |
mkdir rrd
pip install -r examples/python/colmap/requirements.txt
python3 examples/python/colmap/main.py --dataset colmap_fiat --resize 800x600 --save rrd/colmap_fiat.rrd
pip install -r examples/python/structure_from_motion/requirements.txt
python3 examples/python/structure_from_motion/main.py --dataset colmap_fiat --resize 800x600 --save rrd/colmap_fiat.rrd

# All platforms are currently creating the same rrd file, upload one of them
- name: Save RRD artifact
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/reusable_pr_link_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Reusable PR Link Docs

on:
workflow_call:
inputs:
CONCURRENCY:
required: true
type: string
PR_NUMBER:
required: true
type: string

concurrency:
group: ${{ inputs.CONCURRENCY }}-pr-summary
cancel-in-progress: true

jobs:
pr-link-docs:
name: Link to docs preview in PR

permissions:
contents: "read"
id-token: "write"
pull-requests: "write"

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install deps
run: pip install PyGithub # NOLINT

- name: Link to docs
run: |
python scripts/pr_link_docs.py \
--github-token ${{ secrets.GITHUB_TOKEN }} \
--github-repository ${GITHUB_REPOSITORY} \
--pr-number ${{ inputs.PR_NUMBER }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ inputs.PR_NUMBER }}

6 changes: 6 additions & 0 deletions .github/workflows/reusable_upload_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ on:
required: false
type: string
default: ''
UPLOAD_COMMIT:
required: false
type: boolean
default: true

concurrency:
group: ${{ inputs.CONCURRENCY }}-upload-web
Expand Down Expand Up @@ -80,13 +84,15 @@ jobs:
echo "SHORT_SHA=$(echo $USED_SHA | cut -c1-7)" >> $GITHUB_ENV

- name: "Upload web-viewer (commit)"
if: ${{ inputs.UPLOAD_COMMIT }}
uses: google-github-actions/upload-cloud-storage@v1
with:
path: "web_viewer"
destination: "rerun-web-viewer/commit/${{env.SHORT_SHA}}"
parent: false

- name: "Upload RRD (commit)"
if: ${{ inputs.UPLOAD_COMMIT }}
uses: google-github-actions/upload-cloud-storage@v1
with:
path: "rrd"
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/reusable_upload_web_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
required: false
type: string
default: ''
UPLOAD_COMMIT:
required: false
type: boolean
default: true

concurrency:
group: ${{ inputs.CONCURRENCY }}-upload-web-demo
Expand Down Expand Up @@ -69,6 +73,7 @@ jobs:
echo "SHORT_SHA=$(echo $USED_SHA | cut -c1-7)" >> $GITHUB_ENV

- name: "Upload web demo (commit)"
if: ${{ inputs.UPLOAD_COMMIT }}
uses: google-github-actions/upload-cloud-storage@v1
with:
path: "web_demo"
Expand All @@ -90,14 +95,6 @@ jobs:
path: "web_demo"
destination: "rerun-demo/version/${{inputs.RELEASE_VERSION}}"
parent: false

- name: "Upload web demo (latest)"
if: inputs.MARK_TAGGED_VERSION
uses: google-github-actions/upload-cloud-storage@v1
with:
path: "web_demo"
destination: "rerun-demo/version/latest"
parent: false

- name: "Upload web demo (adhoc)"
if: ${{ inputs.ADHOC_NAME != '' }}
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[mypy]
files = rerun_py/rerun_sdk/rerun, rerun_py/tests, examples/python
exclude = examples/python/objectron/proto|examples/python/ros
exclude = examples/python/objectron/proto|examples/python/ros_node
namespace_packages = True
show_error_codes = True
strict = True
Expand Down
Loading