Skip to content

Development

Christoph Reiter edited this page Aug 27, 2023 · 10 revisions

Development Workflow

...

Upstreaming Changes

...

Updating Minor Versions

Here the repository is configured so that

  1. Fetch the tag from the upstream and create a new branch from it and push.
git fetch upstream v<version-number>
git checkout -b wip-mingw-v<version-number> v<version-number>
git checkout -b mingw-v<version-number> v<version-number>
git push origin wip-mingw-v<version-number>
git push origin mingw-v<version-number>
  1. Switch to wip branch and cherry-pick all the previous commits from old branch
git cherry-pick v<old-version-number>..mingw-v<old-version-number>
  1. Try to clean up the history, merge patches etc to make the history clean and linear (makes future updates easier)
  2. Create a new PR for merging wip-mingw-v<version-number> into mingw-v<version-number>
  3. Include a range-diff in the PR description: git range-diff v<old-version-number>..mingw-v<old-version-number> mingw-v<new-version-number>..wip-mingw-v<new-version-number>.
  4. Merge the PR
  5. Make the new branch mingw-v<new-version-number> the default branch
  6. Update the patches in MINGW-packages repo

Tips

  • If rebuilds with make lead to a segfault, rm pybuilddir.txt and try again
Clone this wiki locally