diff options
Diffstat (limited to 'documentation/7.contribution/release_process_en.md')
| -rw-r--r-- | documentation/7.contribution/release_process_en.md | 196 |
1 files changed, 196 insertions, 0 deletions
diff --git a/documentation/7.contribution/release_process_en.md b/documentation/7.contribution/release_process_en.md new file mode 100644 index 0000000000..f64296a18e --- /dev/null +++ b/documentation/7.contribution/release_process_en.md @@ -0,0 +1,196 @@ +@page page_release_process_en RT-Thread Release Process + +# RT-Thread Release Process + +[中文](https://github.com/RT-Thread/rt-thread/blob/master/documentation/7.contribution/release_process_cn.md) | [Versioning Policy and Implementation Rules](@ref page_release_versioning_en) + +This document describes the six stages of an RT-Thread mainline release, from requirements preparation to publication. See the [Versioning Policy and Implementation Rules](@ref page_release_versioning_en) for version classification, compatibility requirements, and the release checklist. + +## Stage 1: Release Preparation + +### 1. Primary Goal + +- Finalize the development tasks for this release and create a view of the release development tasks. + +### 2. Main Activities + +#### Key Activities + +- Prepare the release draft: review the previous release completion report and development draft to create an initial plan for this release. +- Organize GitHub issues: review unresolved issues from earlier releases, collect issues for new features, and mark them with release labels. + +#### Other Activities + +- Collect requirements from other departments and consolidate functional requirements into a requirements document. +- Evaluate emerging technologies for possible integration into the mainline, recording proposals as issues or discussions. +- Compare the performance of similar products and identify useful features to introduce, recording findings as issues or discussions. + +```mermaid +flowchart TB + A["Release preparation"] --> B["Prepare release draft"] + B --> B1["Previous release completion report"] + B --> B2["Previous release development draft"] + A --> C["Organize GitHub issues"] + C --> C1["Unresolved issues from earlier releases"] + C --> C2["New feature issues"] + A --> D["Collect departmental requirements"] + D --> D1["Functional requirements report with target version"] + A --> E["Evaluate emerging technologies"] + E --> E1["Technology outlook discussions"] + A --> F["Analyze competing products"] +``` + +## Stage 2: Define Initial Goals for the Next Release + +### 1. Primary Goal + +- Define the initial tasks for the next release. + +### 2. Main Activities + +1. Collect community requirements and feedback as issues, starting after the previous release is published. +2. Group the issues into milestones. +3. Define the initial goals for the next release. + +```mermaid +flowchart LR + A["GitHub issues"] --> B["GitHub milestones"] + B --> C["Initial goals for the next release"] +``` + +## Stage 3: Development Preparation + +### 1. Primary Goal + +- Assign development tasks using the release development task view. + +### 2. Main Activities + +- Assign developers to the development tasks for this release. +- Assign reviewers to PRs for different features. + +```mermaid +flowchart TB + A["Development preparation"] --> B["Distribute tasks"] + B --> C["Meet to agree on detailed assignments"] + A --> D["Assign PR reviewers"] + D --> C + D --> E["Kernel"] + D --> F["Drivers"] + D --> G["Components"] + D --> H["BSPs"] + D --> I["CI"] + D --> J["Other areas"] +``` + +## Stage 4: Release Development + +### 1. Primary Goal + +- Track progress and announce the feature freeze in advance. + +### 2. Main Activities + +- Complete the release development goals and record progress in the release plan. +- For core PRs, announce the feature freeze two weeks before release. +- Mark new feature PRs from community developers with GitHub labels. +- Process routine PRs throughout release development. + +```mermaid +flowchart TB + A["Release development"] --> B["Routine PRs throughout mainline development"] + A --> C["Core PRs: announce feature freeze in advance"] + C --> D["Advance release development tasks"] + C --> E["Include community feature PRs identified by GitHub labels"] +``` + +## Stage 5: Pre-release + +### 1. Primary Goal + +- Stabilize features and complete bug regression testing. + +### 2. Main Activities + +#### Core Activities + +- Stabilize the feature set by following up with authors to complete the merging of new feature PRs. +- Complete bug regression testing and collect release issues reported by the community, covering both development and published versions. + +#### Testing + +- Use the release test case template to test different architectures, BSPs, kernels, components, peripherals, file systems, and other areas, and record issues. See the [previous release test case document](https://docs.qq.com/sheet/DYUFZbEdrek1KWFd4). + +#### Reporting + +- Combine release development task progress with a summary of new feature PRs from community developers to produce a release task completion report. + +```mermaid +flowchart TB + A["Pre-release"] --> B["Core activities"] + B --> C["Feature stabilization"] + B --> D["Bug regression testing"] + D --> E["Community-reported issues"] + E --> F["Collect release issues and record version numbers"] + A --> G["Testing"] + A --> H["Reporting"] + H --> I["Release development task progress"] + H --> J["Summary of community feature PRs"] + I --> K["Release task completion report"] + J --> K + F --> K +``` + +## Stage 6: Release Publication + +### 1. Key Activities + +- Publish the version tag and release on GitHub. +- Publish the version tag and release on Gitee. +- Write documentation describing the new features in the release. +- Write the English changelog for the GitHub release. See the [version comparison example](https://github.com/RT-Thread/rt-thread/compare/v5.0.1...v5.0.2). +- Publish the release announcement on the community's WeChat official account. +- Hold a release launch event. + +### 2. Other Activities + +- Publish a community thread inviting developers to discuss the release and provide feedback. +- Update RT-Thread Studio project files and publish projects for the new version. +- Update chip support information on the commercial website, focusing on newly supported architectures. See the [chip support page](https://www.rt-thread.com/products/Chip-39.html). +- Update documentation and links for newly supported features in the [documentation center](https://www.rt-thread.org/document/site/#/). +- Update the cloud download link for RT-Thread source code on the official website. See the [source code download page](https://www.rt-thread.org/download.html#download-rt-thread-source-code). + +```mermaid +flowchart TB + A["Release publication"] --> B["Publish tags and releases"] + B --> B1["GitHub"] + B --> B2["Gitee"] + A --> C["New feature documentation"] + A --> D["Release communications"] + D --> D1["English GitHub release changelog"] + D --> D2["WeChat release announcement"] + A --> E["Release launch event"] + A --> F["Other activities"] + F --> F1["Community feedback thread"] + F --> F2["RT-Thread Studio project updates"] + F --> F3["Commercial website updates"] + F --> F4["Documentation center updates"] + F --> F5["Official source code download link update"] +``` + +## Release Process Overview + +The diagrams above detail the activities within each stage. The overall sequence is: + +```mermaid +flowchart TB + A["1. Release preparation"] --> B["2. Initial goals for the next release"] + B --> C["3. Development preparation"] + C --> D["4. Release development"] + D --> E["5. Pre-release"] + E --> F["6. Release publication"] +``` + +## References + +- [Tencent Docs: Release Process Diagram](https://docs.qq.com/flowchart/DVGpndnRmTHdkc3Ji) |
