Skip to content

Commit 3cb3e51

Browse files
committed
2 parents c16db1f + 029691d commit 3cb3e51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+46325
-33426
lines changed

docs/adaptation/adaptation_hw.md

Lines changed: 398 additions & 387 deletions
Large diffs are not rendered by default.

docs/adaptation/adaptation_oss.md

Lines changed: 34978 additions & 33034 deletions
Large diffs are not rendered by default.

docs/adaptation/adaptation_process.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,19 @@ OC 社区项目仓库链接如下:[https://gitee.com/organizations/OpenCloudOS
3232
测试工具代码仓:[https://gitee.com/opencloudos-stream/oc-hct](https://gitee.com/opencloudos-stream/oc-hct)
3333
### 4.1-可自主测试:
3434

35-
在微信群内,OC 社区组织官方成员会提供相应的测试要求文件,请申请者按照标准完成测试,并提供标准测试报告给沟通群内的社区工作人员进行审核。
35+
在微信群内,OC 社区组织官方成员会提供相应的测试要求文件,请申请者按照标准完成测试,并提供标准测试报告给沟通群内的社区工作人员进行审核。
3636

37-
测试报告模板链接:[产品互认证测试模板.docx](https://gitee.com/OpenCloudOS/sig-ecological-adaptation/blob/master/doc/%E4%BA%A7%E5%93%81%E4%BA%92%E8%AE%A4%E8%AF%81_%E6%B5%8B%E8%AF%95%E6%8A%A5%E5%91%8A_%E6%A8%A1%E6%9D%BF.docx)
37+
测试报告模板链接:[产品互认证测试模板.docx](https://gitee.com/OpenCloudOS/sig-ecological-adaptation/blob/master/doc/%E4%BA%A7%E5%93%81%E4%BA%92%E8%AE%A4%E8%AF%81_%E6%B5%8B%E8%AF%95%E6%8A%A5%E5%91%8A230526.docx)
3838

3939
整机厂商测试用例可参考:[整机认证测试项](testcase.md)
4040
### 4.2-不可自主测试:
4141

42-
在微信群内提出申请,将特殊请求、设备发以及测试方法送至 OC 社区联合实验(E企研究院)处,进行相应测试。
42+
在微信群内提出申请,将特殊请求、设备发以及测试方法送至 OC 社区联合实验(E企研究院)处,进行相应测试。
43+
44+
### 4.3-测试报告要求
45+
46+
1. 按照模板指引完成测试报告,填写报告关键信息。
47+
2. 将测试关键log与测试报告一同打包,提交审核。
4348
## 5-适配代码、软件包管理
4449

4550
请申请者决定若要加入 OC 社区的 YUM 源,则需完成 OC 社区 Realse SIG 的管理流程[Relase-SIG 快速导航](https://gitee.com/OpenCloudOS/SIG-release)

docs/adaptation/adaptation_sw.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ OpenCloudOS 商业软件兼容列表如下:
22

33
| 产品名 | 版本 | 软件类型 | 厂家名称 | 操作系统 |
44
| :-------------------------- | :----- | :------- | :--------------------------------- | :---------- |
5+
| 开源 PolarDB 分布式版 | V2.2| 数据库管理系统| 阿里云计算有限公司 | OpenCloudOS |
6+
| 开源 PolarDB PostgreSQL 版 | V11 | 数据库管理系统 | 阿里云计算有限公司 | OpenCloudOS |
7+
| Coremail XT安全增强电子邮件系统 | V6.0 | 行业应用 | 广东盈世计算机科技有限公司 | OpenCloudOS |
8+
| GoldenDB | V6 | 数据库管理系统 | 金篆信科有限责任公司 | OpenCloudOS |
9+
| 新支点桌面 | - | 桌面 | 广东中兴新支点技术有限公司 | OpenCloudOS |
10+
| 灵雀云企业级全栈云原生开放平台 | V3 | 虚拟化云平台 | 北京凌云雀科技有限公司 | OpenCloudOS |
11+
| TDengine | V3.0.4.1 | 数据库管理系统 | 北京涛思数据科技有限公司 | OpenCloudOS |
512
| APISIX | V3.2.0 | 中间件 | Apache APISIX 开源社区 | OpenCloudOS |
613
| Apusic应用服务器软件 | V10 | 虚拟化云平台 | 深圳市金蝶天燕云计算股份有限公司 | OpenCloudOS |
714
| 云树集群管理平台软件(CTREE DMP) | V7 | 数据库管理系统 | 上海爱可生信急技术股份有限公司 | OpenCloudOS |
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# OpenCloudos Kernel Development Guide
2+
3+
> The purpose of this document is:
4+
>
5+
> - Ensure that kernel code development and rounds comply with community license requirements.
6+
> - Ensure that the coding style and code quality meet the quality requirements of the kernel Upstream Linus library.
7+
> - As the upstream kernel of the industry partner, OC KERNEL will provide the downstream partner with a forward-only kernel tree and provide the downstream partner feature selection flexibility.
8+
9+
## 1-Branching Strategy
10+
11+
Branch names and usage processes
12+
13+
- the code composition of master: LTS + upstream backport features + SIG opensource features + bugfix。
14+
- Each feature is formed into independent branches based on the master, and merged into the merge master after meeting the feature integration requirements and testing.
15+
- The master branch is merged into Tencent's internal code tree, where the features are merged into the LTS/XX stable branch and opened to downstream users.
16+
- The stable branch of the OC kernel is in the lts/directory, and only accepts bugfix that does not affect Kabi stability.
17+
- Master and stable branch forward-only, force push is not allowed.
18+
19+
## 2-Kernel Default Configuration
20+
21+
`make occonfig` Provide kernel default configuration.
22+
`make noocconfig` The OC-specific configuration item is deleted in the current configuration as a build test case of the OC kernel.
23+
24+
## 3-Kernel Feature Development Requirements
25+
26+
In order to better track the whole process (self-developed) kernel feature development without increasing the burden on development students, the kernel features required to be added to the OC kernel must meet the following requirements :
27+
28+
- Clearly describe the problem that the feature is trying to solve ;
29+
30+
- The design solution used to solve this problem ;
31+
32+
- Usage and practical effects of features ;
33+
34+
- This feature must provide a CONFIG_ Compilation switch for mode ;
35+
36+
- Provide cmdline switch or sysctl runtime switch or provide code in a modular manner (optional) ;
37+
38+
- The impact of characteristics on KABI integrated into the kernel ;
39+
40+
- The features have passed those functional and performance tests. The specified testing requirements are listed below .
41+
42+
- The submission team must be responsible for the functionality, performance, and bugs of the submitted code. Code must be reviewed.
43+
44+
- The person in charge of feature submission needs to `signed-off`, and the reviewer needs to add `Reviewed-by:`or `Acked-by: `
45+
46+
- If there are tests, please sign the test results, such as :
47+
48+
```
49+
Tested-by: Desheng <deshengwu@Tencent 腾讯>
50+
```
51+
52+
## 4-Commit Specification Requirements
53+
54+
1. When submitting self-developed features(commit log),require to include `Reviewed-by` or `Acked-by`
55+
56+
2. When turning on the characteristics of other code trees, it is necessary to act as an independent branch and:
57+
58+
- Maintain the original upstream commit quantity and order
59+
60+
- Keep the original commit author
61+
62+
- Add `Signed-off-by` of the person who took the turn: (recommended to use `git cherry-pick -s`)
63+
64+
- The solution to the round conflict should be indicated in the commit log:`Conflicts:<refactored some_function_foo ... >`
65+
66+
- On the first line of the commit log, indicate the commit IDs of other code trees, such as
67+
68+
```text
69+
commit 7548bf8c17d84607c106bd45d81834afd95a2edb upstream/openvz/openeuler
70+
```
71+
72+
or
73+
74+
```text
75+
Upstream commit 8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60
76+
```
77+
78+
## 5-Tag/Version Specification
79+
80+
Currently in use TAG:
81+
82+
- 4.14.105-19-0015
83+
- 5.4.119-19-0009.1
84+
85+
## 6-Characterization Testing Requirements
86+
87+
Each new kernel feature integration requires passing the following tests and providing a test report:
88+
89+
1. The checkpatch.pl and each config compilation for each commit:
90+
91+
- The newly added kernel config needs to be closed and compiled in the kernel/configs/nooc.config file ;
92+
93+
- As an upstream kernel code, downstream users may have different requirements for using OC Kernel. In ARM and X86, in addition to the default `default`, `noocconfig`, `occonfig` must be built and passed, they must also compile and pass the default `defconfig`, `allyesconfig`, `allmodconfig`in the code tree.
94+
95+
- **The minimum requirement is not to addbuild error/warning.** A self testing method is as follows:
96+
97+
```bash
98+
make allmodconfig modules all -s ; make allyesconfig noocconfig all -s
99+
```
100+
101+
2. The recommendations for kernel benchmark self-testing under each config are as follows:
102+
103+
```bash
104+
make occonfig kvmconfig bzImage -s -j 32 && qemu -kernel arch/x86/boot/bzImage --nographic -m 4g -smp 4 --enable-kvm ...
105+
```
106+
107+
3. Provide test cases for features, such as kunit/kselftest or other use cases
108+
109+
4. Pass basic kernel testing
110+
a. LTP related testing does not increase failure.
111+
b. Stress-ng testing - if it can be covered.
112+
113+
5. Gcov or kcov code coverage>90% when executing tests.
114+
(gcov's data collection method [Using gcov with the Linux kernel](https://www.kernel.org/doc/html/latest/dev-tools/gcov.html)
115+
116+
Written by:alexsshi 2023-02-17
117+
118+
reference:
119+
120+
1. [Kernel Documentation](https://www.kernel.org/doc/html/latest/index.html#id6)
121+
2. [Submitting patches: the essential guide to getting your code into the kernel](https://www.kernel.org/doc/html/latest/process/submitting-patches.html)
3.71 KB
Loading
4.95 KB
Loading
4.67 KB
Loading

docs/download/iso.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
下载 OpenCloudOS 官方版本镜像
2+
3+
| Version | ARCHITECTURE | ISO |
4+
| --------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5+
| 8.6 | x86_64 | [Minimal](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/x86_64/opencloudos-8.6-x86_64-minimal.iso)[DVD](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/x86_64/opencloudos-8.6-x86_64-dvd1.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos/8.6/images/opencloudos-v8.6-minimal-x86_64-20230206.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos/8.6/images/opencloudos-v8.6-minimal-x86_64.tar)[Checksum](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/x86_64/CHECKSUM)[YumRepo](https://mirrors.opencloudos.tech/opencloudos/8.6/) |
6+
| 8.6 | aarch64 | [Minimal](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/aarch64/opencloudos-8.6-aarch64-minimal.iso)[DVD](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/aarch64/opencloudos-8.6-aarch64-dvd1.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos/8.6/images/opencloudos-v8.6-minimal-aarch64-20230206.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos/8.6/images/opencloudos-v8.6-minimal-aarch64.tar)[Checksum](https://mirrors.opencloudos.tech/opencloudos/8.6/isos/aarch64/CHECKSUM)[YumRepo](https://mirrors.opencloudos.tech/opencloudos/8.6/) |
7+
| 9.0 | x86_64 | [Everything](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/x86_64/OpenCloudOS-9.0-x86_64-everything.iso)[Netinst](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/x86_64/OpenCloudOS-9.0-x86_64-netinst.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos/9.0/images/x86_64/opencloudos-v9.0-20230329-x86_64.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos/9.0/images/x86_64/opencloudos-9.0-minimal-x86_64.tar)[Checksum](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/x86_64/CHECKSUM)[YumRepo](https://mirrors.opencloudos.tech/opencloudos/9.0/) |
8+
| 9.0 | aarch64 | [Everything](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/aarch64/OpenCloudOS-9.0-aarch64-everything.iso)[Netinst](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/aarch64/OpenCloudOS-9.0-aarch64-netinst.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos/9.0/images/aarch64/opencloudos-v9.0-20230317-aarch64.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos/9.0/images/aarch64/opencloudos-9.0-minimal-aarch64.tar)[Checksum](https://mirrors.opencloudos.tech/opencloudos/9.0/isos/aarch64/CHECKSUM)[YumRepo](https://mirrors.opencloudos.tech/opencloudos/9.0/) |
9+
| Stream 23 | x86_64 | [Boot](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/x86_64/OpenCloudOS-Stream-23-20230301-x86_64-netinst.iso)[DVD](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/x86_64/OpenCloudOS-Stream-23-20230301-x86_64-everything.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/x86_64/OpenCloudOS-Stream-23-20230301-x86_64.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/x86_64/OpenCloudOS-Stream-23-20230301-x86_64-mini-docker.tar)[YumRepo|](https://mirrors.opencloudos.org/opencloudos-stream/releases/23/)[Checksum](https://mirrors.opencloudos.org/opencloudos-stream/releases/23/images/checksum.txt)[](https://mirrors.opencloudos.tech/opencloudos-stream/ "YumRepo") |
10+
| Stream 23 | aarch64 | [Boot](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/aarch64/OpenCloudOS-Stream-23-20230301-aarch64-netinst.iso)[DVD](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/aarch64/OpenCloudOS-Stream-23-20230301-aarch64-everything.iso)[QCOW2](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/aarch64/OpenCloudOS-Stream-23-20230301-aarch64.qcow2)[Containers](https://mirrors.opencloudos.tech/opencloudos-stream/releases/23/images/aarch64/OpenCloudOS-Stream-23-20230301-aarch64-mini-docker.tar)[YumRepo|](https://mirrors.opencloudos.org/opencloudos-stream/releases/23/)[Checksum](https://mirrors.opencloudos.org/opencloudos-stream/releases/23/images/checksum.txt)[](https://mirrors.opencloudos.tech/opencloudos-stream/ "YumRepo") |
11+
12+
**当您下载和使用 OpenCloudOS 时,OpenCloudOS 项目邀请您[作为贡献者加入社区](https://lists.opencloudos.org/g/main "作为贡献者加入社区") 。可以通过多种方式为项目做出贡献,从文档、QA和测试到SIG 的代码更改、提供镜像以及帮助其他用户等。**
13+
14+
**欢迎扫描页面底部二维码添加社区助理(微信号:OpenCloudOS)加入技术交流群。**

docs/download/mirrors.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
OpenCloudOS 欢迎新的镜像站,如果您正在考虑为 OpenCloudOS 建立一个公共镜像站点,请遵循镜像指南以确保您的镜像与其他镜像站点保持一致。有任何问题,欢迎扫描页面底部二维码添加社区助理(微信号:OpenCloudOS)与我们联系。
2+
3+
| 镜像源名称 | 地点 | 赞助 | 同步 | FTP |
4+
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------- | ---- | --- |
5+
| [OpenCloudOS](https://mirrors.opencloudos.tech/opencloudos/ "OpenCloudOS"){:target="_blank"} | 中国 | ![1685357908856](image/mirrors/1685357908856.png) |||
6+
| [Peking University](http://mirrors.pku.edu.cn/opencloudos/ "北京大学"){:target="_blank"} | 中国 | ![1685357912756](image/mirrors/1685357912756.png) |||
7+
| [Shanghai Jiao Tong University](https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/rsync/opencloudos/listing-1679018496/index.html){:target="_blank"} | 中国 | ![1685357917079](image/mirrors/1685357917079.png) |||

0 commit comments

Comments
 (0)