[
https://issues.apache.org/jira/browse/DL-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397881#comment-15397881
]
ASF GitHub Bot commented on DL-16:
----------------------------------
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.
----
> Port the pull-request script to distributedlog
> ----------------------------------------------
>
> Key: DL-16
> URL: https://issues.apache.org/jira/browse/DL-16
> Project: DistributedLog
> Issue Type: Task
> Components: builds
> Reporter: Sijie Guo
> Assignee: Franck Cuny
> Fix For: 0.4.0
>
>
> There is a script in bookkeeper to merge pull request :
> https://github.com/apache/bookkeeper/blob/master/dev/bk-merge-pr.py
> We can port the script to distributedlog to simplify the merge process.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)