[
https://issues.apache.org/jira/browse/MAILBOX-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit updated MAILBOX-231:
-----------------------------------
Attachment: github_integration.tar.gz
# Github integration tool
This set of scripts aims at making it easier to review and commit Github pull
request on the Apache SVN.
You can make the review using Github, and discuss / update the pull request (
the discussions will be copied to the corresponding issues on Apache JIRA
automatically ).
Once you are satisfied of the pull request, put these script at the root of the
project you want to apply the pull request on.
For instance, with apache/james-mailbox project :
cd path/to/james-mailbox
cp path/to/github_pull_request_to_svn.sh path/to/jsonurl.py
path/to/jsonarray.py .
Then run .sh with the project name and the Github pull request number :
sh github_pull_request_to_svn.sh jame-mailbox 1
You will be asked for your github credentials ( used to extend the number of
requests made on the API ).
Informations about the commits will be retrieved from Github, and the changes
will be committed in SVN by Git commit.
When successfully merged, the pull request will be closed on GitHub ( if you do
not have the -n option ).
Note that if the PR is not mergeable, or any patch application fails, or any
SVN commit fails, you will be notified, and none action would be taken ( if you
do not have the -f option
).
# Requirements
You need to have python2 installed.
> Provide a tool to better integrate Github PR in our workflow.
> -------------------------------------------------------------
>
> Key: MAILBOX-231
> URL: https://issues.apache.org/jira/browse/MAILBOX-231
> Project: James Mailbox
> Issue Type: Task
> Reporter: Tellier Benoit
> Attachments: github_integration.tar.gz
>
>
> We want a set of scripts that extract and commit patchs from github PR.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]