[
https://issues.apache.org/jira/browse/CURATOR-576?focusedWorklogId=452054&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-452054
]
ASF GitHub Bot logged work on CURATOR-576:
------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jun/20 15:16
Start Date: 28/Jun/20 15:16
Worklog Time Spent: 10m
Work Description: eolivelli commented on pull request #369:
URL: https://github.com/apache/curator/pull/369#issuecomment-650778293
@Randgalt
Having a script helps the community in doing things all the same way and
saves us from making errors.
We can make it non required.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 452054)
Time Spent: 50m (was: 40m)
> 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
> Fix For: 5.1.0
>
> Time Spent: 50m
> 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)