Skip to content

Commit

Permalink
Merge pull request #49 from php-http/contributing
Browse files Browse the repository at this point in the history
Add contributing guide
  • Loading branch information
sagikazarmark committed Dec 29, 2015
2 parents 5c0b607 + 3eb9af0 commit 85f0d1d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 27 deletions.
22 changes: 0 additions & 22 deletions CONDUCT.md

This file was deleted.

1 change: 1 addition & 0 deletions CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
http://docs.httplug.io/contributing
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Browse the documentation on [Read the Docs](http://php-http.readthedocs.org/).

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.
Please see our [contributing guide](http://docs.httplug.io/en/latest/contributing).


## Security
Expand Down
58 changes: 54 additions & 4 deletions CONTRIBUTING.md → docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ git rebase -i HEAD~3
If your branch conflicts with the master branch, you will need to rebase and repush it with the following commands:

``` bash
$ git remote add upstream git@github.com:php-http/repo-name.git
$ git remote add upstream git@github.com:orga/repo-name.git
$ git pull --rebase upstream master
$ git push -f origin feature-or-bug-fix-description
```
Expand All @@ -94,7 +94,57 @@ please let us know why you think it is important.
In this case, your patch can only be included in the next major version.


## Code of Conduct
## Contributor Code of Conduct

This project is released with a [Contributor Code of Conduct](CONDUCT.md).
By participating in this project you agree to abide by its terms.
This project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms:


As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct

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.

By adopting this Code of Conduct, project maintainers commit themselves to
fairly and consistently applying these principles to every aspect of managing
this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting a project maintainer at [team@php-http.org]. 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.


This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.3.0, available at
[http://contributor-covenant.org/version/1/3/0/][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/3/0/

0 comments on commit 85f0d1d

Please sign in to comment.