Skip to content

Commit 930c69a

Browse files
authored
Move code of conduct to root of project
1 parent b499ca7 commit 930c69a

File tree

2 files changed

+76
-78
lines changed

2 files changed

+76
-78
lines changed

CODE_OF_CONDUCT.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Code of Conduct
2+
3+
This project and everyone participating in it is governed by this code.
4+
5+
## Our Pledge
6+
7+
In the interest of fostering an open and welcoming environment, we as
8+
contributors and maintainers pledge to making participation in our project and
9+
our community a harassment-free experience for everyone, regardless of age, body
10+
size, disability, ethnicity, sex characteristics, gender identity and expression,
11+
level of experience, education, socio-economic status, nationality, personal
12+
appearance, race, religion, or sexual identity and orientation.
13+
14+
## Our Standards
15+
16+
Examples of behavior that contributes to creating a positive environment
17+
include:
18+
19+
* Using welcoming and inclusive language
20+
* Being respectful of differing viewpoints and experiences
21+
* Gracefully accepting constructive criticism
22+
* Focusing on what is best for the community
23+
* Showing empathy towards other community members
24+
25+
Examples of unacceptable behavior by participants include:
26+
27+
* The use of sexualized language or imagery and unwelcome sexual attention or
28+
advances
29+
* Trolling, insulting/derogatory comments, and personal or political attacks
30+
* Public or private harassment
31+
* Publishing others' private information, such as a physical or electronic
32+
address, without explicit permission
33+
* Other conduct which could reasonably be considered inappropriate in a
34+
professional setting
35+
36+
## Our Responsibilities
37+
38+
Project maintainers are responsible for clarifying the standards of acceptable
39+
behavior and are expected to take appropriate and fair corrective action in
40+
response to any instances of unacceptable behavior.
41+
42+
Project maintainers have the right and responsibility to remove, edit, or
43+
reject comments, commits, code, wiki edits, issues, and other contributions
44+
that are not aligned to this Code of Conduct, or to ban temporarily or
45+
permanently any contributor for other behaviors that they deem inappropriate,
46+
threatening, offensive, or harmful.
47+
48+
## Scope
49+
50+
This Code of Conduct applies both within project spaces and in public spaces
51+
when an individual is representing the project or its community. Examples of
52+
representing a project or community include using an official project e-mail
53+
address, posting via an official social media account, or acting as an appointed
54+
representative at an online or offline event. Representation of a project may be
55+
further defined and clarified by project maintainers.
56+
57+
## Enforcement
58+
59+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
60+
reported by contacting the project team at [mailto:[email protected]]. All
61+
complaints will be reviewed and investigated and will result in a response that
62+
is deemed necessary and appropriate to the circumstances. The project team is
63+
obligated to maintain confidentiality with regard to the reporter of an incident.
64+
Further details of specific enforcement policies may be posted separately.
65+
66+
Project maintainers who do not follow or enforce the Code of Conduct in good
67+
faith may face temporary or permanent repercussions as determined by other
68+
members of the project's leadership.
69+
70+
## Attribution
71+
72+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
73+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
74+
75+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following is a set of guidelines for contributing to the NGINX Prometheus Ex
1414
* [Git Style Guide](#git-style-guide)
1515
* [Go Style Guide](#go-style-guide)
1616

17-
[Code of Conduct](#code-of-conduct)
17+
[Code of Conduct](https://github.com/nginxinc/nginx-prometheus-exporter/blob/master/CODE_OF_CONDUCT.md)
1818

1919
## Ask a Question
2020

@@ -64,80 +64,3 @@ Note: if you’d like to implement a new feature, please consider creating a fea
6464
* Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running automatically when saving a code file.
6565
* Run `go lint` and `go vet` on your code too to catch any other issues.
6666
* Follow this guide on some good practice and idioms for Go - https://github.com/golang/go/wiki/CodeReviewComments
67-
68-
## Code of Conduct
69-
70-
This project and everyone participating in it is governed by this code.
71-
72-
### Our Pledge
73-
74-
In the interest of fostering an open and welcoming environment, we as
75-
contributors and maintainers pledge to making participation in our project and
76-
our community a harassment-free experience for everyone, regardless of age, body
77-
size, disability, ethnicity, sex characteristics, gender identity and expression,
78-
level of experience, education, socio-economic status, nationality, personal
79-
appearance, race, religion, or sexual identity and orientation.
80-
81-
### Our Standards
82-
83-
Examples of behavior that contributes to creating a positive environment
84-
include:
85-
86-
* Using welcoming and inclusive language
87-
* Being respectful of differing viewpoints and experiences
88-
* Gracefully accepting constructive criticism
89-
* Focusing on what is best for the community
90-
* Showing empathy towards other community members
91-
92-
Examples of unacceptable behavior by participants include:
93-
94-
* The use of sexualized language or imagery and unwelcome sexual attention or
95-
advances
96-
* Trolling, insulting/derogatory comments, and personal or political attacks
97-
* Public or private harassment
98-
* Publishing others' private information, such as a physical or electronic
99-
address, without explicit permission
100-
* Other conduct which could reasonably be considered inappropriate in a
101-
professional setting
102-
103-
### Our Responsibilities
104-
105-
Project maintainers are responsible for clarifying the standards of acceptable
106-
behavior and are expected to take appropriate and fair corrective action in
107-
response to any instances of unacceptable behavior.
108-
109-
Project maintainers have the right and responsibility to remove, edit, or
110-
reject comments, commits, code, wiki edits, issues, and other contributions
111-
that are not aligned to this Code of Conduct, or to ban temporarily or
112-
permanently any contributor for other behaviors that they deem inappropriate,
113-
threatening, offensive, or harmful.
114-
115-
### Scope
116-
117-
This Code of Conduct applies both within project spaces and in public spaces
118-
when an individual is representing the project or its community. Examples of
119-
representing a project or community include using an official project e-mail
120-
address, posting via an official social media account, or acting as an appointed
121-
representative at an online or offline event. Representation of a project may be
122-
further defined and clarified by project maintainers.
123-
124-
### Enforcement
125-
126-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
127-
reported by contacting the project team at [mailto:[email protected]]. All
128-
complaints will be reviewed and investigated and will result in a response that
129-
is deemed necessary and appropriate to the circumstances. The project team is
130-
obligated to maintain confidentiality with regard to the reporter of an incident.
131-
Further details of specific enforcement policies may be posted separately.
132-
133-
Project maintainers who do not follow or enforce the Code of Conduct in good
134-
faith may face temporary or permanent repercussions as determined by other
135-
members of the project's leadership.
136-
137-
### Attribution
138-
139-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
140-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
141-
142-
[homepage]: https://www.contributor-covenant.org
143-

0 commit comments

Comments
 (0)