mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
### What problem does this PR solve? Issue Number: None #68346 Related PR: None Problem Summary: The contributing guides linked contributor pages through repository-relative paths such as `./docs/en/community/how-to-contribute/pull-request.md` and `./docs/zh-CN/installing/compilation.md`. The documentation has since moved to the standalone apache/doris-website repository, so the in-tree `docs/` directory now only holds a per-language README shell and `docs/en/` does not exist at all. Every such link in CONTRIBUTING.md and CONTRIBUTING_CN.md therefore resolved to nothing. This replaces all repository-relative documentation links in the two files with their live doris.apache.org URLs, matching the absolute-link style already used by the per-language README files. The affected links are the contributor mailing list, the pull request guide (three occurrences per file), and the compilation document. Note the compilation page slug is `compilation-with-docker`; `.../source-install/compilation/` does not exist. Link targets were verified to return HTTP 200, and a non-existent path on the same host returns 404, so the status codes are meaningful. ### Release note None ### Check List (For Author) - Test: No need to test. No code files have been changed; only documentation links were updated, and all new URLs were verified with curl to return HTTP 200. - Behavior changed: No. - Does this need documentation: No. ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [x] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [x] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [x] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [x] No. - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
75 lines
5.0 KiB
Markdown
75 lines
5.0 KiB
Markdown
<!--
|
||
Licensed to the Apache Software Foundation (ASF) under one
|
||
or more contributor license agreements. See the NOTICE file
|
||
distributed with this work for additional information
|
||
regarding copyright ownership. The ASF licenses this file
|
||
to you under the Apache License, Version 2.0 (the
|
||
"License"); you may not use this file except in compliance
|
||
with the License. You may obtain a copy of the License at
|
||
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
Unless required by applicable law or agreed to in writing,
|
||
software distributed under the License is distributed on an
|
||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
KIND, either express or implied. See the License for the
|
||
specific language governing permissions and limitations
|
||
under the License.
|
||
-->
|
||
|
||
# 为 Doris 做贡献
|
||
|
||
非常感谢您对 Doris 项目感兴趣,我们非常欢迎您对 Doris 项目的各种建议、意见(包括批评)、评论和贡献。
|
||
|
||
您对 Doris 的各种建议、意见、评论可以直接通过 GitHub 的 [Issues](https://github.com/apache/doris/issues/new/choose) 提出。
|
||
|
||
参与 Doris 项目并为其作出贡献的方法有很多:代码实现、测试编写、流程工具改进、文档完善等等。任何贡献我们都会非常欢迎,并将您加入贡献者列表,进一步,有了足够的贡献后,您还可以有机会成为 Apache 的 Committer,拥有 Apache 邮箱,并被收录到 [Apache Committer 列表中](http://people.apache.org/committer-index.html)。
|
||
|
||
任何问题,您都可以联系我们得到及时解答,联系方式包括 dev 邮件组,Slack 等。
|
||
|
||
## 初次接触
|
||
|
||
初次来到 Doris 社区,您可以:
|
||
|
||
* 关注 Doris [GitHub 代码库](https://github.com/apache/doris)
|
||
* 订阅我们的 [邮件列表](https://doris.apache.org/zh-CN/community/subscribe-mail-list);
|
||
* 加入 Doris 的 [Slack](https://doris.apache.org/slack)
|
||
|
||
通过以上方式及时了解 Doris 项目的开发动态并为您关注的话题发表意见。
|
||
|
||
## Doris 的代码和文档
|
||
|
||
正如您在 [GitHub](https://github.com/apache/doris) 上看到的,Apache Doris 的代码库主要包括三部分:Frontend (FE), Backend (BE) 和 Broker (为了支持 HDFS 等外部存储系统上的文件读取)。文档主要是 Doris 网站和 GitHub 上的 wiki,还有运行 Doris 的时候的在线帮助手册。这些组件的详细情况参见下表:
|
||
|
||
| 组件名称 | 组件描述 | 相关语言 |
|
||
|--------|----------------------------|----------|
|
||
| [Frontend daemon (FE)](https://github.com/apache/doris)| 由“查询协调器”和“元数据管理器”组成 | Java|
|
||
| [Backend daemon (BE)](https://github.com/apache/doris) | 负责存储数据和执行查询片段 | C++|
|
||
| [Broker](https://github.com/apache/doris) | 读取 HDFS 数据到 Doris | Java |
|
||
| [Website](https://github.com/apache/doris-website) | Doris 网站 | Markdown |
|
||
| [GitHub Wiki](https://github.com/apache/doris/wiki) | Doris GitHub Wiki | Markdown |
|
||
| Doris 运行时 help 文档 | 运行 Doris 的时候的在线帮助手册 | Markdown |
|
||
|
||
## 改进文档
|
||
|
||
文档是您了解 Apache Doris 的最主要的方式,也是我们最需要帮助的地方!
|
||
|
||
浏览文档,可以加深您对 Doris 的了解,也可以帮助您理解 Doris 的功能和技术细节,如果您发现文档有问题,请及时联系我们;
|
||
|
||
如果您对改进文档的质量感兴趣,不论是修订一个页面的地址、更正一个链接、以及写一篇更优秀的入门文档,我们都非常欢迎!
|
||
|
||
我们的文档大多数是使用 Markdown 格式编写的,您可以直接通过在 [GitHub](https://github.com/apache/doris) 中的 `docs/` 中修改并提交文档变更。如果提交代码变更,可以参阅 [Pull Request](https://doris.apache.org/zh-CN/community/how-to-contribute/pull-request/)。
|
||
|
||
## 如果发现了一个 Bug 或问题
|
||
|
||
如果发现了一个 Bug 或问题,您可以直接通过 GitHub 的 [Issues](https://github.com/apache/doris/issues/new/choose) 提一个新的 Issue,我们会有人定期处理。
|
||
|
||
您也可以通过阅读分析代码自己修复(当然在这之前最好能和我们交流下,或许已经有人在修复同样的问题了),然后提交一个 [Pull Request](https://doris.apache.org/zh-CN/community/how-to-contribute/pull-request/)。
|
||
|
||
## 修改代码和提交PR(Pull Request)
|
||
|
||
您可以下载代码,编译安装,部署运行试一试(可以参考 [编译文档](https://doris.apache.org/zh-CN/community/source-install/compilation-with-docker)),看看是否与您预想的一样工作。如果有问题,您可以直接联系我们,提 Issue 或者通过阅读和分析源代码自己修复。
|
||
|
||
无论是修复 Bug 还是增加 Feature,我们都非常欢迎。如果您希望给 Doris 提交代码,您需要从 GitHub 上 fork 代码库至您的项目空间下,为您提交的代码创建一个新的分支,添加源项目为upstream,并提交PR。
|
||
提交PR的方式可以参考文档 [Pull Request](https://doris.apache.org/zh-CN/community/how-to-contribute/pull-request/)。
|