mirror of
https://github.com/hmjz100/LinkSwift.git
synced 2026-09-20 10:53:34 +08:00
新增:贡献指南等
This commit is contained in:
80
.github/CODE_OF_CONDUCT.md
vendored
Normal file
80
.github/CODE_OF_CONDUCT.md
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
# 贡献者公约 & 行为准则
|
||||
|
||||
## 我们的承诺
|
||||
|
||||
我们作为成员、贡献者和领导者承诺,让社区参与者免遭骚扰,无论其年龄、体型、可见或不可见的残疾、族裔、性征、性别认同和表达、经验水平、教育程度、社会地位、国籍、外貌、种族、宗教或性取向如何。
|
||||
|
||||
我们承诺以有助于建立开放、友善、多元、包容、健康社区的方式行事和互动。
|
||||
|
||||
## 我们的标准
|
||||
|
||||
有助于为我们的社区创造积极环境的行为包括:
|
||||
|
||||
* 对他人的同理心和善意
|
||||
* 尊重不同的意见、观点和经验
|
||||
* 给予并优雅地接受建设性反馈
|
||||
* 承担责任并向受我们错误影响的人道歉,并从经验中学习
|
||||
* 关注不仅对个人最有利,而且对整个社区最有利的事情
|
||||
|
||||
不可接受的行为包括:
|
||||
|
||||
* 使用性化的语言或图像,以及任何形式的性关注或接近
|
||||
* 挑衅、侮辱或贬损的评论,以及个人或政治攻击
|
||||
* 公开或私下的骚扰
|
||||
* 未经他人明确许可,发布他人的私人信息,例如物理地址或电子邮件地址
|
||||
* 在专业场合下可能被合理视为不适当的其他行为
|
||||
|
||||
## 执行责任
|
||||
|
||||
社区领导者有责任澄清和执行我们的可接受行为标准,并将对任何他们认为不当、威胁、冒犯或有害的行为采取适当和公平的纠正措施。
|
||||
|
||||
社区领导者有权和责任删除、编辑或拒绝不符合本行为准则的评论、提交、代码、Wiki 编辑、问题和其他贡献,并将在适当时沟通管理决策的理由。
|
||||
|
||||
## 适用范围
|
||||
|
||||
本行为准则适用于所有社区空间,并且当个人在公共空间中正式代表社区时也同样适用。代表社区的示例包括使用官方电子邮件地址、通过官方社交媒体帐户发帖、或在在线或线下活动中担任指定代表。
|
||||
|
||||
## 执行
|
||||
|
||||
对于虐待、骚扰或其他不可接受行为的实例,可向负责执行的社区领导者报告。
|
||||
所有投诉都将得到及时和公平的审查和调查。
|
||||
|
||||
所有社区领导者都有义务尊重任何事件报告者的隐私和安全。
|
||||
|
||||
## 执行指南
|
||||
|
||||
社区领导者将遵循以下社区影响指南来确定他们视为违反本行为准则的行为的后果:
|
||||
|
||||
### 1. 纠正
|
||||
|
||||
**社区影响**:使用不恰当的语言或其他在社区中被认为不专业或不受欢迎的行为。
|
||||
|
||||
**后果**:社区领导者的私下书面警告,明确说明违规行为的性质并解释行为为何不当。可能会要求公开道歉。
|
||||
|
||||
### 2. 警告
|
||||
|
||||
**社区影响**:通过单次事件或一系列行为违反。
|
||||
|
||||
**后果**:带有持续行为后果的警告。在规定时间内,禁止与相关人员进行互动,包括与执行行为准则的人员未经请求的互动。这包括避免在社区空间以及社交媒体等外部渠道中的互动。违反这些条款可能会导致临时或永久封禁。
|
||||
|
||||
### 3. 临时封禁
|
||||
|
||||
**社区影响**:严重违反社区标准,包括持续的不当行为。
|
||||
|
||||
**后果**:在规定时间内,禁止与社区进行任何形式的互动或公开交流。在此期间,不允许与相关人员进行公开或私下互动,包括与执行行为准则的人员未经请求的互动。违反这些条款可能会导致永久封禁。
|
||||
|
||||
### 4. 永久封禁
|
||||
|
||||
**社区影响**:表现出违反社区标准的模式,包括持续的不当行为、骚扰个人、或对个体或群体进行攻击或贬损。
|
||||
|
||||
**后果**:永久禁止在社区内进行任何形式的公共互动。
|
||||
|
||||
## 来源
|
||||
|
||||
本行为准则改编自 [贡献者公约][homepage] 2.0 版,可在 https://www.contributor-covenant.org/version/2/0/code_of_conduct.html 获取。
|
||||
|
||||
社区影响指南受 [Mozilla 行为准则执行阶梯](https://github.com/mozilla/diversity) 的启发。
|
||||
|
||||
[主页]: https://www.contributor-covenant.org
|
||||
|
||||
关于本行为准则的常见问题解答,请参阅 https://www.contributor-covenant.org/faq。其他语言的翻译可在 https://www.contributor-covenant.org/translations 获取。
|
||||
127
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
127
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
name: 错误报告
|
||||
description: 反馈发现的 Bug、问题……
|
||||
title: "[错误报告]: 请修改标题为您遇到的问题"
|
||||
labels: ["bug/漏洞"]
|
||||
type: bug
|
||||
assignees:
|
||||
- hmjz100
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
感谢您花时间填写此错误报告。
|
||||
请**务必**确认您的问题无重复,且不是因为您的操作、网络或运行脚本的程序问题。
|
||||
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: 确认
|
||||
description: 您必须确认、同意并勾选以下事项。
|
||||
options:
|
||||
- label: |
|
||||
我已确认阅读并同意 [AGPL-3.0 第 15 条](https://www.gnu.org/licenses/agpl-3.0.txt#:~:text=15.%20Disclaimer%20of%20Warranty.) 。
|
||||
本项目不提供任何明示或暗示的担保,使用风险由您自行承担。
|
||||
required: true
|
||||
- label: |
|
||||
我已确认阅读并同意 [AGPL-3.0 第 16 条](https://www.gnu.org/licenses/agpl-3.0.txt#:~:text=16.%20Limitation%20of%20Liability.) 。
|
||||
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。
|
||||
required: true
|
||||
- label: 我已确认是此脚本的问题,而不是其他原因(例如网络、脚本依赖或操作)。
|
||||
required: true
|
||||
- label: 我已查找过其他议题,确认没有重复的疑问或讨论。
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: os-version
|
||||
attributes:
|
||||
label: 操作系统
|
||||
description: 运行浏览器程序使用的操作系统
|
||||
options:
|
||||
- Windows 11
|
||||
- Windows 10
|
||||
- Windows 8
|
||||
- Windows 7
|
||||
- Windows XP
|
||||
- iOS
|
||||
- Mac (x86)
|
||||
- Mac (arm)
|
||||
- Android
|
||||
- Linux
|
||||
- 其他
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: userscript-manager-version
|
||||
attributes:
|
||||
label: 浏览器及版本
|
||||
description: 使用的是什么浏览器?版本?架构?Chromium 内核版本(如有)
|
||||
placeholder: Edge 143.0.3650.96 (正式版) (64 位) ,Chromium 143.0.7499.147
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: userscript-manager
|
||||
attributes:
|
||||
label: 用户脚本管理器
|
||||
description: 使用的用户脚本管理器是?
|
||||
options:
|
||||
- 篡改猴 / Tampermonkey
|
||||
- 篡改猴测试版 / Tampermonkey Beta
|
||||
- 篡改猴 (MV2 经典版) / Tampermonkey Legacy
|
||||
- 暴力猴 / Violentmonkey
|
||||
- 脚本猫 / ScriptCat
|
||||
- 脚本猫 Beta / ScriptCat Beta
|
||||
- Via
|
||||
- 其他(请在下方输入)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: userscript-manager-other
|
||||
attributes:
|
||||
label: 用户脚本管理器(其他)
|
||||
description: 如果在上方选择了 “其他”,请在这里填写,输入你使用的用户脚本管理器名称
|
||||
|
||||
- type: input
|
||||
id: userscript-manager-version
|
||||
attributes:
|
||||
label: 用户脚本管理器版本
|
||||
description: 使用的用户脚本管理器版本?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: userscript-version
|
||||
attributes:
|
||||
label: 脚本版本
|
||||
description: 非必须,用户脚本的版本
|
||||
placeholder: 使用的 LinkSwift 的版本是?
|
||||
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 问题详情
|
||||
description: 简洁清晰的问题描述
|
||||
placeholder: 发生了什么?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reproduce-steps
|
||||
attributes:
|
||||
label: 复现步骤
|
||||
description: 非必须,如何复现此问题的步骤
|
||||
placeholder: |
|
||||
1. [第一步]
|
||||
2. [第二步]
|
||||
3. [...]
|
||||
|
||||
- type: textarea
|
||||
id: proof-items
|
||||
attributes:
|
||||
label: 参考数据
|
||||
description: 非必须,帮助诊断的截图或者其他资料
|
||||
placeholder: |
|
||||
日志、网页截图、F12 控制台截图或 DevTools 快照
|
||||
**截图可以直接 Ctrl-V 粘贴哦~**
|
||||
32
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
32
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: 功能请求
|
||||
description: 请求新功能
|
||||
title: "[功能请求]: "
|
||||
labels: ["enhancement/新功能"]
|
||||
type: feature
|
||||
assignees:
|
||||
- hmjz100
|
||||
body:
|
||||
- type: textarea
|
||||
id: issue-today
|
||||
attributes:
|
||||
label: 存在问题
|
||||
description: 目前存在什么问题
|
||||
placeholder: 脚本目前不能……
|
||||
|
||||
- type: textarea
|
||||
id: target-tomorrow
|
||||
attributes:
|
||||
label: 目标愿景
|
||||
description: 希望实现的目标
|
||||
placeholder: 希望能……
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: advice-if
|
||||
attributes:
|
||||
label: 参考建议
|
||||
description: 可供参考的建议、思路或者示例
|
||||
placeholder: |
|
||||
有什么实现思路,或者参考的样例?
|
||||
**截图可以直接 Ctrl-V 粘贴哦~**
|
||||
7
.github/contributing.md
vendored
Normal file
7
.github/contributing.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# 代码贡献指南
|
||||
|
||||
待编,但是感谢你决定来这看看~
|
||||
|
||||
---
|
||||
|
||||
silence is golden.
|
||||
Reference in New Issue
Block a user