Repository navigation
update CODE_OF_CONDUCT.md and add CODE_OF_CONDUCT_CN.md - #804
Conversation
WalkthroughThe changes involve a comprehensive rewrite and customization of the project's code of conduct, renaming and adapting it specifically for IvorySQL. Additionally, a new Chinese translation of the code of conduct is introduced, ensuring community guidelines are accessible to a broader audience. Changes
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (4)
CODE_OF_CONDUCT.md (2)
5-7: Vary sentence openers for improved flow.
Three successive sentences begin with “We,” which can feel repetitive. Consider rephrasing one or two of them to avoid monotony while preserving the pledge’s emphasis.🧰 Tools
🪛 LanguageTool
[style] ~6-~6: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n, or sexual identity and orientation. We pledge to act and interact in ways that...(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
91-93: Attribution links updated.
Linking to Contributor Covenant v2.0 and Mozilla’s framework gives proper credit.Consider adding “the” before “Community Impact Guidelines” for grammatical completeness.
🧰 Tools
🪛 LanguageTool
[uncategorized] ~92-~92: You might be missing the article “the” here.
Context: ...org/version/2/0/code_of_conduct.html). Community Impact Guidelines were inspired by [Moz...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
CODE_OF_CONDUCT_CN.md (2)
47-49: 违规处理与责任分配描述合理
但第47行“审查和调查”前可考虑使用“及时且公平地审查和调查”以符合中文语法习惯。🧰 Tools
🪛 LanguageTool
[uncategorized] ~47-~47: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:公平"地"审查
Context: ...ivorysql.org向负责监督的社区维护团队报告。所有投诉都将得到及时和公平的审查和调查。所有社区维护者都有义务尊重任何事件报告者的隐私和安全。 由社区负责人...(wb4)
91-93: 归因链接格式建议优化
可将“[贡献者公约]”与版本号合并,如“贡献者公约 v2.0”,增强可读性。
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (2)
CODE_OF_CONDUCT.md(1 hunks)CODE_OF_CONDUCT_CN.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
CODE_OF_CONDUCT_CN.md
[uncategorized] ~23-~23: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"骚扰
Context: ...与性相关的语言或图像、性骚扰 - 恶意挑衅、侮辱性言论或人身攻击 - 公开或私下的骚扰行为 - 未经明确允许,公开他人隐私信息(如地址、联系方式) - 其他可被认...
(wb4)
[uncategorized] ~47-~47: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:公平"地"审查
Context: ...ivorysql.org向负责监督的社区维护团队报告。所有投诉都将得到及时和公平的审查和调查。所有社区维护者都有义务尊重任何事件报告者的隐私和安全。 由社区负责人...
(wb4)
[uncategorized] ~77-~77: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"互动
Context: ...参与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行任何公开或私下的互动,包括主动与执行行为准则的人员进行交流。违反这些条款可能会导致永久封禁。 ...
(wb4)
CODE_OF_CONDUCT.md
[style] ~6-~6: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n, or sexual identity and orientation. We pledge to act and interact in ways that...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~24-~24: Try using a synonym here to strengthen your wording.
Context: ...vances - Trolling, insulting/derogatory comments, and personal or political attacks - Pu...
(COMMENT_REMARK)
[style] ~47-~47: ‘with regard to’ might be wordy. Consider a shorter alternative.
Context: ...s obligated to maintain confidentiality with regard to the reporter of an incident. Enforceme...
(EN_WORDINESS_PREMIUM_WITH_REGARD_TO)
[uncategorized] ~49-~49: Possible missing comma found.
Context: ...sponsibilities are delegated to project leaders who will determine the consequences for...
(AI_HYDRA_LEO_MISSING_COMMA)
[style] ~49-~49: ‘without warning’ might be wordy. Consider a shorter alternative.
Context: ... permanent expulsion from the community without warning. ## Reporting Process 1. Contact the ...
(EN_WORDINESS_PREMIUM_WITHOUT_WARNING)
[uncategorized] ~92-~92: You might be missing the article “the” here.
Context: ...org/version/2/0/code_of_conduct.html). Community Impact Guidelines were inspired by [Moz...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
🪛 markdownlint-cli2 (0.17.2)
CODE_OF_CONDUCT.md
97-97: Bare URL used
null
(MD034, no-bare-urls)
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: oracle_regression (ubuntu-latest)
- GitHub Check: contrib_regression
- GitHub Check: build (ubuntu-latest)
- GitHub Check: oracle_pg_regression (ubuntu-latest)
- GitHub Check: meson_build (ubuntu-latest)
- GitHub Check: pg_regression (ubuntu-latest)
🔇 Additional comments (23)
CODE_OF_CONDUCT.md (13)
1-1: Title updated appropriately.
Renaming the document to “IvorySQL Code of Conduct” correctly reflects the project branding.
11-19: Standards section clearly enumerates positive behaviors.
The added items (“Being supportive of others’ growth and learning,” etc.) are on-point and maintain a logical order.
23-29: Unacceptable behaviors expanded sensibly.
Including misuse of community tools and encouraging prohibited conduct strengthens the policy’s coverage.🧰 Tools
🪛 LanguageTool
[style] ~24-~24: Try using a synonym here to strengthen your wording.
Context: ...vances - Trolling, insulting/derogatory comments, and personal or political attacks - Pu...(COMMENT_REMARK)
31-31: Section renamed to “Our Responsibilities.”
The heading aligns with IvorySQL-specific terminology.
33-39: Maintainer duties detailed thoroughly.
Adding mentorship, accessibility, and conflict-resolution tasks enhances clarity on enforcement roles.
43-43: Scope clarified to cover all community spaces.
Explicitly listing repo, discussions, calls, and social media ensures contributors know what’s governed.
47-47: Reporting contact and confidentiality clause.
Specifying the email and confidentiality commitment strengthens trust in the process.🧰 Tools
🪛 LanguageTool
[style] ~47-~47: ‘with regard to’ might be wordy. Consider a shorter alternative.
Context: ...s obligated to maintain confidentiality with regard to the reporter of an incident. Enforceme...(EN_WORDINESS_PREMIUM_WITH_REGARD_TO)
49-49: Enforcement delegation is clear.
Detailing project leaders’ authority to enact bans without warning underscores the seriousness of violations.🧰 Tools
🪛 LanguageTool
[uncategorized] ~49-~49: Possible missing comma found.
Context: ...sponsibilities are delegated to project leaders who will determine the consequences for...(AI_HYDRA_LEO_MISSING_COMMA)
[style] ~49-~49: ‘without warning’ might be wordy. Consider a shorter alternative.
Context: ... permanent expulsion from the community without warning. ## Reporting Process 1. Contact the ...(EN_WORDINESS_PREMIUM_WITHOUT_WARNING)
51-51: “Reporting Process” section introduced.
A step-by-step guide to filing reports is very helpful.
53-57: Reporting steps are comprehensive.
Acknowledgement within 48 hours and follow-up steps set clear expectations.
59-59: Privacy obligation restated.
Reaffirming reporter confidentiality after the process steps is a good call.
63-87: Enforcement guidelines are well-structured.
The four-tier ladder (Correction, Warning, Temporary Ban, Permanent Ban) matches best practices and retains IvorySQL branding.
95-95: “Questions” section is clear.
Providing a direct contact email for inquiries ensures accessibility.CODE_OF_CONDUCT_CN.md (10)
1-1: 标题翻译准确
“IvorySQL社区行为准则”与英文标题对应,无需修改。
5-5: 承诺段落译文忠实
文本涵盖所有受保护特征,语义清晰。
11-17: 积极行为准则翻译完善
条目与英文版本一致,语句通顺。
21-27: 禁止行为列表翻译准确
所有条款均已正确传达项目要求。🧰 Tools
🪛 LanguageTool
[uncategorized] ~23-~23: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"骚扰
Context: ...与性相关的语言或图像、性骚扰 - 恶意挑衅、侮辱性言论或人身攻击 - 公开或私下的骚扰行为 - 未经明确允许,公开他人隐私信息(如地址、联系方式) - 其他可被认...(wb4)
31-38: 维护者义务一览无遗
“为新贡献者提供指导和支持”等四项职责翻译得当。
42-44: 适用范围段落清晰
涵盖仓库、讨论区、社区会议及社交媒体,翻译对应。
53-57: 举报流程条款齐全
各步骤清晰,符合英文文档逻辑。
59-59: 隐私保护声明翻译到位
重申维护者对举报人隐私的义务。
63-87: 分级处理指南翻译一致
纠正、警告、临时封禁及永久封禁流程均已正确映射。🧰 Tools
🪛 LanguageTool
[uncategorized] ~77-~77: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"互动
Context: ...参与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行任何公开或私下的互动,包括主动与执行行为准则的人员进行交流。违反这些条款可能会导致永久封禁。 ...(wb4)
95-95: 疑问咨询段落翻译恰当
提供了项目团队联系方式,无需更改。
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (3)
CODE_OF_CONDUCT_CN.md (3)
9-9: Use fullwidth colon for Chinese typography.
Replace the ASCII colon “:” after “包括但不限于” with the Chinese fullwidth colon “:” in these lines for consistency with Chinese punctuation rules.
Example diff:- 有助于创造积极环境的行为包括但不限于: + 有助于创造积极环境的行为包括但不限于: - 参与者不应采取的行为包括但不限于: + 参与者不应采取的行为包括但不限于:Also applies to: 19-19
45-49: Convert email to a mailto hyperlink and unify terminology.
- Anchor the email address as a mailto link for better Markdown rendering.
- Use consistent terminology: replace “社区负责人” with “社区维护者” to match earlier sections.
Example diff:
- 辱骂、骚扰或其他不可接受的行为可通过[email protected]向负责监督的社区维护团队报告。由社区负责人行使处置权... + 辱骂、骚扰或其他不可接受的行为可通过[[email protected]](mailto:[email protected])向负责监督的社区维护团队报告。由社区维护者行使处置权...🧰 Tools
🪛 LanguageTool
[uncategorized] ~47-~47: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:公平"地"审查
Context: ...ivorysql.org向负责监督的社区维护团队报告。所有投诉都将得到及时和公平的审查和调查。所有社区维护者都有义务尊重任何事件报告者的隐私和安全。 由社区负责人...(wb4)
🪛 markdownlint-cli2 (0.17.2)
47-47: Bare URL used
null(MD034, no-bare-urls)
84-92: Approve “致谢” and hyperlink bare URLs.
- The section heading “## 致谢” correctly aligns with the English file and resolves the previous “免责声明” issue.
- Convert the raw URL for the full Contributor Covenant into a hyperlink with anchor text.
Example diff:
- 本行为准则改编自[贡献者公约](https://www.contributor-covenant.org), v2.0全文[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html]。 + 本行为准则改编自[贡献者公约](https://www.contributor-covenant.org),[v2.0 全文](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html)。🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
91-91: Bare URL used
null(MD034, no-bare-urls)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
CODE_OF_CONDUCT_CN.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
CODE_OF_CONDUCT_CN.md
[uncategorized] ~23-~23: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"骚扰
Context: ...与性相关的语言或图像、性骚扰 - 恶意挑衅、侮辱性言论或人身攻击 - 公开或私下的骚扰行为 - 未经明确允许,公开他人隐私信息(如地址、联系方式) - 其他可被认...
(wb4)
[uncategorized] ~47-~47: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:公平"地"审查
Context: ...ivorysql.org向负责监督的社区维护团队报告。所有投诉都将得到及时和公平的审查和调查。所有社区维护者都有义务尊重任何事件报告者的隐私和安全。 由社区负责人...
(wb4)
[uncategorized] ~77-~77: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:私下"地"互动
Context: ...参与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行任何公开或私下的互动,包括主动与执行行为准则的人员进行交流。违反这些条款可能会导致永久封禁。 ...
(wb4)
🪛 markdownlint-cli2 (0.17.2)
CODE_OF_CONDUCT_CN.md
47-47: Bare URL used
null
(MD034, no-bare-urls)
91-91: Bare URL used
null
(MD034, no-bare-urls)
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: oracle_regression (ubuntu-latest)
- GitHub Check: oracle_pg_regression (ubuntu-latest)
- GitHub Check: meson_build (ubuntu-latest)
- GitHub Check: build (ubuntu-latest)
- GitHub Check: contrib_regression
- GitHub Check: pg_regression (ubuntu-latest)
🔇 Additional comments (1)
CODE_OF_CONDUCT_CN.md (1)
1-6: Approve translation of title and contributor commitment.
The file title and “贡献者承诺” section accurately reflect the English original and read naturally in Chinese.
Summary by CodeRabbit