[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GitHub “pull request” is proprietary, incompatible with Git ‘request-pull’



On Thu, 2015-04-23 at 08:12 +0200, Tollef Fog Heen wrote:
> ]] Paul Wise 
> 
> > Also accept contributions via email or git request-pull.
> 
> How do I set up a service to accept git request-pull pull requests into
> a workflow? There does not seem to be any protocol associated with it,
> so «accept contributions via git request-pull» seems underspecified.

All "git request-pull" does is output an email template, including a url
+branch and a summary of the changes (subjects, authors, diffstat) found
at that location relative to a baseline (which is also specified).

The layout is consistent so it's not unimaginable to create some service
or script could consume such a mail, pull the changes and register them
into whatever you want.

Also, for convenience, the layout is such that you can type "git pull "
and then cut-and-paste a single line (i.e. triple click, move, middle
paste) from the message into your shell to do the pull.

Ian.


Reply to: