GitHub user franckcuny opened a pull request:
https://github.com/apache/incubator-distributedlog/pull/6
DL-16: Add script to merge GitHub PR.
Fetch a list of open Pull Request from GitHub, and merge them into the
repository. If the JIRA credentials are exported, the issues related to
the PR are updated with a comment and closed.
This script is a modified version of the one created for the spark
project.
```
./dl-merge-pr.py
Which pull request would you like to merge? (e.g. 34): 2
Commit title [DL-4: Add NOTICE file.]:
=== Pull Request #2 ===
PR title DL-4: Add NOTICE file.
Commit title DL-4: Add NOTICE file.
Source franckcuny/fcuny/DL-4
Target master
URL
https://api.github.com/repos/apache/incubator-distributedlog/pulls/2
Proceed with merging pull request #2? (y/n): y
From https://github.com/apache/incubator-distributedlog
* [new ref] refs/pull/2/head -> PR_TOOL_MERGE_PR_2
From git://git.apache.org/incubator-distributedlog
* [new branch] master -> PR_TOOL_MERGE_PR_2_MASTER
Switched to branch 'PR_TOOL_MERGE_PR_2_MASTER'
Do you want to validate unit tests after the merge? (y/n): n
Enter primary author in the format of 'name <email>' [Franck Cuny
<[email protected]>]:
Enter reviewers [Sijie Guo <[email protected]>]:
Merge complete (local ref PR_TOOL_MERGE_PR_2_MASTER). Push to apache?
(y/n): n
Okay, exiting
Restoring head pointer to fcuny/DL-16
Switched to branch 'fcuny/DL-16'
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franckcuny/incubator-distributedlog
fcuny/DL-16
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-distributedlog/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit 3611b077915a2c22313d02166b70a046303b9906
Author: Franck Cuny <[email protected]>
Date: 2016-07-28T17:39:16Z
DL-16: Add script to merge GitHub PR.
Fetch a list of open Pull Request from GitHub, and merge them into the
repository. If the JIRA credentials are exported, the issues related to
the PR are updated with a comment and closed.
This script is a modified version of the one created for the spark
project.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---