This repository was archived by the owner on Feb 16, 2024. It is now read-only.
[BAHIR-60] Script to merge pull requests#83
Open
lukasz-antoniak wants to merge 2 commits intoapache:masterfrom
Open
[BAHIR-60] Script to merge pull requests#83lukasz-antoniak wants to merge 2 commits intoapache:masterfrom
lukasz-antoniak wants to merge 2 commits intoapache:masterfrom
Conversation
Member
Author
|
I have just pushed little more changes (validations, Git account configuration). Please let me know what you think and if direction is correct. |
Member
|
Thanks for this @lukasz-antoniak. I really would have hoped you didn't start from scratch but did small modifications on an existing merge script such as the one from Spark as that would give us the benefit of being used and tested in large scale in multiple projects for a little while. I would like to suggest you take a quick look at the merge-script from Spark and suggest what we should do as next steps: update this one versus adopting an existing one with modifications to any specific use case we might have. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA ticket: https://issues.apache.org/jira/browse/BAHIR-60
Sample output:
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?