You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by JoshRosen <gi...@git.apache.org> on 2014/07/30 21:21:56 UTC

[GitHub] spark pull request: Improvements to merge_spark_pr.py

GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/1668

    Improvements to merge_spark_pr.py

    This commit fixes a couple of issues in the merge_spark_pr.py developer script:
    
    - Allow recovery from failed cherry-picks.
    - Fix detection of pull requests that have already been merged.
    
    Both of these fixes are useful when backporting changes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark pr-script-improvements

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1668.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 #1668
    
----
commit ed5bc5753d47daf7271830ee6ffbbe0a55a83ba4
Author: Josh Rosen <jo...@apache.org>
Date:   2014-07-30T19:16:55Z

    Improvements for backporting using merge_spark_pr:
    
    Allow users to recover from errors while cherry-picking.
    
    Fix detection of PRs that have already been merged.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by mateiz <gi...@git.apache.org>.
Github user mateiz commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50693197
  
    While you're at it, can you also make it use the current dir as SPARK_HOME if it's not set instead of `/home/patrick/...`?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50822201
  
    I've merged this.  Thanks for the review!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50673435
  
    QA results for PR 1668:<br>- This patch PASSES unit tests.<br>- This patch merges cleanly<br>- This patch adds no public classes<br><br>For more information see test ouptut:<br>https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17468/consoleFull


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1668#discussion_r15663615
  
    --- Diff: dev/merge_spark_pr.py ---
    @@ -39,15 +38,15 @@
         JIRA_IMPORTED = False
     
     # Location of your Spark git development area
    -SPARK_HOME = os.environ.get("SPARK_HOME", "/home/patrick/Documents/spark")
    +SPARK_HOME = os.environ.get("SPARK_HOME", os.getcwd())
     # Remote name which points to the Gihub 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", "pwendell")
    --- End diff --
    
    wont't his present a usability regression for those people with user name "pwedell" ;)


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50694729
  
    I changed it to use `cwd` as the default SPARK_HOME, and also added code to detect missing JIRA credentials.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/1668


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50694848
  
    QA tests have started for PR 1668. This patch merges cleanly. <br>View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17509/consoleFull


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50698925
  
    QA results for PR 1668:<br>- This patch PASSES unit tests.<br>- This patch merges cleanly<br>- This patch adds no public classes<br><br>For more information see test ouptut:<br>https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17509/consoleFull


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50666415
  
    QA tests have started for PR 1668. This patch merges cleanly. <br>View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17468/consoleFull


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: Improvements to merge_spark_pr.py

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1668#issuecomment-50706634
  
    looks good, Josh


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---