cherry-picker
cherry-picker copied to clipboard
๐๐โ Utility script for backporting/cherry-picking CPython changes from master into one of the maintenance branches.
Fixes #99 Re: https://github.com/python/cherry-picker/issues/99#issuecomment-1913516938
``` python/cpython/gpshead (main)$ cherry_picker a6c1c04d4d2339f0094422974ae3f26f8c7c8565 3.12 --upstream-remote=upstream --pr-remote=origin ๐ ๐ โ You're not inside a cpython repo right now! ๐ python/cpython/gpshead (main)$ cherry_picker --version cherry_picker, version 2.2.0 ``` It appears...
This is happening for me everytime I do manual backports: ```pytb (.venv) ~/Desktop/cpython2 main โ ยป cherry_picker a1c4923d65a3e4cea917745e7f6bc2e377cde5c5 3.12 ๐ ๐ โ Now backporting 'a1c4923d65a3e4cea917745e7f6bc2e377cde5c5' into '3.12' Error cherry-pick a1c4923d65a3e4cea917745e7f6bc2e377cde5c5....
Per #116, here's a first cut at dimming the output of `git cherry-pick` and making the output of `cherry_picker` more prominent.
Something gone wrong, so I decided to recreate the backport. But the second attempt failed. As well as all following. Here is the result of the last failure.: ``` $...
As [people have learned](https://github.com/python/cpython/pull/115311#issuecomment-1938941759) I am not always the most observant person in the world. My initial attempts to use `cherry-picker` were complicated by the fact that I paid attention...
running cherry_picker 2.2.0 for a 3.12 backport, I get `subprocess.CalledProcessError: Command '['git', 'log', '--format=%H', '3.12..']' returned non-zero exit status 128.` and nothing else. I'm left to manually recreate that command...
This happened to me on the freshly upgraded openSUSE/Tumbleweed: ```pytb tumbleweed-pkg~/r/cpython (3.9)$ python3 -mpip install -U cherry_picker@git+https://github.com/python/cherry-picker.git Defaulting to user installation because normal site-packages is not writeable Collecting cherry_picker@ git+https://github.com/python/cherry-picker.git...
Resolves #69 I could add enforcement of something here if this is too lax but I'm not sure what kind of check that could be. I suppose I could also...