You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/06 20:59:00 UTC

[jira] [Commented] (BAHIR-60) Create script to automatically merge PRs

    [ https://issues.apache.org/jira/browse/BAHIR-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762139#comment-16762139 ] 

ASF GitHub Bot commented on BAHIR-60:
-------------------------------------

lukasz-antoniak commented on pull request #83: [BAHIR-60] Script to merge pull requests
URL: https://github.com/apache/bahir/pull/83
 
 
   JIRA ticket: https://issues.apache.org/jira/browse/BAHIR-60
   
   Sample output:
   ```
   $ ./merge-pr.sh 3
   Commits to be merged:
      8b307bd [BAHIR-1] Corner fix
      540f478 [BAHIR-1] Important feature
   Maybe ask contributor to squash commits.
   Continue "as is"? [y/n] y
   Close pull request #3? [y/n] y
   Commits pushed to origin/master.
   Approver JIRA user: root
   Approver JIRA password:
   Specify assignee of JIRA ticket BAHIR-1 (current: root):
      0: root
      1: other
   Chosen option: 1
   Enter JIRA account name: lukasz
   Specify fixed release version:
      0: 1.0.1
   Chosen option: 0
   JIRA ticket successfully updated.
   ```
   If you comment out lines pushing changes to remote repository (line 125), clean-up of working directory (line 64), and two REST requests updating JIRA ticket (lines 182-205); you can perform a dry run to make sure the script works well.
   
   Comments welcome. Improvement ideas?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Create script to automatically merge PRs
> ----------------------------------------
>
>                 Key: BAHIR-60
>                 URL: https://issues.apache.org/jira/browse/BAHIR-60
>             Project: Bahir
>          Issue Type: Bug
>          Components: Build
>            Reporter: Luciano Resende
>            Assignee: Lukasz Antoniak
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)