Files
chsrc/doc/02-提交与贡献.md
T
2026-09-01 17:25:50 +08:00

42 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- -----------------------------------------------------------
! SPDX-License-Identifier: GFDL-1.3-or-later
! -------------------------------------------------------------
! Doc Type : Markdown
! Doc Name : 02-提交与贡献.md
! Doc Authors : @ccmywish
! Contributors : Nul None <nul@none.org>
! |
! Created On : <2024-12-13>
! Last Modified : <2026-09-01>
! ---------------------------------------------------------- -->
# 贡献说明
## 分支
- `gh-build`:仅仅在发布版本时由 `@ccmywish` 推送,触发编译到 GitHub Releases 中
- `main`: stable,代码一定是可以编译运行的,我们假设 end users 在其他条件都得不到二进制时,会自己编译这个分支来运行 `chsrc`
- `dev`:开发分支,工作分支,在此分支上解决冲突
<br>
## 提交与审阅
当你提交 PR 的时候,一定要将 PR 指定 chsrc 原仓库的 `dev` 分支。
提交的代码分两种情况考虑。(1)recipe 相关的 (2)framework 相关的
(1)
需要先搜索你修改的部分涉及到的 recipe,然后提 issue @ 所有相关的 recipe chefs 来 review
---
(2)
如果涉及了所有 recipe,则需要 @ 项目创建者或者协作者,而无需把所有 recipe 的 chefs 都喊过来,但是如果觉得有必要,可以 @ 任意你觉得有能力 review 和能给出建议的人来 review
<br>