👷 Track the pinned mockturtle revision with a Renovate custom manager - #404
Open
marcelwa wants to merge 1 commit into
Open
👷 Track the pinned mockturtle revision with a Renovate custom manager#404marcelwa wants to merge 1 commit into
marcelwa wants to merge 1 commit into
Conversation
Renovate has no native manager for CMake `FetchContent`, so `MOCKTURTLE_REV` in `cmake/ExternalDependencies.cmake` has never been updated automatically. Add a `custom.regex` manager that matches the pinned SHA and resolves it via the `git-refs` datasource against the `mnt` branch of `marcelwa/mockturtle`, which is what the pin tracks today. Digest updates are excluded from the inherited `:automergeDigest` behaviour: a mockturtle bump changes the C++ core, so it gets a human review rather than being merged unattended. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbUqcnZayPooFgekEXVSjz
📝 WalkthroughWalkthroughRenovate configuration now tracks the pinned mockturtle revision in CMake and applies dedicated metadata and manual review requirements to updates generated by the custom manager. ChangesMockturtle Renovate automation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Renovate has no native manager for CMake
FetchContent, soMOCKTURTLE_REVincmake/ExternalDependencies.cmakehas never been picked up by any of the automateddependency updates — it has only ever been bumped by hand.
This adds a
custom.regexmanager that matches the pinned commit SHA and resolves itthrough the
git-refsdatasource against themntbranch ofmarcelwa/mockturtle,which is exactly what the pin tracks today (verified: the pinned SHA
8f0322e3is the currentrefs/heads/mnthead).Motivation is broader than mockturtle: the upcoming ABC bridge work depends on landing
a change in the mockturtle fork first, and that pin needs to move routinely rather than
being remembered manually.
Notes
enabledManagersis an explicit allowlist, socustom.regexhad to be added theretoo — without it the manager would be silently inert.
:automergeDigestbehaviour. An unattended merge is fine for an Action SHA; a mockturtle bump changes
the C++ core, so it gets a human review.
dependencies,C++,build_system) — no newlabels are introduced.
Checklist:
🤖 Generated with Claude Code
https://claude.ai/code/session_01GbUqcnZayPooFgekEXVSjz
Summary by CodeRabbit