forked from rustdesk/rustdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rustdesk:master' into master
- Loading branch information
Showing
10 changed files
with
190 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
|
||
# 贡献者公约行为准则 | ||
|
||
## 我们的承诺 | ||
|
||
身为社区成员、贡献者和领袖,我们承诺使社区参与者不受骚扰,无论其年龄、体型、可见或不可见的缺陷、族裔、性征、性别认同和表达、经验水平、教育程度、社会与经济地位、国籍、相貌、种族、种姓、肤色、宗教信仰、性倾向或性取向如何。 | ||
|
||
我们承诺以有助于建立开放、友善、多样化、包容、健康社区的方式行事和互动。 | ||
|
||
## 我们的标准 | ||
|
||
有助于为我们的社区创造积极环境的行为例子包括但不限于: | ||
|
||
* 表现出对他人的同情和善意 | ||
* 尊重不同的主张、观点和感受 | ||
* 提出和大方接受建设性意见 | ||
* 承担责任并向受我们错误影响的人道歉 | ||
* 注重社区共同诉求,而非个人得失 | ||
|
||
不当行为例子包括: | ||
|
||
* 使用情色化的语言或图像,及性引诱或挑逗 | ||
* 嘲弄、侮辱或诋毁性评论,以及人身或政治攻击 | ||
* 公开或私下的骚扰行为 | ||
* 未经他人明确许可,公布他人的私人信息,如物理或电子邮件地址 | ||
* 其他有理由认定为违反职业操守的不当行为 | ||
|
||
## 责任和权力 | ||
|
||
社区领袖有责任解释和落实我们所认可的行为准则,并妥善公正地对他们认为不当、威胁、冒犯或有害的任何行为采取纠正措施。 | ||
|
||
社区领导有权力和责任删除、编辑或拒绝或拒绝与本行为准则不相符的评论(comment)、提交(commits)、代码、维基(wiki)编辑、议题(issues)或其他贡献,并在适当时机知采取措施的理由。 | ||
|
||
## 适用范围 | ||
|
||
本行为准则适用于所有社区场合,也适用于在公共场所代表社区时的个人。 | ||
|
||
代表社区的情形包括使用官方电子邮件地址、通过官方社交媒体帐户发帖或在线上或线下活动中担任指定代表。 | ||
|
||
## 监督 | ||
|
||
辱骂、骚扰或其他不可接受的行为可通过[[email protected]](mailto:[email protected])向负责监督的社区领袖报告。 所有投诉都将得到及时和公平的审查和调查。 | ||
|
||
所有社区领袖都有义务尊重任何事件报告者的隐私和安全。 | ||
|
||
## 处理方针 | ||
|
||
社区领袖将遵循下列社区处理方针来明确他们所认定违反本行为准则的行为的处理方式: | ||
|
||
### 1. 纠正 | ||
|
||
**社区影响**: 使用不恰当的语言或其他在社区中被认定为不符合职业道德或不受欢迎的行为。 | ||
|
||
**处理意见**: 由社区领袖发出非公开的书面警告,明确说明违规行为的性质,并解释举止如何不妥。或将要求公开道歉。 | ||
|
||
### 2. 警告 | ||
|
||
**社区影响**: 单个或一系列违规行为。 | ||
|
||
**处理意见**: 警告并对连续性行为进行处理。在指定时间内,不得与相关人员互动,包括主动与行为准则执行者互动。这包括避免在社区场所和外部渠道中的互动。违反这些条款可能会导致临时或永久封禁。 | ||
|
||
### 3. 临时封禁 | ||
|
||
**社区影响**: 严重违反社区准则,包括持续的不当行为。 | ||
|
||
**处理意见**: 在指定时间内,暂时禁止与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行公开或私下互动,包括主动与行为准则执行者互动。违反这些条款可能会导致永久封禁。 | ||
|
||
### 4. 永久封禁 | ||
|
||
**社区影响**: 行为模式表现出违反社区准则,包括持续的不当行为、骚扰个人或攻击或贬低某个类别的个体。 | ||
|
||
**处理意见**: 永久禁止在社区内进行任何形式的公开互动。 | ||
|
||
## 参见 | ||
|
||
本行为准则改编自[参与者公约][homepage]2.0 版, 参见 | ||
[https://www.contributor-covenant.org/zh-cn/version/2/0/code_of_conduct.html][v2.0]. | ||
|
||
指导方针借鉴自[Mozilla纪检分级][Mozilla CoC]. | ||
|
||
有关本行为准则的常见问题的答案,参见 [https://www.contributor-covenant.org/faq][FAQ]。 其他语言翻译参见[https://www.contributor-covenant.org/translations][translations]。 | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
[v2.0]: https://www.contributor-covenant.org/zh-cn/version/2/0/code_of_conduct.html | ||
[Mozilla CoC]: https://github.com/mozilla/diversity | ||
[FAQ]: https://www.contributor-covenant.org/faq | ||
[translations]: https://www.contributor-covenant.org/translations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 为RustDesk做贡献 | ||
|
||
Rust欢迎每一位贡献者,如果您有意向为我们做出贡献,请遵循以下指南: | ||
|
||
## 贡献方式 | ||
|
||
对 RustDesk 或其依赖项的贡献需要通过 GitHub 的 Pull Request (PR) 的形式提交。每个 PR 都会由核心贡献者(即有权限合并代码的人)进行审核,审核通过后代码会合并到主分支,或者您会收到需要修改的反馈。所有贡献者,包括核心贡献者,提交的代码都应遵循此流程。 | ||
|
||
如果您希望处理某个问题,请先在对应的 GitHub issue 下发表评论,声明您将处理该问题,以避免该问题被多位贡献者重复处理。 | ||
|
||
## PR 注意事项 | ||
|
||
- 从 master 分支创建一个新的分支,并在提交PR之前,如果需要,将您的分支 变基(rebase) 到最新的 master 分支。如果您的分支无法顺利合并到 master 分支,您可能会被要求更新您的代码。 | ||
|
||
- 每次提交的改动应该尽可能少,并且要保证每次提交的代码都是正确的(即每个 commit 都应能成功编译并通过测试)。 | ||
|
||
- 每个提交都应附有开发者证书签名(http://developercertificate.org), 表明您(以及您的雇主,若适用)同意遵守项目[许可证条款](../LICENCE)。在使用 git 提交代码时,可以通过在 `git commit` 时使用 `-s` 选项加入签名 | ||
|
||
- 如果您的 PR 未被及时审核,或需要指定的人员进行审核,您可以通过在 PR 或评论中 @ 提到相关审核者,以及发送[电子邮件](mailto:[email protected])的方式请求审核。 | ||
|
||
- 请为修复的 bug 或新增的功能添加相应的测试用例。 | ||
|
||
有关具体的 git 使用说明,请参考[GitHub workflow 101](https://github.com/servo/servo/wiki/GitHub-workflow). | ||
|
||
## 行为准则 | ||
|
||
请遵守项目的[贡献者公约行为准则](./CODE_OF_CONDUCT-ZH.md)。 | ||
|
||
|
||
## 沟通渠道 | ||
|
||
RustDesk 的贡献者主要通过 [Discord](https://discord.gg/nDceKgxnkV) 进行交流。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters