add backport_pr to tools #2358

Merged
merged 2 commits into from Aug 31, 2012

Projects

None yet

3 participants

@minrk
Member
minrk commented Aug 29, 2012

This is the script that has been used to back port pull requests to 0.13.1 so far.

minrk added some commits Aug 29, 2012
@minrk minrk add backport_pr to tools
This is the script that has been used to back port pull requests to 0.13.1 so far.
571d455
@minrk minrk shebang backport_pr cc2d526
@travisbot

This pull request passes (merged 571d455 into 8756d12).

@travisbot

This pull request passes (merged cc2d526 into 8756d12).

@Carreau
Member
Carreau commented Aug 29, 2012

Great, I'll had a look at tomorrow (for me).
And damned, I just saw a github ui change between 2 tabs I opened in less than 1sec !

@Carreau Carreau commented on the diff Aug 30, 2012
tools/backport_pr.py
+ backport_pr.py 0.13.1 123
+
+to backport PR #123 onto branch 0.13.1
+
+"""
+
+from __future__ import print_function
+
+import os
+import sys
+from subprocess import Popen, PIPE, check_call, check_output
+from urllib import urlopen
+
+from gh_api import get_pull_request
+
+def find_rejects(root='.'):
@Carreau
Carreau Aug 30, 2012 Member

I don't see where this function is used.
Am I missing smth ?

@minrk
minrk Aug 30, 2012 Member

For a time, I was trying git apply --reject to get partial applies. It's not used, currently.

@Carreau
Member
Carreau commented Aug 31, 2012

Well apparently the same thing that make requests fail to work with https url touch this PR too so I can't test from where I work.
But as it is really useful I'm going to merge this.

@Carreau Carreau merged commit 238c5f7 into ipython:master Aug 31, 2012
@minrk minrk deleted the minrk:backportpr branch Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment