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

[GitHub] spark pull request: SPARK-1648 Support closing JIRA's as part of m...

GitHub user pwendell opened a pull request:

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

    SPARK-1648 Support closing JIRA's as part of merge script.

    Ads an automated hook in the merge script that can close the JIRA, 
    set the fix versions, and leave a comment on the JIRA indicating the
    PR in which it was resolved. This ensures that (a) we always close JIRA's
    when issues are merged and (b) there is a link to the pull request in every JIRA.

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

    $ git pull https://github.com/pwendell/spark jira-pr-merge

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

    https://github.com/apache/spark/pull/570.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 #570
    
----
commit 3022b9641f2dfae9c9563cdb9e94f8cd7124d0fb
Author: Patrick Wendell <pw...@gmail.com>
Date:   2014-04-27T05:50:08Z

    SPARK-1648 Support closing JIRA's as part of merge script.

----


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41489609
  
    All automated tests passed.
    Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14515/


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41511160
  
    Yes, that is exactly what I was referring to - since the committer specifies the branches to commit to; use that to populate the JIRA field.
    If this is being done - then this is lovely change !


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41502814
  
    @mridulm not sure what you mean by "update the branches"? this sets the fix version on the JIRA according to which branches the PR was committed to. 
    
    For your second question, right now it always resolves the JIRA, we could probably add a feature to let you post on the JIRA but not resolve it.


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41489608
  
    Merged build finished. All automated tests passed.


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41504640
  
    Actually it goes the other way - we ask the committer to say what branches it gets merged into, and then we set the fix version on the JIRA based on that. 


---
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: SPARK-1648 Support closing JIRA's as part of m...

Posted by pwendell <gi...@git.apache.org>.
GitHub user pwendell reopened a pull request:

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

    SPARK-1648 Support closing JIRA's as part of merge script.

    Adds an automated hook in the merge script that can close the JIRA, 
    set the fix versions, and leave a comment on the JIRA indicating the
    PR in which it was resolved. This ensures that (a) we always close JIRA's
    when issues are merged and (b) there is a link to the pull request in every JIRA.
    
    This requires a python library called `jira-client`. We could look at embedding this
    library in our project, but it seemed simple enough to just gracefully disable this
    feature if it is not installed. It can be installed with `pip install jira-client`.

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

    $ git pull https://github.com/pwendell/spark jira-pr-merge

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

    https://github.com/apache/spark/pull/570.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 #570
    
----
commit 3022b9641f2dfae9c9563cdb9e94f8cd7124d0fb
Author: Patrick Wendell <pw...@gmail.com>
Date:   2014-04-27T05:50:08Z

    SPARK-1648 Support closing JIRA's as part of merge script.

----


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41489173
  
    Merged build started. 


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41503564
  
    I meant, depending on which branch it is committed to, update Fix Version in jira ?
    Usual expectation is for this field to be appropriately updated : though I am pretty bad at that right now :-)
    So if the script does it, beautiful !


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41489169
  
     Merged build triggered. 


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

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


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

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


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41501708
  
    Not review of the PR, but this is a great addition !
    Btw, does it also update the branch(es) that the PR was committed to ?
    What about leaving the JIRA unresolved (partial fixes for example)


---
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: SPARK-1648 Support closing JIRA's as part of m...

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

    https://github.com/apache/spark/pull/570#issuecomment-41511884
  
    Okay I went ahead and merged this.


---
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.
---