Skip to content

Drop crate versions from the third-party license file - #477

Merged
frenck merged 1 commit into
mainfrom
frenck/license-file-without-versions
Oct 11, 2026
Merged

frenck merged 1 commit into
mainfrom
frenck/license-file-without-versions

Conversation

@frenck

@frenck frenck commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Breaking change

None

Proposed change

THIRD_PARTY_LICENSES.md listed every crate with its exact version. That made every Rust patch bump stale the file and fail the "Third-party license policy" check on each Renovate PR (currently #474 and #390), which also blocks their automerge.

This drops {{crate.version}} from about.hbs and regenerates the file. None of the licenses we redistribute require a version, and Cargo.lock already records them per release.

The file now only changes when a crate enters or leaves the dependency graph, or a crate changes its license text. Those are exactly the cases worth a human look. The about.toml allow-list gate is unchanged: a crate with a non-allowed license still fails cargo about generate.

Verified by regenerating the file against the Cargo.lock of #474 and #390: the output is byte-identical to this branch, so both go green once Renovate rebases them.

Type of change

  • Dependency or tooling upgrade
  • Bugfix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Deprecation (replaces or removes a feature, with a migration path)
  • Breaking change (a fix or feature that changes existing behavior)
  • Code quality, refactor, or test-only change
  • Documentation only

Additional information

Checklist

  • I have read the AI Policy, and this pull request was not created by an autonomous agent.
  • I fully understand the code in this pull request and can explain every line, including any AI-assisted changes.
  • The change is covered by tests, and uv run pytest passes locally. A pull request cannot be merged unless CI is green.
  • uv run ruff check . and uv run ruff format --check . pass.
  • cargo fmt --check and cargo clippy --all-targets -- -D warnings pass.
  • Round-trip fidelity is preserved: an unmodified document still re-emits byte-for-byte.
  • No commented-out or dead code is left in the pull request.

If the change is user-facing:

  • Documentation under docs/ is added or updated, and docs/verify_examples.py still passes.

The generated license file listed every crate with its exact version, so
every Rust patch bump made it stale and failed the license policy check
on each Renovate PR. Versions are not required by any of the licenses we
redistribute, and Cargo.lock already records them per release.

The file now only changes when a crate enters or leaves the dependency
graph or its license text changes. The about.toml allow-list gate is
unchanged.
Copilot AI balanced review requested due to automatic review settings October 11, 2026 10:57
@frenck frenck added ci Work that improves the continuous integration. rust labels Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3a83f144-78d3-4c31-8d34-57605d29ba35

📥 Commits

Reviewing files that changed from the base of the PR and between 91c98d0 and d7b46a4.


📒 Files selected for processing (2)
  • THIRD_PARTY_LICENSES.md
  • about.hbs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.



📝 Walkthrough

Walkthrough

Crate links in THIRD_PARTY_LICENSES.md and the used_by list no longer display crate version numbers. Crate names, license groupings, and reproduced license texts remain unchanged.


Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to d7b46

The license document now omits crate versions as intended, and its generated content matches the template change. No material merge risk remains.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: removing crate versions from the third-party license file.
Description check Passed The description directly explains the changes, their purpose, affected files, related pull requests, and reported verification results.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codspeed

codspeed Bot commented Oct 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 1 benchmark spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 16 untouched benchmarks


Comparing frenck/license-file-without-versions (d7b46a4) with main (91c98d0)

Open in CodSpeed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The template and regenerated output are consistent, while existing CI continues validating license policy and freshness.

0 open findings

What changed in this PR

Removes crate versions from generated third-party license listings to prevent patch-only dependency updates from creating unnecessary license diffs.

Changes:

  • Updates the cargo-about template to display crate names without versions.
  • Regenerates the license inventory accordingly.
File Description
about.hbs Omits crate versions from generated links.
THIRD_PARTY_LICENSES.md Applies the new versionless format.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@frenck
frenck merged commit 41b40c9 into main Oct 11, 2026
72 of 73 checks passed
@frenck
frenck deleted the frenck/license-file-without-versions branch October 11, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Work that improves the continuous integration. rust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants