Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-576

Import merge script from ZooKeeper project

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.0
    • None
    • General
    • None

    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:
       
       

      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  

       
      run the script: 

      python3 merge-pr.py

       
      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

      pip3 install jira

      Attachments

        Activity

          People

            eolivelli Enrico Olivelli
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m