Skip to content

Strip -rust suffix from version for git range queries - #313

Merged
sjoelund merged 1 commit into
masterfrom
fix-strip-rust-suffix
Aug 13, 2026
Merged

Strip -rust suffix from version for git range queries#313
sjoelund merged 1 commit into
masterfrom
fix-strip-rust-suffix

Conversation

@sjoelund

Copy link
Copy Markdown
Member

The all-reports script uses omcversion from the database to build git range specs like 'v1..v2' for commit log lookups. Rust builds append '-rust' to the version (e.g. 'v1.28.0-dev-308-g1ac9d5ad20-rust') which git cannot resolve as a tag or ref.

Strip the trailing '-rust' before the version is used in git commands so the underlying tag (e.g. 'v1.28.0-dev-308-g1ac9d5ad20') is found.

The all-reports script uses omcversion from the database to build
git range specs like 'v1..v2' for commit log lookups.  Rust builds
append '-rust' to the version (e.g. 'v1.28.0-dev-308-g1ac9d5ad20-rust')
which git cannot resolve as a tag or ref.

Strip the trailing '-rust' before the version is used in git commands
so the underlying tag (e.g. 'v1.28.0-dev-308-g1ac9d5ad20') is found.

Co-Authored-By: Qwen3.6-27B-TQ <qwen@alibaba.com>
@sjoelund sjoelund self-assigned this Aug 13, 2026
@sjoelund
sjoelund enabled auto-merge (squash) August 13, 2026 11:45
@sjoelund
sjoelund merged commit dc39a10 into master Aug 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant