[
https://issues.apache.org/jira/browse/CURATOR-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Olivelli updated CURATOR-576:
------------------------------------
Description:
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}
was:
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
> 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: 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)