Skip to content

Commit a396c34

Browse files
authored
Rules V38. (#888)
1 parent 10caa6f commit a396c34

File tree

212 files changed

+3842
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+3842
-311
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Close Invalid Issues
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
8+
jobs:
9+
close_invalid_issues:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check Issue Content
14+
uses: actions/github-script@v6
15+
with:
16+
script: |
17+
const issueBody = context.payload.issue.body || '';
18+
const validKeywords = ['Library filename / 库文件名', 'Library label / 库的文字标签'];
19+
20+
if (!validKeywords.every(keyword => issueBody.includes(keyword))) {
21+
const issueNumber = context.payload.issue.number;
22+
const owner = context.repo.owner;
23+
const repo = context.repo.repo;
24+
25+
await github.rest.issues.createComment({
26+
owner,
27+
repo,
28+
issue_number: issueNumber,
29+
body: 'This issue does not follow the template. Please update it accordingly.'
30+
});
31+
32+
await github.rest.issues.update({
33+
owner,
34+
repo,
35+
issue_number: issueNumber,
36+
state: 'closed'
37+
});
38+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"data": [
3+
{
4+
"locale": "zh-Hans",
5+
"data": {
6+
"label": "Butu QR SDK",
7+
"dev_team": "钚兔团队",
8+
"rule_contributors": [
9+
"Xixinink"
10+
],
11+
"description": "Butu QR SDK is a scan integration solution developed by the Butu team. It enables high-quality scanning services with simple API calls.",
12+
"source_link": "https://github.com/butuink/butuqrcode-SDK"
13+
}
14+
},
15+
{
16+
"locale": "en",
17+
"data": {
18+
"label": "钚兔扫一扫 SDK",
19+
"dev_team": "钚兔团队",
20+
"rule_contributors": [
21+
"Xixinink"
22+
],
23+
"description": "钚兔扫一扫 SDK (Butu QR SDK) 是由钚兔团队开发的扫一扫集成 SDK。只需简单调用即可为用户提供优质的扫码服务。",
24+
"source_link": "https://github.com/butuink/butuqrcode-SDK"
25+
}
26+
}
27+
],
28+
"uuid": "DC0C8104-6FBA-47A4-A926-C3C4CBBFB2C3"
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"data": [
3+
{
4+
"locale": "zh-Hans",
5+
"data": {
6+
"label": "Butu QR SDK",
7+
"dev_team": "钚兔团队",
8+
"rule_contributors": [
9+
"Xixinink"
10+
],
11+
"description": "Butu QR SDK is a scan integration solution developed by the Butu team. It enables high-quality scanning services with simple API calls.",
12+
"source_link": "https://github.com/butuink/butuqrcode-SDK"
13+
}
14+
},
15+
{
16+
"locale": "en",
17+
"data": {
18+
"label": "钚兔扫一扫 SDK",
19+
"dev_team": "钚兔团队",
20+
"rule_contributors": [
21+
"Xixinink"
22+
],
23+
"description": "钚兔扫一扫 SDK (Butu QR SDK) 是由钚兔团队开发的扫一扫集成 SDK。只需简单调用即可为用户提供优质的扫码服务。",
24+
"source_link": "https://github.com/butuink/butuqrcode-SDK"
25+
}
26+
}
27+
],
28+
"uuid": "DC0C8104-6FBA-47A4-A926-C3C4CBBFB2C3"
29+
}

activities-libs/com/google/android/gms/oss/licenses/OssLicensesActivity.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@
33
{
44
"locale": "zh-Hans",
55
"data": {
6-
"label": "Open Source Notices",
6+
"label": "OSS Licenses Gradle Plugin",
77
"dev_team": "Google",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"ArcticFoxPro"
1011
],
11-
"description": "Google Play 服务提供了一套工具,旨在让开发者更轻松地表达其应用中所用库的开源软件通知。其中一个工具就是 Gradle 插件,按照 POM 文件中的声明从包含的库收集许可条款,并创建可用于显示这些条款的 activity",
12+
"description": "该 Gradle 插件会在编译时扫描项目的项目对象模型依赖关系。如果应用程序的直接依赖项存在 Maven 项目对象模型,插件就会处理该元素,并在最终应用程序 APK 的 Android 资产中嵌入每个许可证的链接和标题",
1213
"source_link": "https://developers.google.com/android/guides/opensource"
1314
}
1415
},
1516
{
1617
"locale": "en",
1718
"data": {
18-
"label": "Open Source Notices",
19+
"label": "OSS Licenses Gradle Plugin",
1920
"dev_team": "Google",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"ArcticFoxPro"
2224
],
23-
"description": "Google Play services provides a set of tools designed to make it easier for developers to express the open-source software notices used in their applications. One of these tools is a Gradle plugin that collects license terms from the included libraries according to the declarations in the POM file and creates an activity that can be used to display these terms.",
25+
"description": "This Gradle plugin scans the POM dependencies of a project at compile time. When a Maven POM exists for a direct dependency of the app, the plugin processes the element and embeds the link and title of each license in an Android asset in the final app APK.",
2426
"source_link": "https://developers.google.com/android/guides/opensource"
2527
}
2628
}

