Skip to content

Commit 9166653

Browse files
tomerdktoso
andauthored
update code of conduct (#190)
motivation: align with swift project coc update changes: update coc to the version used by the swift project (contributor-covenant.org 1.4) Update 0226-package-manager-target-based-dep-resolution.md Co-authored-by: Konrad `ktoso` Malawski <[email protected]>
1 parent 607369b commit 9166653

File tree

2 files changed

+36
-53
lines changed

2 files changed

+36
-53
lines changed

CODE_OF_CONDUCT.md

+35-52
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,38 @@
11
# Code of Conduct
2-
To be a truly great community, SwiftAWSLambdaRuntime needs to welcome developers from all walks of life,
3-
with different backgrounds, and with a wide range of experience. A diverse and friendly
4-
community will have more great ideas, more unique perspectives, and produce more great
5-
code. We will work diligently to make the SwiftAWSLambdaRuntime community welcoming to everyone.
6-
7-
To give clarity of what is expected of our members, SwiftAWSLambdaRuntime has adopted the code of conduct
8-
defined by [contributor-covenant.org](https://www.contributor-covenant.org). This document is used across many open source
9-
communities, and we think it articulates our values well. The full text is copied below:
10-
11-
### Contributor Code of Conduct v1.3
12-
As contributors and maintainers of this project, and in the interest of fostering an open and
13-
welcoming community, we pledge to respect all people who contribute through reporting
14-
issues, posting feature requests, updating documentation, submitting pull requests or patches,
15-
and other activities.
16-
17-
We are committed to making participation in this project a harassment-free experience for
18-
everyone, regardless of level of experience, gender, gender identity and expression, sexual
19-
orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or
20-
nationality.
2+
3+
To be a truly great community, the SwiftAWSLambdaRuntime project needs to welcome developers from all walks of life, with different backgrounds, and with a wide range of experience. A diverse and friendly community will have more great ideas, more unique perspectives, and produce more great code. We will work diligently to make the SwiftAWSLambdaRuntime community welcoming to everyone.
4+
5+
To give clarity of what is expected of our members, this code of conduct is based on [contributor-covenant.org](http://contributor-covenant.org). This document is used across many open source communities, and we think it articulates our values well.
6+
7+
### Contributor Code of Conduct v1.4
8+
9+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
10+
11+
Examples of behavior that contributes to creating a positive environment include:
12+
13+
* Using welcoming and inclusive language (e.g., prefer non-gendered words like “folks” to “guys”, non-ableist words like “soundness check” to “sanity check”, etc.)
14+
* Being respectful of differing viewpoints and experiences
15+
* Gracefully accepting constructive criticism
16+
* Focusing on what is best for the community
17+
* Showing empathy towards other community members
2118

2219
Examples of unacceptable behavior by participants include:
23-
- The use of sexualized language or imagery
24-
- Personal attacks
25-
- Trolling or insulting/derogatory comments
26-
- Public or private harassment
27-
- Publishing other’s private information, such as physical or electronic addresses, without explicit permission
28-
- Other unethical or unprofessional conduct
29-
30-
Project maintainers have the right and responsibility to remove, edit, or reject comments,
31-
commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of
32-
Conduct, or to ban temporarily or permanently any contributor for other behaviors that they
33-
deem inappropriate, threatening, offensive, or harmful.
34-
35-
By adopting this Code of Conduct, project maintainers commit themselves to fairly and
36-
consistently applying these principles to every aspect of managing this project. Project
37-
maintainers who do not follow or enforce the Code of Conduct may be permanently removed
38-
from the project team.
39-
40-
This code of conduct applies both within project spaces and in public spaces when an
41-
individual is representing the project or its community.
42-
43-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
44-
contacting a project maintainer at [[email protected]](mailto:[email protected]). All complaints will be reviewed and
45-
investigated and will result in a response that is deemed necessary and appropriate to the
46-
circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter
47-
of an incident.
48-
49-
*This policy is adapted from the Contributor Code of Conduct [version 1.3.0](https://contributor-covenant.org/version/1/3/0/).*
50-
51-
### Reporting
52-
A working group of community members is committed to promptly addressing any [reported issues](mailto:[email protected]).
53-
Working group members are volunteers appointed by the project lead, with a
54-
preference for individuals with varied backgrounds and perspectives. Membership is expected
55-
to change regularly, and may grow or shrink.
20+
21+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
22+
* Trolling, insulting/derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others’ private information, such as a physical or electronic address, without explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
This Code of Conduct applies within all project spaces managed by the SwiftAWSLambdaRuntime project, including (but not limited to) source code repositories, bug trackers, web sites, documentation, and online forums. It also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
32+
33+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer at [[email protected]](mailto:[email protected]) or by flagging the behavior for moderation (e.g., in the Forums), whether you are the target of that behavior or not. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident. The site of the disputed behavior is usually not an acceptable place to discuss moderation decisions, and moderators may move or remove any such discussion.
34+
35+
Project maintainers are held to a higher standard, and project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
36+
If you disagree with a moderation action, you can appeal to the Core Team (or individual Core Team members) privately.
37+
38+
This policy is adapted from the Contributor Code of Conduct [version 1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct/).

scripts/soundness.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ unacceptable_terms=(
3131
-e slav[e]
3232
-e sanit[y]
3333
)
34-
if git grep --color=never -i "${unacceptable_terms[@]}" > /dev/null; then
34+
if git grep --color=never -i "${unacceptable_terms[@]}" -- . ":(exclude)CODE_OF_CONDUCT.md" > /dev/null; then
3535
printf "\033[0;31mUnacceptable language found.\033[0m\n"
3636
git grep -i "${unacceptable_terms[@]}"
3737
exit 1

0 commit comments

Comments
 (0)