source Upgrade Guide
🍪 Project Updater (cookiecutter_project_upgrader)
Update the reusable source template before upgrading generated projects. Run upgrades on a clean development branch, never directly on the release branch.
source .venv/bin/activate
cookiecutter_project_upgrader --context-file ./docs/cookiecutter_input.json \
--upgrade-branch main --merge-now false --push-template-branch-changes false
git diff HEAD...cookiecutter-template
The updater creates a local template-branch commit. It does not merge that commit or push it with these options. Review the three-way merge before accepting it. Preserve existing role implementations, dependency declarations, project-specific settings, release versions and published history. In particular, never replace existing CLA or DCO signature records, changelog history or pending changelog fragments with template defaults.
Nested documentation is generated separately. Render the documentation template using the project’s saved documentation context, compare the results, and accept only intended documentation updates. Do not assume the project updater regenerates existing documentation automatically.
For organization-owned repositories, keep the saved company, GitHub organization, personal author and namespace fields distinct. Review all regenerated URLs.
Dependabot version updates are enabled when the generated configuration reaches the repository’s default branch. Review dependency pull requests and CI before merging. No automatic dependency merges are configured by the template.