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

Duo Zhang commented on HBASE-28764:
-----------------------------------

We can modify the file and change the patch name to HBASE-15789_V3.patch

This is how I updated the patch in the past

1. checkout protobuf git repo
2. 'git checkout' to the release tag, then 'git checkout -b' to create a branch
3. On that branch, use patch -px(based on which level of directory you execute 
the command) to apply each patch, and use 'git commit' to commit them.
4. Use 'git diff' to generate the patch. I can not recall whether there is a 
command to trim the prefix of the directory to it will starts from the 
protobuf-java module, but at least, you can also use sed to trim it in the 
final patch file.

Hope this could help.

Thanks.

> [hbase-thirdparty] Bump protobuf version from 4.26.1 to 4.27.2
> --------------------------------------------------------------
>
>                 Key: HBASE-28764
>                 URL: https://issues.apache.org/jira/browse/HBASE-28764
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to