Repository navigation
build: keep Dependabot from moving action v2 to cpp-linter 2.x - #537
shenxianpeng wants to merge 1 commit into
Conversation
cpp-linter 2.0.0 (the Rust rewrite) will be uploaded to PyPI as `cpp-linter`. Its CLI differs from 1.x, so a Dependabot bump of this branch to 2.x would break action v2. Action v3 moves to 2.x on its own branch.
|
No actionable comments were generated in the recent review. WalkthroughThe uv Dependabot configuration now ignores semver-major updates for ChangesDependency update policy
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related issues
Merge Risk:
|
|
Closing for now; we'll handle it when it happens. Once cpp-linter 2.0.0 is on PyPI and Dependabot opens a PR that moves this branch (action v2) to cpp-linter 2.x, comment on that PR: Dependabot then drops cpp-linter 2.x from that PR (it is grouped with clang-tools) and stops proposing it, while 1.x patch and minor updates keep coming. |
2bndy5
left a comment
There was a problem hiding this comment.
If v3 becomes the main branch, then the inevitable v2 branch will have to pin cpp-linter<2 in pyproject.toml
Summary
cpp-linter 2.0.0 (the Rust rewrite from cpp-linter-rs) will be uploaded to PyPI under the same name,
cpp-linter. Its command line differs from 1.x, so once it is out, Dependabot'suvupdates would open a PR moving this branch (action v2, pinned tocpp-linter==1.16.0) to 2.0.0, which would break action v2.This adds an
ignorerule for semver-major updates ofcpp-linterto theuventry in.github/dependabot.yml. Patch and minor updates of 1.x keep coming as before. Action v3 moves to 2.x on its own branch (v3.0.0-rc0); when v3 replacesmain, this rule should be dropped.Related Issues
Relates to #283.
Summary by CodeRabbit