[
https://issues.apache.org/jira/browse/KAFKA-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553248#comment-14553248
]
Ismael Juma commented on KAFKA-2187:
------------------------------------
The following environment variables are of note:
{quote}
# Remote name which points to the GitHub site
PR_REMOTE_NAME = os.environ.get("PR_REMOTE_NAME", "apache-github")
# Remote name which points to Apache git
PUSH_REMOTE_NAME = os.environ.get("PUSH_REMOTE_NAME", "apache")
# ASF JIRA username
JIRA_USERNAME = os.environ.get("JIRA_USERNAME", "")
# ASF JIRA password
JIRA_PASSWORD = os.environ.get("JIRA_PASSWORD", "")
GITHUB_USER = os.environ.get("GITHUB_USER", "apache")
{quote}
> Introduce merge-kafka-pr.py script
> ----------------------------------
>
> Key: KAFKA-2187
> URL: https://issues.apache.org/jira/browse/KAFKA-2187
> Project: Kafka
> Issue Type: New Feature
> Reporter: Ismael Juma
> Assignee: Ismael Juma
> Priority: Minor
> Attachments: KAFKA-2187.patch, KAFKA-2187_2015-05-20_23:14:05.patch
>
>
> This script will be used to merge GitHub pull requests and it will pull from
> the Apache Git repo to the current branch, squash and merge the PR, push the
> commit to trunk, close the PR (via commit message) and close the relevant
> JIRA issue (via JIRA API).
> Spark has a script that does most (if not all) of this and that will be used
> as the starting point:
> https://github.com/apache/spark/blob/master/dev/merge_spark_pr.py
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)