Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
R
rule
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinra-dev
rule
Commits
90535960
Commit
90535960
authored
Aug 30, 2022
by
康明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: 修改格式
parent
50a16cfb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
24 deletions
+19
-24
.DS_Store
CR规范/.DS_Store
+0
-0
代码评审规范.md
CR规范/代码评审规范.md
+6
-5
.DS_Store
开发规范/团队协作/.DS_Store
+0
-0
代码管理规范.md
开发规范/团队协作/代码管理规范.md
+13
-19
No files found.
CR规范/.DS_Store
0 → 100644
View file @
90535960
File added
开发规范/团队协作
/代码评审规范.md
→
CR规范
/代码评审规范.md
View file @
90535960
# 代码评审规范
## 前言
## 前言
**Code Review 目的**
**Code Review 目的**
-
保证代码可读性,一致性。
-
保证代码可读性,一致性。
...
@@ -12,3 +7,9 @@
...
@@ -12,3 +7,9 @@
-
知识共享
**+**
设计讨论。
-
知识共享
**+**
设计讨论。
# CR模板
# CR模板
[
xxxx项目_代码检查报告_20220828.xls
](
https://www.yuque.com/attachments/yuque/0/2022/xls/240791/1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls?_lake_card=%7B%22src%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fattachments%2Fyuque%2F0%2F2022%2Fxls%2F240791%2F1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls%22%2C%22name%22%3A%22xxxx%E9%A1%B9%E7%9B%AE_%E4%BB%A3%E7%A0%81%E6%A3%80%E6%9F%A5%E6%8A%A5%E5%91%8A_20220828.xls%22%2C%22size%22%3A59392%2C%22type%22%3A%22application%2Fvnd.ms-excel%22%2C%22ext%22%3A%22xls%22%2C%22source%22%3A%22%22%2C%22status%22%3A%22done%22%2C%22mode%22%3A%22title%22%2C%22download%22%3Atrue%2C%22taskId%22%3A%22u6f811eab-45a3-41b0-9e5a-d30cfe6c3e7%22%2C%22taskType%22%3A%22upload%22%2C%22__spacing%22%3A%22both%22%2C%22id%22%3A%22iqKtN%22%2C%22margin%22%3A%7B%22top%22%3Atrue%2C%22bottom%22%3Atrue%7D%2C%22card%22%3A%22file%22%7D
)
[
xxxx项目_代码检查报告_20220828.xls
](
https://www.yuque.com/attachments/yuque/0/2022/xls/240791/1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls?_lake_card=%7B%22src%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fattachments%2Fyuque%2F0%2F2022%2Fxls%2F240791%2F1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls%22%2C%22name%22%3A%22xxxx%E9%A1%B9%E7%9B%AE_%E4%BB%A3%E7%A0%81%E6%A3%80%E6%9F%A5%E6%8A%A5%E5%91%8A_20220828.xls%22%2C%22size%22%3A59392%2C%22type%22%3A%22application%2Fvnd.ms-excel%22%2C%22ext%22%3A%22xls%22%2C%22source%22%3A%22%22%2C%22status%22%3A%22done%22%2C%22mode%22%3A%22title%22%2C%22download%22%3Atrue%2C%22taskId%22%3A%22u6f811eab-45a3-41b0-9e5a-d30cfe6c3e7%22%2C%22taskType%22%3A%22upload%22%2C%22__spacing%22%3A%22both%22%2C%22id%22%3A%22iqKtN%22%2C%22margin%22%3A%7B%22top%22%3Atrue%2C%22bottom%22%3Atrue%7D%2C%22card%22%3A%22file%22%7D
)
##
# [
](https://www.cnblogs.com/Javame/p/5287540.html)
开发规范/团队协作/.DS_Store
0 → 100644
View file @
90535960
File added
CR规范
/代码管理规范.md
→
开发规范/团队协作
/代码管理规范.md
View file @
90535960
# 代码管理规范
开发新功能时,评估当前功能如果后期不使用会不会影响系统使用,如果关联性较强建议新建一个分支开发新功能
开发新功能时,评估当前功能如果后期不使用会不会影响系统使用,如果关联性较强建议新建一个分支开发新功能
-
尽量划分小功能模块提交,便于找出问题模块的代码
-
尽量划分小功能模块提交,便于找出问题模块的代码
...
@@ -10,20 +6,18 @@
...
@@ -10,20 +6,18 @@
-
如有新的模块,记得补充README
-
如有新的模块,记得补充README
## 撰写提交信息
## 撰写提交信息
提交commit时,必须给出完整扼要的提交信息,规范格式如下:
提交commit时,必须给出完整扼要的提交信息,规范格式如下:
:::info
> [Type]: subject
[
Type
]:
subject
> Type包括:
Type包括:
> feat:新功能(feature)
feat:新功能(feature)
> fix:修补bug
fix:修补bug
> docs:文档(documentation)
docs:文档(documentation)
> style: 格式(不影响代码运行的变动)
style: 格式(不影响代码运行的变动)
> refactor:重构(即不是新增功能,也不是修改bug的代码变动)
refactor:重构(即不是新增功能,也不是修改bug的代码变动)
> test:增加测试
test:增加测试
> build: 对项目构建或者依赖的改动
build: 对项目构建或者依赖的改动
> revert: feat(pencil): add 'graphiteWidth' option (撤销之前的commit)
revert: feat(pencil): add 'graphiteWidth' option (撤销之前的commit)
:::
例:
例:
:::info
> [fix]: 修复新增楼栋无法关联项目
[
fix
]:
修复新增楼栋无法关联项目
:::
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment