Add a CODE_OF_CONDUCT.md (#3212)

* Add a CODE_OF_CONDUCT.md
* Add links to the CODE_OF_CONDUCT.md
Also, remove some newlines/line endings.
* Replace broken waffle.io link
* Add Christoph/Dominik to Deciders role
* Add Jared Quick to Advocates
Adding his keybase since he doesn't have Twitter.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
Jerry Aldrich 2018-07-17 07:11:58 -07:00 committed by Jared Quick
parent 8f096ec667
commit 82f2340fb0
5 changed files with 144 additions and 7 deletions

134
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,134 @@
# Contributor Covenant Code of Conduct
## Our Pledge
Diversity is one of the greatest strengths a community can have and many times that strength is born from the friction that can only come through sharing of differing perspectives.
In the interest of fostering an open, welcoming, and encouraging environment, we as contributors, maintainers, and community members pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
The InSpec community contains a diverse group of professionals and volunteers who come from all over the world to make InSpec better. Community members may fulfill many roles including mentoring, teaching, and connecting with other members of the community.
Be careful in the words that you choose. Be kind to others. Practice empathy. Don't insult or put down others. Remember that sexist, racist, ableist and other exclusionary jokes can be offensive to those around you. If you think your conversation is making another community member uncomfortable _or_ if they tell you so, stop immediately, make amends, and move forward.
As you are working with other members of the community, please keep in mind the following guidelines, which apply equally to founders, mentors, those whom submit new features/pull requests, and to anyone who is seeking help and guidance.
The following list isnt exhaustive; but these few examples can help all of us communicate well so that the community can work better together:
* Use welcoming and inclusive language
* Exercise patience and friendliness
* Be respectful of differing viewpoints and experiences
* Gracefully accept constructive criticism
* Focus on what is best for the community
* Show empathy towards other community members
The previous list applies to all forms of communication: Slack (or any web chat), discourse, the issue tracker, and any other forum that is used by the community.
Please keep in mind that:
* Your work will be used by other people, and you, in turn, will depend on the work of others
* Decisions that you make will often affect others in the community
* Disagreements happen, but should not be an excuse for poor behavior and bad manners. When disagreements do happen, lets work together to solve them effectively and in a way that ensures that everyone understands what the disagreements were
* Our community spans languages, cultures, perspectives (and continents!), and as such people may not understand jokes, sarcasm, and oblique references in the same way that you do. So remember that and be kind to the other members of the community
* Sexist, racist, ableist and other prejudicial or exclusionary comments are not welcome in the community
## Unacceptable Behavior
Harassment comes in many forms, including but not limited to: offensive verbal or written comments related to gender, sexual orientation, disability, physical appearance, body size, race, religion, and sexual images.
As a community that meets in physical public spaces, harassment also includes: stalking, persistent following, intrusive or otherwise unwanted photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention.
Examples of other unacceptable behaviors by participants include but are not limited to:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Threats or violent language directed against another person
* Posting sexually explicit or violent material
* Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language
* Trolling, insulting/derogatory comments, and personal or political attacks particularly those related to gender, sexual orientation, race, religion or disability
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission ("doxing")
* Other conduct which could reasonably be considered inappropriate in a professional setting
If you have any lack of clarity about behaviors we include in the definition of "harassment", please read the [Citizen Code of Conduct](http://citizencodeofconduct.org/). In particular, we dont tolerate behavior that excludes people in socially marginalized groups.
## Enforcement/Getting Help
Instances of abusive, harassing, or otherwise unacceptable behavior should be reported by contacting any of the Community Advocates directly. Each person's contact information and role is listed below. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Community Organizers 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.
## Roles
The following are the various roles of our <b>Community Organizers</b> and the person(s) assigned to each role:
* The <b>Deciders</b> have final say on community guidelines and final authority on correct actions and appeals. The top-level deciders are [Christoph Hartmann](mailto:chartmann@chef.io) ([@chri_hartmann](https://twitter.com/chri_harmann)) and [Dominik Richter](mailto:drichter@chef.io) ([@arlimus](https://twitter.com/arlimus)).
* The <b>Community Advocates</b> may be assigned for each area where the community convenes online (IRC, email list, GitHub, etc.). Community Advocates are volunteers who have the best interests of our community in mind. They act in good faith to help enforce our community guidelines and respond to incidents when they occur. Our Community Advocates are:
- [Jerry Aldrich](mailto:jerry@chef.io) ([@jerryaldrichiii](https://twitter.com/jerryaldrichiii))
- [Miah Johnson](mailto:miah@chef.io) ([@miah\_](https://twitter.com/miah_))
- [Jared Quick](mailto:jquick@chef.io) ([@jquick](https://keybase.io/jquick))
- [Clinton Wolfe](mailto:cwolfe@chef.io) ([@clintoncwolfe](https://twitter.com/clintoncwolfe))
* The <b>Project Maintainers</b> are likewise expected to conduct their behavior in line with the Code of Conduct and are individually responsible for both escalating to a <b>Community Advocate</b> in case of witnessing an incident and helping to foster the community and it's members
* A <b>Community Member</b> is anyone who participates with the community whether in-person or via online channels. Community members are responsible for following the community guidelines, suggesting updates to the guidelines when warranted, and helping enforce community guidelines
## Consequences of Unacceptable Behavior
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will *not* be tolerated.
Anyone asked to stop unacceptable behavior is expected to comply immediately.
If a community member engages in unacceptable behavior, the community organizers may take action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community _without warning_ (and without refund in the case of a paid event). If you have been involved in unacceptable behavior with current InSpec community members outside the boundaries of the InSpec Community, the Community Organizers retain the right to treat those external incidents in the same manner as internal incidents.
Any physical violence _or_ intimidation, threatened or acted on, is a serious offense and will result in immediate exclusion from the community and appropriate follow up with law enforcement (no, we're not kidding).
## Procedure for Handling Disagreements and Incidents
Disagreements are inherent to a group of impassioned people. When they occur, we seek to resolve disagreements and differing views constructively and with the help of the community and community processes. When disagreements escalate, we ask our community advocates to step in to moderate, mediate, and help resolve tense situations.
The InSpec Community Advocates are well informed on how to deal with incidents. Report the incident (preferably in writing) to one of the community advocates listed above. See the [Roles](#roles) section for details on each role.
### Handling Incidents
When a Community Organizer or Project Maintainer notices someone behaving in a way that is outside of our guidelines (a violator) the Advocate should make every reasonable attempt to help curtail that behavior. The Advocate may:
* Remind the violator about our Community Code of Conduct and provide a link to this document
* Ask the violator to stop the unacceptable behavior
* Raise the issue with a maintainer, the community manager, or any member of the core project team
* Allow time for the violator to correct the behavior
The Advocate should take the following steps if the behavior is not brought inline with our guidelines or the incident is not resolved:
* Consult with another Community Organizer to make a judgement call about what reasonable corrective actions are warranted
* In the case that no conclusion can be made, escalate to include the next level of Community Organizers
* If still no conclusion can be made, report the incident to the <b>Deciders</b> listed above
* Apply the corrective action
* Document the incident as described below
#### Documenting Incidents
All incident reports will be kept in a private repository that is shared with the aforementioned Community Advocates and Deciders under the [Roles]((#roles) section. No other individuals or project contributors will be given access to these incident reports. <b>This repo will hold no personal information on the victim of an incident</b>. On the displacement of any Community Organizer in the [Roles](#roles) list above, that individual will immediately lose access to this repository and will terminate any local copies of the repository.
The important information to report consists of:
* Identifying information (name, email address, Slack nick, etc.) of the person doing the harassing
* The behavior that was in violation
* The approximate time of the behavior
* The circumstances surrounding the incident
* Where applicable, contextual information/proof (email body, chat log, GitHub Issue)
* Contact information for witnesses to the incident
If you feel your safety is in jeopardy please do not hesitate to contact local law enforcement.
**Note**: Incidents that violate the Community Code of Conduct are extremely damaging to the community. The silver lining is that, in many cases, these incidents present a chance for the community as a whole to grow, learn, and become better.
## Our Responsibilities
Community Organizers 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.
Community Organizers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, messages, tweets, and other contributions that are not aligned with this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
Our community will convene in both physical and virtual spaces and this Code of Conduct applies within project spaces and in public spaces when an individual is representing the project or its community. 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. Representation of a project may be further defined and clarified by project maintainers and community organizers.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/) and leans on, the [Rust Code of Conduct](https://www.rust-lang.org/en-US/conduct.html), the [Habitat Code of Conduct](https://github.com/habitat-sh/habitat/blob/master/CODE_OF_CONDUCT.md), and the [Citizen Code of Conduct](http://citizencodeofconduct.org/).
This document has also been inspired and adapted from the [Chef Community Guidelines](https://github.com/chef/chef-rfc/blob/master/rfc020-community-guidelines.md).

View file

@ -2,6 +2,8 @@
We are glad you want to contribute to InSpec! This document will help answer common questions you may have during your first contribution.
As a reminder, all participants are expected to follow the [Code of Conduct](https://github.com/inspec/inspec/blob/master/CODE_OF_CONDUCT.md).
## Submitting Issues
We utilize **Github Issues** for issue tracking and contributions. You can contribute in two ways:
@ -44,7 +46,6 @@ Once you open a pull request, project maintainers will review your code and resp
If you would like to learn about when your code will be available in a release of Chef, read more about [Chef Release Cycles](#release-cycles).
### Developer Certification of Origin (DCO)
Licensing is very important to open source projects. It helps ensure the software continues to be available under the terms that the author desired.
@ -68,7 +69,7 @@ By making a contribution to this project, I certify that:
(b) The contribution is based upon previous work that, to the
best of my knowledge, is covered under an appropriate open
source license and I have the right under that license to
source license and I have the right under that license to
submit that work with modifications, whether created in whole
or in part by me, under the same open source license (unless
I am permitted to submit under a different license), as

View file

@ -2,7 +2,7 @@
**Choose one:** is this a 🐛 bug report or 🙋 feature request?
Briefly describe the issue and the expected behavior
Briefly describe the issue and the expected behavior. Also, please be aware of our [Code of Conduct](https://github.com/inspec/inspec/blob/master/CODE_OF_CONDUCT.md).
### 🌍 InSpec and Platform Version

View file

@ -352,11 +352,13 @@ The AWS resources were inspired by [inspec-aws](https://github.com/arothian/insp
1. Push to the branch (git push origin my-new-feature)
1. Create new Pull Request
The InSpec community and maintainers are very active and helpful. This project benefits greatly from this activity.
[![InSpec health](https://graphs.waffle.io/chef/inspec/throughput.svg)](https://waffle.io/chef/inspec/metrics/throughput)
If you'd like to chat with the community and maintainers directly join us in the `#inspec` channel on the [Chef Community Slack](http://community-slack.chef.io/).
As a reminder, all participants are expected to follow the [Code of Conduct](https://github.com/inspec/inspec/blob/master/CODE_OF_CONDUCT.md).
[![Slack](https://community-slack.chef.io/badge.svg)](https://community-slack.chef.io/)
## Testing InSpec
@ -450,5 +452,5 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

0
bin/inspec Executable file → Normal file
View file