Issue 1089: Move the script generate_patches.sh from lipcap to meta tools#1103
Open
rshrotey-IBM wants to merge 2 commits intomainfrom
Open
Issue 1089: Move the script generate_patches.sh from lipcap to meta tools#1103rshrotey-IBM wants to merge 2 commits intomainfrom
rshrotey-IBM wants to merge 2 commits intomainfrom
Conversation
…ools Summary: * Add a script to automatically generate patches to be committed to the port repos * File finds the relevant commit-ids and generates the patches provided the source repo is setup correctly (please read instr- uctions) Testing: Able to generate the patch files as expected Limitation: Won't work in detached state Signed-off-by: Rahul-Shrotey <Rahul.Shrotey@ibm.com>
Member
|
@rshrotey-IBM It didnt work for me. I got below error Source code is checked out to a tagged version |
Collaborator
Author
|
@sachintu47 - The script expects the source repository to be setup in a specific format, otherwise it may fail to work. The source repo should not be in a detached state, i.e. you should be on a branch for the script to work properly. Please follow these steps. - 1. Apply all the patches and generate source code repo using zopen build command2. Commit the files modified by zopen build in #1. Dev/bug fix changes should be done on top of this commit3. Once changes are ready, create new commit(s)4. Use this script to generate patch for files modified in step 3 |
Member
|
Looks good overall:
|
…ools * Incorporate review comments Signed-off-by: Rahul-Shrotey <Rahul.Shrotey@ibm.com>
Collaborator
Author
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary:
Testing: Able to generate the patch files as expected
Limitation: Won't work in detached state
What type of PR is this? (check all applicable)
Category
Description
Related Issues
[optional] Are there any post-deployment tasks or follow-up actions required?