activities-libs/com/google/android/gms/oss/licenses/OssLicensesMenuActivity.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@
33
{
44
"locale": "zh-Hans",
55
"data": {
6-
"label": "Open Source Notices",
6+
"label": "OSS Licenses Gradle Plugin",
77
"dev_team": "Google",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"ArcticFoxPro"
1011
],
11-
"description": "Google Play 服务提供了一套工具,旨在让开发者更轻松地表达其应用中所用库的开源软件通知。其中一个工具就是 Gradle 插件,按照 POM 文件中的声明从包含的库收集许可条款,并创建可用于显示这些条款的 activity",
12+
"description": "该 Gradle 插件会在编译时扫描项目的项目对象模型依赖关系。如果应用程序的直接依赖项存在 Maven 项目对象模型,插件就会处理该元素,并在最终应用程序 APK 的 Android 资产中嵌入每个许可证的链接和标题",
1213
"source_link": "https://developers.google.com/android/guides/opensource"
1314
}
1415
},
1516
{
1617
"locale": "en",
1718
"data": {
18-
"label": "Open Source Notices",
19+
"label": "OSS Licenses Gradle Plugin",
1920
"dev_team": "Google",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"ArcticFoxPro"
2224
],
23-
"description": "Google Play services provides a set of tools designed to make it easier for developers to express the open-source software notices used in their applications. One of these tools is a Gradle plugin that collects license terms from the included libraries according to the declarations in the POM file and creates an activity that can be used to display these terms.",
25+
"description": "This Gradle plugin scans the POM dependencies of a project at compile time. When a Maven POM exists for a direct dependency of the app, the plugin processes the element and embeds the link and title of each license in an Android asset in the final app APK.",
2426
"source_link": "https://developers.google.com/android/guides/opensource"
2527
}
2628
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"data": [
3+
{
4+
"locale": "zh-Hans",
5+
"data": {
6+
"label": "AboutLibraries",
7+
"dev_team": "Mike Penz",
8+
"rule_contributors": [
9+
"ArcticFoxPro"
10+
],
11+
"description": "AboutLibraries 可在编译时收集包括许可证在内的所有依赖关系详细信息,并提供简单的应用程序接口,以便在应用程序中可视化这些信息。无运行时开销,强大的缓存功能,支持任何 Gradle 依赖关系。",
12+
"source_link": "https://github.com/mikepenz/AboutLibraries"
13+
}
14+
},
15+
{
16+
"locale": "en",
17+
"data": {
18+
"label": "AboutLibraries",
19+
"dev_team": "Mike Penz",
20+
"rule_contributors": [
21+
"ArcticFoxPro"
22+
],
23+
"description": "AboutLibraries collects all dependency details including licenses at compile time, and offers simple APIs to visualize these in the app. No runtime overhead. Strong caching. Any gradle dependency is supported.",
24+
"source_link": "https://github.com/mikepenz/AboutLibraries"
25+
}
26+
}
27+
],
28+
"uuid": "4FE38981-D17E-470C-BDFD-6CE6D7D2CA3C"
29+
}

