From bef5f924283e968801375256764216161eb7cb05 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 05:26:47 +0000 Subject: [PATCH 1/9] Update Flutter engine mappings --- ...8c61792f04cc809dfef0c910414fb9afc06cd.json | 12 ++++++++++++ .../tools/__pycache__/fetcher.cpython-314.pyc | Bin 14806 -> 14806 bytes .../__pycache__/test_fetcher.cpython-314.pyc | Bin 7155 -> 7155 bytes 3 files changed, 12 insertions(+) create mode 100644 flutter_hash/engine/69c8c61792f04cc809dfef0c910414fb9afc06cd.json diff --git a/flutter_hash/engine/69c8c61792f04cc809dfef0c910414fb9afc06cd.json b/flutter_hash/engine/69c8c61792f04cc809dfef0c910414fb9afc06cd.json new file mode 100644 index 00000000..26528e05 --- /dev/null +++ b/flutter_hash/engine/69c8c61792f04cc809dfef0c910414fb9afc06cd.json @@ -0,0 +1,12 @@ +{ + "engine": "69c8c61792f04cc809dfef0c910414fb9afc06cd", + "releases": [ + { + "flutter": "3.44.7", + "dart": "3.12.2", + "channel": "stable", + "framework": "84fc5cbb223bc12f83d65b647ff8a56caf779ffd", + "release_date": "2026-07-20T18:06:40.613912Z" + } + ] +} diff --git a/flutter_hash/tools/__pycache__/fetcher.cpython-314.pyc b/flutter_hash/tools/__pycache__/fetcher.cpython-314.pyc index d1d553455831ed9f8d313f8f03899f794de0f7f0..8d28c5a084f0325a05740595b74e77473867570b 100644 GIT binary patch delta 20 acmcase65&Un~#@^0SG3CBy8k9Z3zHDuLbo0 delta 20 acmcase65&Un~#@^0SIiEqc?J&wgdn@PX$N- diff --git a/flutter_hash/tools/__pycache__/test_fetcher.cpython-314.pyc b/flutter_hash/tools/__pycache__/test_fetcher.cpython-314.pyc index 41c1e75340aba8e8f0afd6aab3cb1c084a27c0b7..53b7995ce5345fe3076bf30513c90508394a4967 100644 GIT binary patch delta 20 acmext{@I*cn~#@^0SG3CBy8k Date: Thu, 23 Jul 2026 05:32:31 +0000 Subject: [PATCH 2/9] Update Flutter engine mappings --- .../tools/__pycache__/fetcher.cpython-314.pyc | Bin 14806 -> 14806 bytes .../__pycache__/test_fetcher.cpython-314.pyc | Bin 7155 -> 7155 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/flutter_hash/tools/__pycache__/fetcher.cpython-314.pyc b/flutter_hash/tools/__pycache__/fetcher.cpython-314.pyc index 8d28c5a084f0325a05740595b74e77473867570b..4d54578862818ad5e9448770e9698ea594a2371f 100644 GIT binary patch delta 20 acmcase65&Un~#@^0SMBUCvN0EZ3zHEat0j$ delta 20 acmcase65&Un~#@^0SG3CBy8k9Z3zHDuLbo0 diff --git a/flutter_hash/tools/__pycache__/test_fetcher.cpython-314.pyc b/flutter_hash/tools/__pycache__/test_fetcher.cpython-314.pyc index 53b7995ce5345fe3076bf30513c90508394a4967..a95a69d0cba051bd119921345029a98a32a49a74 100644 GIT binary patch delta 20 acmext{@I*cn~#@^0SMBUCvN0^Aq@aNYz5u` delta 20 acmext{@I*cn~#@^0SG3CBy8k Date: Thu, 23 Jul 2026 19:05:58 +0800 Subject: [PATCH 3/9] =?UTF-8?q?docs(issue-template):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=9B=BE=E8=A1=A8=E7=BB=9F=E8=AE=A1=E8=A7=84?= =?UTF-8?q?=E5=88=99=E6=8F=90=E4=BA=A4=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建了 Submit new chart rule 的 issue 模板 - 定义了统计标题和描述的双语填写要求 - 配置了计算类型选择(predicate 或 facets) - 添加了检测依据的数据类型说明 - 设置了匹配组和未匹配组标题字段 - 包含了分面项配置选项(适用于 facets 类型) - 设定了规则 ID 格式要求 - 提供了图标上传规格说明 - 配置了发布渠道和指纹策略选项 - 添加了测试应用和额外备注字段 --- .../ISSUE_TEMPLATE/submit_new_chart_rule.yml | 163 ++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/submit_new_chart_rule.yml diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml new file mode 100644 index 00000000..877dc0d6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -0,0 +1,163 @@ +name: Submit new chart rule / 提交新的图表统计规则 +description: Create an issue and describe a chart statistic rule. / 创建一个 issue 并描述图表统计规则信息。 +labels: [New Chart Rule] +title: "[New Chart Rule] (Rule title)" +body: + - type: markdown + attributes: + value: | + 为了避免浪费彼此的时间,请认真填写以下信息。 + In order to avoid wasting each other's time, please fill in the information carefully. + + 参考文档 / Reference: https://github.com/LibChecker/LibChecker-Rules/blob/v4/chart/README.md + - type: textarea + attributes: + label: Statistic title / 统计标题 + description: | + Fill in the chart statistic title in English and Simplified Chinese, for example: **Flutter apps / Flutter 应用** + 填写图表统计标题,需同时提供英文和简体中文,例如:**Flutter apps / Flutter 应用** + placeholder: | + en: Example SDK + zh-Hans: 示例 SDK + validations: + required: true + - type: textarea + attributes: + label: Statistic description / 统计描述 + description: | + Fill in a neutral introduction of the technology or capability measured by this statistic, for excerpting from the official document. + 填写该技术或能力的中性介绍,最好在官方文档摘抄。 + placeholder: | + en: Example SDK provides a documented capability for Android apps. + zh-Hans: 示例 SDK 为 Android 应用提供一项有公开文档的能力。 + validations: + required: true + - type: input + attributes: + label: Reference URL / 参考链接 + description: | + Fill in the primary project, standards body, vendor, or platform HTTPS document here. **Must be HTTPS, not other third-party links.** + 这里填写主要的项目、标准机构、厂商或平台的 HTTPS 文档链接。**必须是 HTTPS,不可以是其他第三方链接。** + 例如:https://flutter.dev/docs + validations: + required: true + - type: dropdown + attributes: + label: Calculation type / 计算方式 + description: | + Select the calculation type. Use **predicate** when every app belongs to one of two groups. Use **facets** when one app can match several named capabilities. + 选择计算方式。**predicate** 适用于非此即彼的二分类。**facets** 适用于一个应用可能匹配多个命名能力的情况。 + options: + - predicate (two groups / 两组分类) + - facets (multiple capabilities / 多种能力) + validations: + required: true + - type: textarea + attributes: + label: Detection evidence / 检测依据 + description: | + Describe what data LibChecker should inspect. Supported evidence types: + - `target_sdk` — target API level of the app + - `native_library` — .so library filename + - `archive_entry` — APK ZIP entry name + - `dex_class` — DEX class query + - `manifest_receiver_action` — manifest receiver action + - `manifest_attribute` — manifest Boolean attribute + + 描述 LibChecker 应检测哪些数据。支持的检测类型: + - `target_sdk` — 应用的 target API 级别 + - `native_library` — .so 库文件名 + - `archive_entry` — APK ZIP 条目名 + - `dex_class` — DEX 类查询 + - `manifest_receiver_action` — manifest receiver action + - `manifest_attribute` — manifest 布尔属性 + placeholder: | + evidence: native_library + operator: contains + value: libexample.so + validations: + required: true + - type: textarea + attributes: + label: Matched & Unmatched titles / 匹配组 & 未匹配组标题 + description: | + Fill in the labels for the two result groups (matched apps and other apps). + 填写两个结果组的标签(匹配的应用和未匹配的应用)。 + placeholder: | + matchedTitle: + en: Example SDK apps + zh-Hans: 示例 SDK 应用 + unmatchedTitle: + en: Other apps + zh-Hans: 其他应用 + validations: + required: true + - type: textarea + attributes: + label: Facet items (if facets) / 分面项(如适用) + description: | + If you selected **facets**, fill in each facet item's ID, title, and detection condition here. Maximum 8 items. + 如果选择了 **facets**,请在这里填写每个分面项的 ID、标题和检测条件。最多 8 项。 + placeholder: | + id: service-kit + title: + en: Service Kit + zh-Hans: 服务套件 + evidence: native_library, contains, libexample_service.so + validations: + required: false + - type: input + attributes: + label: Rule ID / 规则 ID + description: | + Fill in the permanent rule ID. Must match `official.` pattern, for example: **official.example-sdk** + 填写永久规则 ID,必须匹配 `official.<小写名称>` 模式,例如:**official.example-sdk** + validations: + required: true + - type: input + attributes: + label: Icon / 图标 + description: | + If there is a logo icon, you can choose to provide it, **but it must be in SVG format**. The SVG must use a `0 0 1024 1024` viewBox and keep artwork within a centered `800 x 800` area, under 64 KiB, with no scripts, styles, text, or external references. + 如果有 Logo 图标可以选择提供,**但必须为 SVG 格式**。SVG 必须使用 `0 0 1024 1024` viewBox,图形保持在居中 `800 x 800` 区域内,小于 64 KiB,不含脚本、样式、文本或外部引用。 + validations: + required: false + - type: dropdown + attributes: + label: Release channel / 发布渠道 + description: | + New rules should normally start with **preview-only**. Move to **stable** after testing. + 新规则通常应从 **preview-only** 开始,测试后再转为 **stable**。 + options: + - preview-only + - stable + validations: + required: true + - type: dropdown + attributes: + label: Fingerprint / 指纹策略 + description: | + Select when LibChecker should discard cached chart results after app data changes. Use **standard** for metadata-only rules, **artifact** for rules inspecting native libraries / archive entries / DEX / manifest. + 选择应用数据变化后何时丢弃缓存的图表结果。纯元数据规则用 **standard**,涉及原生库/ZIP 条目/DEX/manifest 的规则用 **artifact**。 + options: + - standard (default / 默认) + - artifact (for DEX / native / archive / manifest rules) + - features (for feature initialization rules) + validations: + required: true + - type: textarea + attributes: + label: Tested apps / 测试应用 + description: | + Which applications were used to verify the matching and non-matching behavior? Provide app names and versions if necessary. + 使用哪些应用验证了匹配和未匹配行为?如有必要请提供应用名称和版本号。 + validations: + required: false + - type: textarea + attributes: + label: Additional remarks / 其他备注 + description: | + Fill in any additional information to help reviewers understand the rule. + 填写其他有助于审核者理解该规则的信息。 + validations: + required: false From 0b48e3bb02a2a433954ec90f93cf4491b49b697e Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:24:51 +0800 Subject: [PATCH 4/9] =?UTF-8?q?feat(issue-template):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E7=BB=9F=E8=AE=A1=E8=A7=84=E5=88=99=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 issue 关闭应用配置以支持新的图表规则提交格式 - 更新提交新图表规则模板的标题和字段说明 - 调整参考链接验证规则并修改计算方式选项文字 - 更新规则 ID 命名模式和图标上传要求 - 移除稳定状态选项并优化表单字段配置 --- .../ISSUE_TEMPLATE/submit_new_chart_rule.yml | 28 +++++++++---------- .github/issue-close-app.yml | 11 +++++++- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml index 877dc0d6..2352afb8 100644 --- a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -1,7 +1,7 @@ -name: Submit new chart rule / 提交新的图表统计规则 +name: (preview) Submit new chart rule /(预览)提交新的图表统计规则 description: Create an issue and describe a chart statistic rule. / 创建一个 issue 并描述图表统计规则信息。 labels: [New Chart Rule] -title: "[New Chart Rule] (Rule title)" +title: "[New Chart Rule] (Chart Rule title)" body: - type: markdown attributes: @@ -9,7 +9,7 @@ body: 为了避免浪费彼此的时间,请认真填写以下信息。 In order to avoid wasting each other's time, please fill in the information carefully. - 参考文档 / Reference: https://github.com/LibChecker/LibChecker-Rules/blob/v4/chart/README.md + 请参考文档 / Please reference: https://github.com/LibChecker/LibChecker-Rules/blob/v4/chart/README.md - type: textarea attributes: label: Statistic title / 统计标题 @@ -36,9 +36,8 @@ body: attributes: label: Reference URL / 参考链接 description: | - Fill in the primary project, standards body, vendor, or platform HTTPS document here. **Must be HTTPS, not other third-party links.** - 这里填写主要的项目、标准机构、厂商或平台的 HTTPS 文档链接。**必须是 HTTPS,不可以是其他第三方链接。** - 例如:https://flutter.dev/docs + Fill in the primary project, standards body, vendor, or platform document here. **Must be not other third-party links.** + 这里填写主要的项目、标准机构、厂商或平台的文档链接。**不可以是其他第三方链接。** validations: required: true - type: dropdown @@ -46,10 +45,10 @@ body: label: Calculation type / 计算方式 description: | Select the calculation type. Use **predicate** when every app belongs to one of two groups. Use **facets** when one app can match several named capabilities. - 选择计算方式。**predicate** 适用于非此即彼的二分类。**facets** 适用于一个应用可能匹配多个命名能力的情况。 + 选择计算方式。**predicate** 适用于非此即彼的二元分类。**facets** 适用于一个应用可能匹配多个命名能力的情况。 options: - - predicate (two groups / 两组分类) - - facets (multiple capabilities / 多种能力) + - predicate (two groups / 二元分类) + - facets (multiple capabilities / 多能力分类) validations: required: true - type: textarea @@ -110,16 +109,16 @@ body: attributes: label: Rule ID / 规则 ID description: | - Fill in the permanent rule ID. Must match `official.` pattern, for example: **official.example-sdk** - 填写永久规则 ID,必须匹配 `official.<小写名称>` 模式,例如:**official.example-sdk** + Fill in the permanent rule ID. Must match `.` pattern, for example: **official.example-sdk** / **absinthe.example-sdk** + 填写永久规则 ID,必须匹配 `<组织小写名>.<规则小写名>` 模式,例如:**official.example-sdk** / **absinthe.example-sdk** validations: required: true - - type: input + - type: textarea attributes: label: Icon / 图标 description: | - If there is a logo icon, you can choose to provide it, **but it must be in SVG format**. The SVG must use a `0 0 1024 1024` viewBox and keep artwork within a centered `800 x 800` area, under 64 KiB, with no scripts, styles, text, or external references. - 如果有 Logo 图标可以选择提供,**但必须为 SVG 格式**。SVG 必须使用 `0 0 1024 1024` viewBox,图形保持在居中 `800 x 800` 区域内,小于 64 KiB,不含脚本、样式、文本或外部引用。 + If there is a logo icon, you can choose to provide it, **but it must be in SVG format**. The SVG must with no scripts, styles, text, or external references. + 如果有 Logo 图标可以选择提供,**但必须为 SVG 格式**。SVG 不能包含脚本、样式、文本或外部引用。 validations: required: false - type: dropdown @@ -130,7 +129,6 @@ body: 新规则通常应从 **preview-only** 开始,测试后再转为 **stable**。 options: - preview-only - - stable validations: required: true - type: dropdown diff --git a/.github/issue-close-app.yml b/.github/issue-close-app.yml index e622dcac..c8abd14a 100644 --- a/.github/issue-close-app.yml +++ b/.github/issue-close-app.yml @@ -1,10 +1,19 @@ comment: "This issue is closed because it does not meet our issue template. Please read it." issueConfigs: - content: -# bug report + # submit new rule - "Library filename" - "Library label" - "Library team" - "Library relative URL" +- content: + # submit new chart rule + - "Statistic title" + - "Statistic description" + - "Reference URL" + - "Calculation type" + - "Detection evidence" + - "Matched & Unmatched titles" + - "Rule ID" caseInsensitive: false label: "closed by bot" From 4807668068b335fa12fc4d4c02290d9153ffd14f Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:25:27 +0800 Subject: [PATCH 5/9] =?UTF-8?q?docs(template):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E8=A7=84=E5=88=99=E6=8F=90=E4=BA=A4=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E4=B8=AD=E7=9A=84=E6=96=87=E6=A1=A3=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正了文档参考链接的文字描述,将"reference"改为"read reference"以提高清晰度 --- .github/ISSUE_TEMPLATE/submit_new_chart_rule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml index 2352afb8..5bb30e81 100644 --- a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -9,7 +9,7 @@ body: 为了避免浪费彼此的时间,请认真填写以下信息。 In order to avoid wasting each other's time, please fill in the information carefully. - 请参考文档 / Please reference: https://github.com/LibChecker/LibChecker-Rules/blob/v4/chart/README.md + 请参考文档 / Please read reference: https://github.com/LibChecker/LibChecker-Rules/blob/v4/chart/README.md - type: textarea attributes: label: Statistic title / 统计标题 From f477bb4ce07b8bbd090e608fd2fb4e6eb95fc30f Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:41:10 +0800 Subject: [PATCH 6/9] =?UTF-8?q?feat(issue-template):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20issue=20=E6=A8=A1=E6=9D=BF=E9=AA=8C=E8=AF=81=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 升级 actions/github-script 依赖版本从 v6 到 v9 - 添加新的图表规则验证关键词统计标题和描述 - 增加对默认标题的检查和提示功能 - 添加对新图表规则类型的验证支持 - 为关闭无效 issue 评论增加中英文双语提示 - 更新 artifact 规则选项的中文说明文档 --- .../ISSUE_TEMPLATE/submit_new_chart_rule.yml | 2 +- .github/workflows/close-invalid-issues.yml | 31 ++++++++++++++++--- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml index 5bb30e81..728296cf 100644 --- a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -140,7 +140,7 @@ body: options: - standard (default / 默认) - artifact (for DEX / native / archive / manifest rules) - - features (for feature initialization rules) + - features (for feature initialization rules / 依赖 LibChecker 已初始化特征数据的规则) validations: required: true - type: textarea diff --git a/.github/workflows/close-invalid-issues.yml b/.github/workflows/close-invalid-issues.yml index 9ef16aa5..7102ac6a 100644 --- a/.github/workflows/close-invalid-issues.yml +++ b/.github/workflows/close-invalid-issues.yml @@ -11,14 +11,26 @@ jobs: steps: - name: Check Issue Content - uses: actions/github-script@v6 + uses: actions/github-script@v9 with: script: | const issueBody = context.payload.issue.body || ''; const validKeywordsNewRules = ['Library filename / 库文件名', 'Library label / 库的文字标签']; - const validKeywordsBugReport = ['Current library filename / 现有库文件名', 'Library relative URL / 相关链接'] + const validKeywordsBugReport = ['Current library filename / 现有库文件名', 'Library relative URL / 相关链接']; + const validKeywordsNewChartRules = ['Statistic title / 统计标题', 'Statistic description / 统计描述']; - if (!validKeywordsNewRules.every(keyword => issueBody.includes(keyword)) && !validKeywordsBugReport.every(keyword => issueBody.includes(keyword))) { + const isMatch = validKeywordsNewRules.every(keyword => issueBody.includes(keyword)) + || validKeywordsBugReport.every(keyword => issueBody.includes(keyword)) + || validKeywordsNewChartRules.every(keyword => issueBody.includes(keyword)); + + const issueTitle = context.payload.issue.title || ''; + const defaultTitles = [ + '[New Rule] (Library label)', + '[Bug] (Library label)', + '[New Chart Rule] (Chart Rule title)' + ]; + + if (!isMatch) { const issueNumber = context.payload.issue.number; const owner = context.repo.owner; const repo = context.repo.repo; @@ -27,7 +39,7 @@ jobs: owner, repo, issue_number: issueNumber, - body: 'This issue does not follow the template. Please update it accordingly.' + body: 'This issue does not follow the template. Please update it accordingly.\n\n此 issue 未遵循模板格式,请按要求填写。' }); await github.rest.issues.update({ @@ -36,4 +48,15 @@ jobs: issue_number: issueNumber, state: 'closed' }); + } else if (defaultTitles.some(title => issueTitle === title)) { + const issueNumber = context.payload.issue.number; + const owner = context.repo.owner; + const repo = context.repo.repo; + + await github.rest.issues.createComment({ + owner, + repo, + issue_number: issueNumber, + body: 'Please update the issue title to reflect the specific content of your submission, rather than keeping the default title.\n\n请修改 issue 标题以反映提交内容,不要使用默认标题。' + }); } From b95df82be6eaeacc08041afaae949a3bbf634279 Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:44:39 +0800 Subject: [PATCH 7/9] =?UTF-8?q?docs(template):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E4=BE=9D=E6=8D=AE=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 统一了 Detection evidence / 检测依据 字段的中英文描述格式 - 保留了所有证据类型的双语对照说明 - 删除了重复的中文描述内容 - 优化了列表项的排版结构 - 保持了原有的占位符和默认值设置 --- .../ISSUE_TEMPLATE/submit_new_chart_rule.yml | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml index 728296cf..1eff27b3 100644 --- a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -55,21 +55,13 @@ body: attributes: label: Detection evidence / 检测依据 description: | - Describe what data LibChecker should inspect. Supported evidence types: - - `target_sdk` — target API level of the app - - `native_library` — .so library filename - - `archive_entry` — APK ZIP entry name - - `dex_class` — DEX class query + Describe what data LibChecker should inspect / 描述 LibChecker 应检测哪些数据: + - `target_sdk` — target API level of the app / 应用的 target API 级别 + - `native_library` — .so library filename / .so 库文件名 + - `archive_entry` — APK ZIP entry name / APK ZIP 条目名 + - `dex_class` — DEX class query / DEX 类查询 - `manifest_receiver_action` — manifest receiver action - - `manifest_attribute` — manifest Boolean attribute - - 描述 LibChecker 应检测哪些数据。支持的检测类型: - - `target_sdk` — 应用的 target API 级别 - - `native_library` — .so 库文件名 - - `archive_entry` — APK ZIP 条目名 - - `dex_class` — DEX 类查询 - - `manifest_receiver_action` — manifest receiver action - - `manifest_attribute` — manifest 布尔属性 + - `manifest_attribute` — manifest Boolean attribute / manifest 布尔属性 placeholder: | evidence: native_library operator: contains From 388efba4881ce2a9b744114012ccca828c33e05b Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:45:57 +0800 Subject: [PATCH 8/9] =?UTF-8?q?style(github):=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E8=A7=84=E5=88=99=E6=A0=87=E9=A2=98=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 "Chart Rule title" 更新为 "Chart rule title" - 保持 GitHub 工作流和问题模板的一致性 --- .github/ISSUE_TEMPLATE/submit_new_chart_rule.yml | 2 +- .github/workflows/close-invalid-issues.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml index 1eff27b3..1a22cbde 100644 --- a/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml +++ b/.github/ISSUE_TEMPLATE/submit_new_chart_rule.yml @@ -1,7 +1,7 @@ name: (preview) Submit new chart rule /(预览)提交新的图表统计规则 description: Create an issue and describe a chart statistic rule. / 创建一个 issue 并描述图表统计规则信息。 labels: [New Chart Rule] -title: "[New Chart Rule] (Chart Rule title)" +title: "[New Chart Rule] (Chart rule title)" body: - type: markdown attributes: diff --git a/.github/workflows/close-invalid-issues.yml b/.github/workflows/close-invalid-issues.yml index 7102ac6a..bb397394 100644 --- a/.github/workflows/close-invalid-issues.yml +++ b/.github/workflows/close-invalid-issues.yml @@ -27,7 +27,7 @@ jobs: const defaultTitles = [ '[New Rule] (Library label)', '[Bug] (Library label)', - '[New Chart Rule] (Chart Rule title)' + '[New Chart Rule] (Chart rule title)' ]; if (!isMatch) { From 987863538074e197aa3bb3dfcaa20cf1776c3165 Mon Sep 17 00:00:00 2001 From: ArcticFoxPro <139336664+ArcticFoxPro@users.noreply.github.com> Date: Thu, 23 Jul 2026 20:00:26 +0800 Subject: [PATCH 9/9] =?UTF-8?q?chore(workflow):=20=E4=B8=BA=20Flutter=20?= =?UTF-8?q?=E5=BF=AB=E7=85=A7=E5=93=88=E5=B8=8C=E8=8E=B7=E5=8F=96=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E6=B7=BB=E5=8A=A0=E4=BB=93=E5=BA=93=E6=89=80?= =?UTF-8?q?=E6=9C=89=E8=80=85=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 generate_files 作业中添加了 github.repository_owner 条件检查 - 确保工作流仅在 LibChecker 仓库中运行 --- .github/workflows/fetch_flutter_snapshot_hash.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/fetch_flutter_snapshot_hash.yml b/.github/workflows/fetch_flutter_snapshot_hash.yml index 2d866a92..62a42a22 100644 --- a/.github/workflows/fetch_flutter_snapshot_hash.yml +++ b/.github/workflows/fetch_flutter_snapshot_hash.yml @@ -14,6 +14,7 @@ concurrency: jobs: generate_files: + if: github.repository_owner == 'LibChecker' runs-on: ubuntu-latest timeout-minutes: 20