Repository navigation
Link a pre-cruft repo at the commit it last matched - #23
Conversation
Linking at the default, the latest commit, leaves cruft update nothing to apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011aQpF4MA9v7dTVK1FqMMVJ
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f7f39eed1c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| `uvx cruft link https://github.com/quadbio/analysis_template`. | ||
| A repo created before this template used cruft is linked once with | ||
| `uvx cruft link https://github.com/quadbio/analysis_template`. At its commit prompt, enter the template commit | ||
| whose files the repo last matched, not the default latest; `cruft update` then applies everything since. |
There was a problem hiding this comment.
Use a renderable baseline for pre-cruft repositories
A genuinely pre-cruft project last matched commit 2419048 or earlier, but those commits contain neither cookiecutter.json nor the templated project directory; both first appear in 88ea222. Following this instruction therefore records a non-template SHA, and the next update fails because Cruft generates its old baseline by checking out and rendering the recorded commit. Document a renderable migration baseline or a separate conversion procedure rather than directing these repositories to their actual last-matching commit.
Useful? React with 👍 / 👎.
cruft update renders the linked commit; commits before 88ea222 have no cookiecutter.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011aQpF4MA9v7dTVK1FqMMVJ
cruft linklinks at the template's latest commit unless another is entered at its prompt, andcruft updatethen finds nothing to apply, so a pre-cruft repo never receives the changes it missed. The README now says to enter the commit the repo last matched.Tested: a project rendered at d58142f, linked there, then
cruft updatebrought in every later change (PR template, review guide, AGENTS.md, workflows).🤖 Generated with Claude Code
https://claude.ai/code/session_011aQpF4MA9v7dTVK1FqMMVJ