Skip to content

Commit 5b12eb9

Browse files
committed
clean
1 parent c4d6364 commit 5b12eb9

File tree

2 files changed

+4
-37
lines changed

2 files changed

+4
-37
lines changed

doc/fluid/dev/releasing_process_cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PaddlePaddle使用Trunk Based Development,使用[Semantic Versioning](http://s
55
PaddlePaddle每次发新的版本,遵循以下流程:
66

77
1.`develop`分支派生出新的分支,分支名为`release/版本号`。例如,`release/0.10.0`
8-
2. 将新分支的版本打上tag,tag为`版本号rc.Patch号`。第一个tag为`0.10.0-rc0`
8+
2. 将新分支的版本打上tag,tag为`版本号rc-Patch号`例如,第一个tag为`0.10.0-rc0`
99
3. 新分支一般不接受新的feature和优化。QA在release分支上进行测试。研发基于最新的develop开发。
1010
4. QA和研发发现的bug,在develop上修复验证后,cherry-pick到release分支。直到release分支相对稳定。
1111
5. 如果有需要,在release分支最新代码上打上新的tag,比如`0.10.0-rc1`,让更多的用户加入测试。重复3-4步。
@@ -67,8 +67,8 @@ PaddlePaddle开发过程使用[Trunk Based Development](https://trunkbaseddevelo
6767
* `master`分支因为历史原因,已经废弃。
6868

6969
* 其他开发者fork的feature branch。
70-
* 建议,开发者fork的版本库使用`develop`分支同步主版本库的`develop`分支
71-
* 建议,开发者fork的版本库中,再基于`develop`版本fork出自己的feature branch
70+
* 建议,开发者的feature branch需要同步主版本库的`develop`分支。
71+
* 建议,开发者的feature branch需要基于朱版本库中的`develop`分支
7272
* 当feature branch开发完毕后,向PaddlePaddle的主版本库提交`Pull Reuqest`,进而进行代码评审。
7373
* 在评审过程中,开发者修改自己的代码,可以继续在自己的feature branch提交代码。
7474

doc/fluid/dev/releasing_process_en.md

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,8 @@ PaddlePaddle manages its branches using "git-flow branching model", and [Semanti
44

55
Each time we release a new PaddlePaddle version, we should follow the below steps:
66

7-
1. Fork a new branch from `develop` named `release/[version]`, e.g. `release/0.10.0`.
8-
1. Push a new tag on the release branch, the tag name should be like `[version]rc.patch`. The
9-
first tag should be `0.10.0rc1`, and the second should be `0.10.0.rc2` and so on.
10-
1. After that, we should do:
11-
* Run all regression test on the Regression Test List (see PaddlePaddle TeamCity CI), to confirm
12-
that this release has no major bugs.
13-
* If regression test fails, we must fix those bugs and create a new `release/[version]`
14-
branch from previous release branch.
15-
* Modify `python/setup.py.in`, change the version number and change `ISTAGED` to `True`.
16-
* Publish PaddlePaddle release wheel packages to pypi (see below instructions for detail).
17-
* Update the Docker images (see below instructions for detail).
18-
1. After above step, merge `release/[version]` branch to master and push a tag on the master commit,
19-
then merge `master` to `develop`.
20-
1. Update the Release Note.
21-
227
1. Create a new release branch from `develop`,named `release/[version]`. E.g.,`release/0.10.0`
23-
2. Create a new tag for the release branch, tag format: `version-rc.Patch`. The first tag is `0.10.0-rc0`
8+
2. Create a new tag for the release branch, tag format: `version-rc.Patch`. E.g. the first tag is `0.10.0-rc0`
249
3. New release branch normally doesn't accept new features or optimizations. QA will test on the release branch. Developer should develop based on `develop` branch.
2510
4. If QA or Developer find bugs. They should first fix and verity on `develop` branch. Then cherry-pick to the release branch. Wait until the release branch is stable.
2611
5. If necessary, create a new tag on the relese branch, e.g. `0.10.0-rc1`. Involve more users to try it and repeat step 3-4.
@@ -105,24 +90,6 @@ Tags that need to be updated are:
10590
10691
You can then checkout the latest pushed tags at https://hub.docker.com/r/paddlepaddle/paddle/tags/.
10792
108-
## PaddlePaddle 分支规范
109-
110-
PaddlePaddle开发过程使用[Trunk Based Development](https://trunkbaseddevelopment.com/) 开发规范。
111-
112-
* `develop`分支为开发(develop branch)版本分支。每一个`develop`分支的版本都经过单元测试。并且会经过模型回归测试。
113-
* `release/版本号`分支为每一次Release时建立的临时分支。release分支主要用于测试,bug修复和最终发版。
114-
* `master`分支因为历史原因,已经废弃。
115-
116-
* 其他开发者fork的feature branch。
117-
* 建议,开发者fork的版本库使用`develop`分支同步主版本库的`develop`分支
118-
* 建议,开发者fork的版本库中,再基于`develop`版本fork出自己的feature branch。
119-
* 当feature branch开发完毕后,向PaddlePaddle的主版本库提交`Pull Reuqest`,进而进行代码评审。
120-
* 在评审过程中,开发者修改自己的代码,可以继续在自己的feature branch提交代码。
121-
122-
## PaddlePaddle回归测试列表
123-
124-
TODO
125-
12693
## Branching Model
12794
12895
PaddlePaddle uses [Trunk Based Development](https://trunkbaseddevelopment.com/) as our branching model.

0 commit comments

Comments
 (0)