[ https://issues.apache.org/jira/browse/EAGLE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052986#comment-15052986 ]
Michael Wu commented on EAGLE-84: --------------------------------- log steps with pseudocode for reference: > turn to the repo_folder > get latest master updates: git pull git://git.apache.org/incubator-eagle.git > master > download the patch to repo_folder/../patches/: wget > https://patch-diff.githubusercontent.com/raw/apache/incubator-eagle/pull/${pr_number}.patch > replace the placeholders in repo_folder/../template/commit_msg.template, with > real values, and with the final content, create a file: > pr${pr_number}_commit_msg > git commit -at repo_folder/../template/pr${pr_number}_commit_msg > git push git://git.apache.org/incubator-eagle.git master the script should handle switches and exceptions > Create scripts for merging PRs automatically > -------------------------------------------- > > Key: EAGLE-84 > URL: https://issues.apache.org/jira/browse/EAGLE-84 > Project: Eagle > Issue Type: Task > Reporter: Michael Wu > Assignee: Michael Wu > Original Estimate: 168h > Remaining Estimate: 168h > > While a pull request gets passed the testing steps, and is verified as > good-to-merge, people are willing to merge it with scripts to go through > necessary steps automatically, and can form the message of final aggregated > commit in a unified format. To achieve this, we are attempted to create the > script. > As discussed, the format of message should be like below (ignore the lines > consisted of asterisks): > ********************************************** > EAGLE-${ticket_number} ${ticket_title} > ${ticket_url} > Author: ${commiter} > Reviewer: ${reviewer} > Closes #${pr_number} from ${do_person} > ********************************************** -- This message was sent by Atlassian JIRA (v6.3.4#6332)