Actually, smart-apply-patch should be able to apply github PRs now that it uses 
the test-patch plugins.  So, (hopefully obviously) parameters would be the same 
as if you were using test-patch, so:

$ smart-apply-patch —project=(project that defines a github repo)  5

would apply pr #5 from that project’s repo.

$ smart-apply-patch --github-repo=aw-altiscale/yetus 5

would apply PR #5 from the aw-altiscale/yetus repo.

Normal s-a-p options work as well (dry run, committer mode, etc). In the case 
of github, there’s also options for settings tokens and the actual github URL 
to use if you want to use the commercial github stuff too.


On Oct 13, 2015, at 1:11 AM, Andrew Bayer <[email protected]> wrote:

> FYI - this seems like the kind of thing we should be jumping on? =)
> 
> A.
> 
> ---------- Forwarded message ----------
> From: Andrew Bayer <[email protected]>
> Date: Tue, Oct 13, 2015 at 10:11 AM
> Subject: Re: Applying Github PRs to Apache git repos
> To: "[email protected]" <[email protected]>
> 
> 
> Yetus (http://yetus.apache.org) doesn't yet have GitHub support for
> smart-apply-patch, and doesn't have review board support yet, but that's
> the logical place for such tooling to end up.
> 
> A.
> 
> 
> On Tue, Oct 13, 2015 at 10:07 AM, Daan Hoogland <[email protected]>
> wrote:
> 
>> have a look at git-pr in the cloudstack repo
>> tools/git/git-pr. It merges locally after which you'll have to push to
>> apache.
>> 
>> On Tue, Oct 13, 2015 at 8:07 AM, Adam Bordelon <[email protected]> wrote:
>> 
>>> Is there some automagical way to merge PRs from our github mirror into
>>> the Apache git repo? The Myriad podling has been looking at Mesos'
>>> apply-review.sh (and the in-development apply-review.py), which can
>>> also support ReviewBoard patches, but wanted to ask around to find out
>>> what other projects are using.
>>> Please advise.
>>> 
>>> Thanks for your help,
>>> -Adam-
>>> Apache Myriad, Apache Mesos
>>> 
>> 
>> 
>> 
>> --
>> Daan
>> 

Reply via email to