已开启
docs: 同步中英文 README #100
docs: 同步中英文 README #100
已开启
fangzhen创建于 14 天前
fangzhen
fangzhen成员
14 天前

docs: 升级 README 文档至模板 v0.4.2

likedislike
合并受阻
openharmony_ci
openharmony_ci成员
14 天前 评论:

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

likedislike
openharmony_ciopenharmony_ci成员
14 天前 添加了label:dco检查成功
fangzhenfangzhen成员
14 天前 关联了issue:升级0.77分支readme到0.4.2
cpf-manager
cpf-manager14 天前进行代码检视2
README.md
已过期
@@ -11,0 +29,4 @@
29+**npm**
30+ 
31+```bash
32+npm install @react-native-ohos/react-native-screens@4.8.3-rc.3
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【严重】【基础代码问题】【代码逻辑错误】安装命令中的 npm 包版本号在 npm 仓库不存在

● 问题:README.md 第 32-34 行(及第 41-44 行 yarn 命令)指定的三个包版本在 npm 仓库中均不存在:

  • @react-native-ohos/react-native-screens@4.8.3-rc.3:npm 仓库 4.8.3 系列仅有 4.8.3-rc.24.8.3-beta.4,不存在 4.8.3-rc.3
  • @react-native-ohos/native-stack@7.3.13-rc.3:npm 仓库 7.3.13 系列仅有 7.3.13-rc.27.3.13-beta.3,不存在 7.3.13-rc.3
  • @react-native-ohos/stack@7.2.12-rc.1:npm 仓库 7.2.12 系列仅有 7.2.12-beta.2,不存在 7.2.12-rc.1

● 影响:严重。用户按照 README 执行 npm install @react-native-ohos/react-native-screens@4.8.3-rc.3 等命令时,npm 会报错 "No matching version found",导致安装失败,无法使用本库。

● 建议:将版本号修改为 npm 仓库中实际存在的版本(如 4.8.3-rc.27.3.13-rc.27.2.12-beta.2),或在发布对应版本后再更新文档。

likedislike
System
系统消息系统
13 天前 评论:

changed this line on fd8ac95f view diff detail

cpf-manager
cpf-manager14 天前进行代码检视2
README-en.md
已过期
@@ -0,0 +29,4 @@
29+**npm**
30+ 
31+```bash
32+npm install @react-native-ohos/react-native-screens@4.8.3-rc.3
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【严重】【基础代码问题】【代码逻辑错误】npm package versions in install commands do not exist on npm registry

● 问题:Lines 32-34 (and lines 41-44 for yarn) specify three package versions that do not exist on the npm registry:

  • @react-native-ohos/react-native-screens@4.8.3-rc.3: only 4.8.3-rc.2 and 4.8.3-beta.4 exist in the 4.8.3 series, 4.8.3-rc.3 does not exist
  • @react-native-ohos/native-stack@7.3.13-rc.3: only 7.3.13-rc.2 and 7.3.13-beta.3 exist in the 7.3.13 series, 7.3.13-rc.3 does not exist
  • @react-native-ohos/stack@7.2.12-rc.1: only 7.2.12-beta.2 exists in the 7.2.12 series, 7.2.12-rc.1 does not exist

● 影响:严重。Users following the README will get a "No matching version found" error when running npm install @react-native-ohos/react-native-screens@4.8.3-rc.3 etc., causing installation failure and preventing use of this library.

● 建议:Update the version numbers to ones that actually exist on the npm registry (e.g., 4.8.3-rc.2, 7.3.13-rc.2, 7.2.12-beta.2), or update the docs after the corresponding versions are published.

likedislike
System
系统消息系统
13 天前 评论:

changed this line on fd8ac95f view diff detail

cpf-manager
cpf-manager14 天前进行代码检视2
README.md
已过期
@@ -10,0 +60,4 @@
60+**npm**
61+ 
62+```bash
63+npm install @react-native-ohos/react-native-screens@4.8.1-X.X.X
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】安装命令使用占位符版本号 4.8.1-X.X.X

● 问题:README.md 第 63 行和第 72 行的安装命令使用 @react-native-ohos/react-native-screens@4.8.1-X.X.X,其中 X.X.X 是占位符,不是合法的 npm semver 版本号。npm 仓库中不存在名为 4.8.1-X.X.X 的版本(4.8.1 系列实际存在的是 4.8.1-rc.7 等)。文档中也未说明需要将 X.X.X 替换为实际版本号。

● 影响:一般。用户直接复制该命令执行 npm install @react-native-ohos/react-native-screens@4.8.1-X.X.X 会报错 "No matching version found for @react-native-ohos/react-native-screens@4.8.1-X.X.X"。

● 建议:将 4.8.1-X.X.X 替换为实际可用的版本号(如 4.8.1-rc.7),或在命令旁明确标注 X.X.X 需替换为实际补丁版本号。

likedislike
System
系统消息系统
13 天前 评论:

changed this line on 329f02a8 view diff detail

cpf-manager
cpf-manager14 天前进行代码检视2
README-en.md
已过期
@@ -0,0 +60,4 @@
60+**npm**
61+ 
62+```bash
63+npm install @react-native-ohos/react-native-screens@4.8.1-X.X.X
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】Install command uses placeholder version 4.8.1-X.X.X