activities-libs/com/unity3d/player/UnityPlayerActivity.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"label": "Unity",
77
"dev_team": "Unity Technologies",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"enKl03B"
1011
],
1112
"description": "Unity 是一款由 Unity Technologies 所研发的跨平台2D / 3D 游戏引擎,可用于开发 Windows、MacOS 及 Linux 平台的单机游戏,PlayStation、XBox、Wii、3DS 和 任天堂Switch 等游戏主机平台的视频游戏,以及 iOS、Android 等移动设备的游戏。",
1213
"source_link": "https://docs.unity3d.com/Manual/index.html"
@@ -18,7 +19,8 @@
1819
"label": "Unity",
1920
"dev_team": "Unity Technologies",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"enKl03B"
2224
],
2325
"description": "Unity is a cross-platform 2D/3D game engine developed by Unity Technologies, used for developing standalone games for Windows, macOS, and Linux platforms, video games for game consoles such as PlayStation, Xbox, Wii, 3DS, and Nintendo Switch, as well as games for mobile devices such as iOS and Android.",
2426
"source_link": "https://docs.unity3d.com/Manual/index.html"

activities-libs/com/vivo/push/sdk/LinkProxyClientActivity.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"label": "vivo Push",
77
"dev_team": "vivo",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"xiwuwww"
1011
],
1112
"description": "vivo 推送是 Funtouch OS 上系统级消息推送平台,帮助开发者在 vivo 平台有效提升活跃和留存。通过和系统的深度结合,建立稳定可靠、安全可控、高性能的消息推送服务,帮助不同行业的开发者挖掘更多的运营价值。",
1213
"source_link": "https://push.vivo.com.cn/"
@@ -18,7 +19,8 @@
1819
"label": "vivo Push",
1920
"dev_team": "vivo",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"xiwuwww"
2224
],
2325
"description": "Vivo Push is a system-level message push platform on Funtouch OS, helping developers effectively enhance activity and retention on the Vivo platform. Through deep integration with the system, it establishes a stable, reliable, secure, controllable, and high-performance message push service, helping developers in various industries explore more operational value.",
2426
"source_link": "https://push.vivo.com.cn/"

activities-libs/io/flutter/embedding/android/FlutterActivity.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
"label": "Flutter",
77
"dev_team": "Google",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"ArcticFoxPro"
1011
],
11-
"description": "Flutter 是谷歌的移动 UI 框架,可以快速在 iOS 和 Android 上构建高质量的原生用户界面",
12+
"description": "Flutter 是一个开源的用户界面工具包,用于从单一代码库中为移动、网络、桌面和嵌入式设备构建美观的本地编译应用程序",
1213
"source_link": "https://flutter.dev/"
1314
}
1415
},
@@ -18,9 +19,10 @@
1819
"label": "Flutter",
1920
"dev_team": "Google",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"ArcticFoxPro"
2224
],
23-
"description": "Flutter is Google's mobile UI framework for quickly building high-quality native user interfaces on iOS and Android.",
25+
"description": "Flutter is an open source UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase.",
2426
"source_link": "https://flutter.dev/"
2527
}
2628
}

activities-libs/io/flutter/plugins/urllauncher/WebViewActivity.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
"label": "Flutter",
77
"dev_team": "Google",
88
"rule_contributors": [
9-
"Absinthe"
9+
"Absinthe",
10+
"ArcticFoxPro"
1011
],
11-
"description": "Flutter 是谷歌的移动 UI 框架,可以快速在 iOS 和 Android 上构建高质量的原生用户界面",
12+
"description": "Flutter 是一个开源的用户界面工具包,用于从单一代码库中为移动、网络、桌面和嵌入式设备构建美观的本地编译应用程序",
1213
"source_link": "https://flutter.dev/"
1314
}
1415
},
@@ -18,9 +19,10 @@
1819
"label": "Flutter",
1920
"dev_team": "Google",
2021
"rule_contributors": [
21-
"Absinthe"
22+
"Absinthe",
23+
"ArcticFoxPro"
2224
],
23-
"description": "Flutter is Google's mobile UI framework for quickly building high-quality native user interfaces on iOS and Android.",
25+
"description": "Flutter is an open source UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase.",
2426
"source_link": "https://flutter.dev/"
2527
}
2628
}

0 commit comments

Comments
 (0)