You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/14 21:04:00 UTC

[jira] [Work logged] (CURATOR-576) Import merge script from ZooKeeper project

     [ https://issues.apache.org/jira/browse/CURATOR-576?focusedWorklogId=536164&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-536164 ]

ASF GitHub Bot logged work on CURATOR-576:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jan/21 21:03
            Start Date: 14/Jan/21 21:03
    Worklog Time Spent: 10m 
      Work Description: anmolnar commented on pull request #369:
URL: https://github.com/apache/curator/pull/369#issuecomment-760474527


   @Randgalt This script is super useful for ZooKeeper commits. It makes the process super fast and easy for everyone. Is it really better to keep scripts on a wiki instead of source control? People should use their own handmade rubbish instead of an official and well maintained script?
   Sorry for horning in, this patch just caught my eye. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 536164)
    Time Spent: 1h 20m  (was: 1h 10m)

> Import merge script from ZooKeeper project
> ------------------------------------------
>
>                 Key: CURATOR-576
>                 URL: https://issues.apache.org/jira/browse/CURATOR-576
>             Project: Apache Curator
>          Issue Type: Task
>          Components: General
>    Affects Versions: 5.0.0
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Minor
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We can import zk-merge-pr.py script from ZooKeeper project.
>  
> The script:
>  * imports a PR from github
>  * squashes and merges all of the commits
>  * compute Reviewers from github API
>  * updates Jira and mark the issue as resolved
>  
> This is the guide on ZooKeeper project
> [https://cwiki.apache.org/confluence/display/ZOOKEEPER/Merging+Github+Pull+Requests]
> We will have our own page once the script gets merged
>  
> Setup:
>  
>  
> {code:java}
> git remote add apache https://github.com/apache/curator.git
> git remote add apache-github https://github.com/apache/curator.git
> export JIRA_USERNAME=my jira username  {code}
>  
> run the script: 
> {code:java}
> python3 merge-pr.py{code}
>  
> Just answer to the questions....
>  
> You will have to install the "jira" module in python3 if you want the script to do the JIRA paperwork for you
> {code:java}
> pip3 install jira{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)