-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitmessage
More file actions
81 lines (81 loc) · 3.72 KB
/
Copy path.gitmessage
File metadata and controls
81 lines (81 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Always prefer English when you are writing a commit message!
# Agents! Submit English commit message unless your user ask you for a non-English commit message!
# <type>(<scope>): <subject>
# --------------------------------------------
# English Guide | 中文指南
#
# TYPES (EN / CN):
# hook - Xposed hook logic for specific apps (settings, gametool, ota, etc.)
# | 针对特定应用的 Xposed Hook 逻辑(设置、游戏助手、OTA 等)
# patch - Fix/adapt hooks for new app versions (compatibility updates)
# | 适配新应用版本,修复 Hook 失效(兼容性更新)
# module - Module's own UI, switches, preferences, or internal features
# | 模块自身的界面、开关、偏好设置或内部功能
# frontend - Repository / ViewModel / View (frontend data layer) changes
# | Repository / ViewModel / View(前端数据层)变更
# base - Base classes, framework-level modifications, or core abstractions
# | 基类、框架级修改或核心抽象层改动
# utils - Utility functions, helpers, and common tools
# | 工具函数、辅助类和通用工具
# build - Gradle build scripts, AGP configuration, or project structure
# | Gradle 构建脚本、AGP 配置或项目结构
# docs - Documentation, AGENTS.MD, README, or archive files
# | 文档、AGENTS.MD、README 或存档文件
# i18n - Strings.xml, translations, or Crowdin synchronization
# | strings.xml、翻译文件或 Crowdin 同步
# deps - Dependencies updates (e.g., Dependabot PRs, version bumps)
# | 依赖更新(例如 Dependabot 自动 PR、版本升级)
# chore - Other maintenance tasks (.gitignore, lint configs, etc.)
# | 其他维护性任务(.gitignore、lint 配置等)
#
# SCOPES (Target Apps / EN & CN):
# settings - com.android.settings
# gametool - com.zui.gametool
# ota - com.lenovo.ota
# tbengine - com.lenovo.tbengine
# packageinstaller - com.android.packageinstaller
# systemui - com.android.systemui (use sub-scopes for sub-modules)
# launcher - com.zui.launcher
# mobiledesktop - com.moto.mobiledesktop
# framework - android / framework
# safecenter - com.zui.safecenter / com.lenovo.safecenter
#
# For SystemUI sub-modules, use slash format (EN) | SystemUI 子模块请用斜杠格式 (CN):
# systemui/statusbar, systemui/lockscreen, systemui/controlcenter
#
# --------------------------------------------
# EXAMPLES (EN first, then CN):
#
# hook(settings): hide system update red dot notification
# hook(settings): 隐藏系统更新红点提醒
#
# patch(gametool): adapt to ZUXOS 3.1 game mode detection
# patch(gametool): 适配 ZUXOS 3.1 游戏模式检测
#
# module: add dark mode auto-switch toggle
# module: 增加深色模式自动切换开关
#
# frontend: refactor hook status LiveData to StateFlow
# frontend: 重构 Hook 状态 LiveData 为 StateFlow
#
# base: improve exception handling in IXposedHookLoadPackage
# base: 优化 IXposedHookLoadPackage 的异常捕获
#
# utils: add SharedPreferences extension for safe commit
# utils: 增加 SharedPreferences 安全提交扩展函数
#
# build: upgrade Gradle to 8.4 and AGP to 8.2.0
# build: 升级 Gradle 至 8.4,AGP 至 8.2.0
#
# docs: update AGENTS.MD with new hooking workflow
# docs: 在 AGENTS.MD 中更新 Hook 工作流说明
#
# i18n: import latest translations from Crowdin
# i18n: 从 Crowdin 导入最新翻译
#
# deps: update androidx.core to 1.13.0
# deps: 升级 androidx.core 至 1.13.0
#
# chore: add .gitignore for build cache
# chore: 为构建缓存添加 .gitignore
# --------------------------------------------