Hi,

On August 19, 2019 9:35:02 AM UTC, Victor Stinner <vstin...@redhat.com> wrote:
>Hi,
>
>To create a 3.5 backport, I use the following commands (something like 
>this, adapt names ;-):
>
>   cd ~/python/3.5
>   git checkout -b fix_something35
>   git cherry-pick -x commit_sha1
>   # maybe fix conflicts or make further changes
>   make
>   ./python -m test -v test_modified_test
>   # or better: ./python -m test -j0 -rW
>   gh_pr.sh  # my script to open a PR
>
>I consider that it's easy enough to not have a "backport to 3.5" label.

Well, it is easier to use cherry_picker to do this:

$ cherry_picker <sha1> 3.5

That's all. It doesn't run tests but CI will do that so I guess they are 
similar :)

>I asked to remove this label since it was misused by contributors who 
>are not aware that 3.5 not longer accept bug fixes.

Ah okay, I was just looking for this. I guess it makes sense, but I always 
thought non core devs can't add labels.

>Tell me if you need help to do the backport.
>
>Note: there are many tools to open a pull requests on GitHub, but my 
>script is working well for my workload so I never tried any other
>script ;-)
>
>Victor

Abhilash

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
python-committers mailing list -- python-committers@python.org
To unsubscribe send an email to python-committers-le...@python.org
https://mail.python.org/mailman3/lists/python-committers.python.org/
Message archived at 
https://mail.python.org/archives/list/python-committers@python.org/message/4G3KKYS5Y533XUXU6M7L7ANA3UFKIBR7/
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to