已合并
chore: add `patch:rn` script and update react-native patching instructions #1458
chore: add `patch:rn` script and update react-native patching instructions #1458
已合并
Arek Kasprzyk创建于 2025年8月22日
Arek Kasprzyk
Arek Kasprzyk
2025年8月22日

Description

pnpm patch:rn simplifies the process of patching react-native for RNOH_MAINTAINERS. I expect it to happen more often in the nearest future due to active development of interop 61 package. This MR also updates react-native patching and upgrading instructions because they are outdated.

Changes

  • [chore] added pnpm patch:rn script
  • [chore] updated react-native patching and upgrading instructions

Test Plan

Play around with pnpm patch:rn. Try adding custom style in View.js.

Checklist

likedislike
Pull Request已成功合入, 合并人@huangyouhua
(感谢 Arek Kasprzyk 的贡献)
openharmony_ci
openharmony_ci成员
2025年8月22日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
openharmony_ciopenharmony_ci成员
2025年8月22日 添加了label:dco检查成功
Arek KasprzykArek Kasprzyk
2025年8月22日 将pafry设为评审人
Arek KasprzykArek Kasprzyk
2025年8月22日 关联了issue:chore: add `patch:rn` script and update react-native patching instructions
Arek Kasprzyk
Arek Kasprzyk
2025年8月22日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年8月22日 评论:

首次触发
门禁构建开始,包含静态检查、代码编译【ohos_react_native_77编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68a88abe64650f998bd6c0dc/runlist

likedislike
Arek KasprzykArek Kasprzyk
2025年8月22日 推送  1 个提交:132854af-add copyright header
openharmony_ci
openharmony_ci成员
2025年8月22日 评论:

监测到PR: https://gitcode.com/openharmony-sig/ohos_react_native/merge_requests/1458 代码有更新,当前正在执行的门禁任务已自动中止,如有需要,可重新触发

likedislike
openharmony_ci
openharmony_ci成员
2025年8月22日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
Arek KasprzykArek Kasprzyk
2025年8月22日 修改了pull request 的描述
Arek Kasprzyk
Arek Kasprzyk
2025年8月23日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年8月23日 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译【ohos_react_native_77编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68a8942964650f998b42e747/runlist

likedislike
openharmony_ciopenharmony_ci成员
2025年8月23日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年8月23日 添加了label:静态检查失败
openharmony_ci
openharmony_ci成员
2025年8月23日 评论:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68a8942964650f998b42e747/runlist

静态检查:

# check type result report
1 codeCheck noPass >>>

编译测试:
# Device build result package
1 ohos_react_native_77 success >>>

likedislike
Patryk FrydaPatryk Fryda
2025年8月25日 通过了评审
huangyouhua
huangyouhua
2025年8月25日 评论:

@arkadiuszkasprzyk Please run 'start build' again.

likedislike
Arek Kasprzyk
Arek Kasprzyk
2025年8月26日 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
2025年8月26日 删除了label:静态检查失败
openharmony_ciopenharmony_ci成员
2025年8月26日 删除了label:编译成功
openharmony_ci
openharmony_ci成员
2025年8月26日 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译【ohos_react_native_77编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68ad68a664650f998bc8e90c/runlist

likedislike
openharmony_ciopenharmony_ci成员
2025年8月26日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年8月26日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年8月26日 通过测试
openharmony_ci
openharmony_ci成员
2025年8月26日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68ad68a664650f998bc8e90c/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos_react_native_77 success >>>

likedislike
openharmony_dcp
openharmony_dcp成员
2025年8月26日 评论:

提交次数已达到或超过3次,为了保证上库效率和减少构建资源浪费,请点击链接观看学习视频,谢谢!https://dcp.openharmony.cn/workbench/video/videoDisplay

likedislike
huangyouhuahuangyouhua
2025年8月26日 将linhandev设为评审人
huangyouhuahuangyouhua
2025年8月26日 通过审查
huangyouhuahuangyouhua
2025年8月26日 关闭了关联的issue
huangyouhuahuangyouhua
2025年8月26日 合入了pull request