● 问题:Lines 63 and 72 use @react-native-ohos/react-native-screens@4.8.1-X.X.X, where X.X.X is a placeholder and not a valid npm semver version. No version named 4.8.1-X.X.X exists on the npm registry (the 4.8.1 series actually has 4.8.1-rc.7 etc.). The docs do not mention that X.X.X needs to be replaced with an actual version.

● 影响:一般。Users copying this command and running npm install @react-native-ohos/react-native-screens@4.8.1-X.X.X will get a "No matching version found for @react-native-ohos/react-native-screens@4.8.1-X.X.X" error.

● 建议:Replace 4.8.1-X.X.X with an actual available version (e.g., 4.8.1-rc.7), or add a note next to the command indicating that X.X.X should be replaced with the actual patch version.

likedislike
System
系统消息系统
13 天前 评论:

changed this line on 329f02a8 view diff detail

cpf-manager
cpf-manager14 天前进行代码检视1
README.md
@@ -12,0 +10,4 @@
10+ 
11+| 三方库名称 | 三方库版本(npm地址) | 发布信息 | 支持RN版本 | Autolink | 编译API版本 | 社区基线版本 | 源码地址 |
12+| ------------ | ------------ | ------------------------------ | ------------- | ------------- |------------------------ | ------------- | ------------- |
13+| @react-native-ohos/react-native-screens | [~ 4.8.1(开发中)](https://www.npmjs.com/package/@react-native-ohos/react-native-screens) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-screens/releases) | 0.77.* | 否 | API12+ | 4.8.0 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-screens/tree/br_rnoh0.77) |
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】版本对照表与安装命令版本号不一致

● 问题:README.md 第 13 行的版本对照表中"三方库版本"列标注为 ~ 4.8.1(开发中),但第 32 行的安装命令使用 @react-native-ohos/react-native-screens@4.8.3-rc.3。版本表声明的开发版本(4.8.1)与安装命令实际使用的版本(4.8.3-rc.3)不一致,且 4.8.3 > 4.8.1,存在版本号倒挂。

● 影响:一般。用户难以判断应安装哪个版本,对库的当前发布状态产生困惑,降低文档可信度。

● 建议:统一版本表与安装命令中的版本号。若当前开发版本为 4.8.3 系列,应将版本表更新为 ~ 4.8.3(开发中);若为 4.8.1,则安装命令应使用 4.8.1 系列版本。

likedislike
cpf-manager
cpf-manager14 天前进行代码检视1
README.md
@@ -10,0 +182,4 @@
182+```json
183+{
184+ "overrides": {
185+ "@rnoh/react-native-openharmony": "^0.77.33" // ohpm 在线版本
cpf-manager
cpf-manager14 天前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】RNOH override 版本与兼容性验证版本不一致

● 问题:README.md 第 185 行的 Overrides RN SDK 示例中 @rnoh/react-native-openharmony 版本为 ^0.77.33(semver 语义为 >=0.77.33 且 <0.78.0),但第 360 行"兼容性"章节标注的验证通过版本为 RNOH: 0.77.18^0.77.33 排除了 0.77.18,即按照 override 示例安装的 RNOH 版本(>=0.77.33)与实际验证通过的版本(0.77.18)不一致。

● 影响:一般。用户按照 override 示例安装 ^0.77.33 会得到 >=0.77.33 的版本,该版本未经兼容性验证,可能存在未验证的兼容性问题;若 0.77.33 尚未发布,ohpm 安装也会失败。

● 建议:统一两处版本号。若 0.77.18 为验证版本,应将 override 示例改为 ^0.77.180.77.18;若 0.77.33 为最低要求,应将兼容性章节的验证版本更新为 0.77.33。

likedislike
yangweiping
yangweiping14 天前进行代码检视2
README.md
已过期
@@ -10,0 +49,4 @@
49+<details>
50+ <summary>详细内容如下:</summary>
51+ 
52+### 4.8.0
yangweiping
yangweiping14 天前评论:

删除4.8.0

likedislike
System
系统消息系统
13 天前 评论:

changed this line on fd8ac95f view diff detail

yangweiping
yangweiping14 天前进行代码检视1
README.md
@@ -10,0 +382,4 @@
382+| type | 子标题类型 | property | No | iOS Android | Yes |
383+ 
384+# ScreenProps 属性列表
385+ 
yangweiping
yangweiping14 天前评论:
  1. # ScreenProps 属性列表# ScreenStackHeaderConfigProps 属性列表等等全部使用三级标题,在接口说明内部, 中英文都是。
  2. 目录结构二级标题
  3. 文档中的rc版本都要改成beta或者正式版本,优先正式版本。且确保版本是存在的。
  4. 英文文档叫README_en.md,而不是README-en.md
likedislike
fangzhenfangzhen成员
13 天前 强制推送  1 个提交:fd8ac95f-docs: 升级 README 文档至模板 v0.4.2
openharmony_ci
openharmony_ci成员
13 天前 评论:

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

likedislike
cpf-manager
cpf-manager13 天前进行代码检视1
README_en.md
@@ -0,0 +10,4 @@
10+ 
11+| Name | Version (npm address) | Release Information | Supported RN Version | Autolink | Compile API Version | Community Baseline Version | Source Address |
12+| --------------| ---------- | ------------------------------------------------------------ | ---------- | ------------- |------------------------ | ------------- | ------------- |
13+| @react-native-ohos/react-native-screens | [~ 4.8.1 (In development)](https://www.npmjs.com/package/@react-native-ohos/react-native-screens) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-screens/releases) | 0.77.* | No | API12+ | 4.8.0 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-screens/tree/br_rnoh0.77) |
cpf-manager
cpf-manager13 天前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】版本表描述与安装命令版本不一致

● 问题:README_en.md 第 13 行版本表中将 @react-native-ohos/react-native-screens 的版本描述为 ~ 4.8.1 (In development),但第 32 行安装命令使用的是 @react-native-ohos/react-native-screens@4.8.3-beta.4。经查询 npm registry(https://registry.npmjs.org/@react-native-ohos%2Freact-native-screens),4.8.1 系列仅存在 rc 预发布版本(4.8.1-rc.4 ~ 4.8.1-rc.7),4.8.3 系列存在 4.8.3-beta.4 和 4.8.3-rc.2。版本表描述的 4.8.1 与安装命令的 4.8.3-beta.4 分属不同版本系列,第 168 行 Link 表中也标注为 ~4.8.1,同样与安装命令不一致。

● 影响:一般。用户阅读版本表后认为库版本为 4.8.1 系列,但执行安装命令实际安装 4.8.3 系列,造成认知不一致,影响文档可信度。

● 建议:将第 13 行版本描述改为与安装命令一致的版本系列,如 ~ 4.8.3 (In development);或将安装命令改为 4.8.1 系列可用版本(如 4.8.1-rc.7),使版本表与安装命令保持一致。

likedislike
cpf-manager
cpf-manager13 天前进行代码检视1
README_en.md
@@ -0,0 +180,4 @@
180+```json
181+{
182+ "overrides": {
183+ "@rnoh/react-native-openharmony": "^0.77.33" // ohpm online version
cpf-manager
cpf-manager13 天前评论:

【AI-Review】【严重】【基础代码问题】【代码逻辑错误】RNOH override 版本范围与已验证版本不匹配

● 问题:README_en.md 第 183 行 ohpm override 配置为 "@rnoh/react-native-openharmony": "^0.77.33",semver 范围 ^0.77.33 表示 >=0.77.33 且 <0.78.0。但第 358 行 Constraints and Limitations 章节标注的已验证版本为 RNOH: 0.77.18,该版本不满足 ^0.77.33 范围。经查询 ohpm registry(https://ohpm.openharmony.cn/ohpm/@rnoh/react-native-openharmony),0.77.33 确实存在(且是 0.77 系列最低版本,ohpm 上不存在 0.77.18),但用户按 override 安装会得到 0.77.33(未被验证),而非文档声称已验证的 0.77.18。

● 影响:严重。用户按文档配置 override 后,ohpm 安装 0.77.33 或更高版本,该版本未在本库兼容性验证范围内,可能导致编译失败或运行时异常;已验证的 0.77.18 不会被安装。

● 建议:将 override 版本改为与已验证版本匹配的范围,如 "^0.77.18""0.77.18";或在 Constraints and Limitations 章节补充 0.77.33 的验证记录后再使用 ^0.77.33

likedislike
fangzhenfangzhen成员
13 天前 强制推送  1 个提交:329f02a8-docs: 升级 README 文档至模板 v0.4.2
openharmony_ci
openharmony_ci成员
13 天前 评论:

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

likedislike
fangzhenfangzhen成员
13 天前 强制推送  1 个提交:e3637ebc-docs: 升级 README 文档至模板 v0.4.2
openharmony_ci
openharmony_ci成员
13 天前 评论:

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

likedislike
fangzhen
fangzhen成员
1 天前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
1 天前 评论:

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

likedislike
openharmony_ciopenharmony_ci成员
1 天前 添加了label:静态检查失败
openharmony_ci
openharmony_ci成员
1 天前 评论:

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

静态检查:

# check type result report
1 codeCheck noPass >>>

likedislike