forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 17
Development
Christoph Reiter edited this page Aug 27, 2023
·
10 revisions
...
...
Here the repository is configured so that
- origin: https://github.com/msys2-contrib/cpython-mingw
- upstream: https://github.com/python/cpython
- fork: https://github.com/naveen521kk/cpython
- 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>- 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>- Try to clean up the history, merge patches etc to make the history clean and linear (makes future updates easier)
- Create a new PR for merging
wip-mingw-v<version-number>intomingw-v<version-number> - 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>. - Merge the PR
- Make the new branch
mingw-v<new-version-number>the default branch - Update the patches in MINGW-packages repo
- If rebuilds with make lead to a segfault,
rm pybuilddir.txtand try again