Skip to content

Commit

Permalink
add CONTRIBUTING and CODE_OF_CONDUCT
Browse files Browse the repository at this point in the history
  • Loading branch information
haifengl committed Mar 19, 2018
1 parent 578d22b commit eb3ce42
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CODE_OF_CONDUCT.md
@@ -0,0 +1,9 @@
# Code of Conduct

One of Smile's strengths is our community. To push Smile to amazing new levels,
we rely on an open, friendly, inclusive environment to facilitate this.
As such, we follow the [Contributor Covenant](http://contributor-covenant.org/)'s
[Code of Conduct](http://contributor-covenant.org/version/1/4/code-of-conduct.md)
to ensure a harassment-free experience in the Smile community.

This applies to the main Smile repo, forum, twitter, and all channels.
80 changes: 80 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,80 @@
# How to contribute to Smile
Welcome! If you are interested in contributing to Smile, reporting issues,
or just getting in touch with the folks who work on Smile, this guide is
for you.

One of the easiest ways to contribute is to participate in discussions
and discuss issues. You can also contribute by opening an issue and
submitting a pull request with code changes.

## Open an issue
For bugs, issues, or other discussion, please log a new issue in the GitHub repo.

GitHub supports [markdown](https://help.github.com/categories/writing-on-github/),
so when filing bugs make sure you check the formatting before clicking submit.

## Other discussions
For general "how-to" and guidance questions about using Smile to build
and run applications, please use [Stack Overflow](http://stackoverflow.com/questions/tagged/smile-ai)
tagged with `smile-ai`.

## Contributing code and content
We welcome all forms of contributions from the community. Please read the
following guidelines to maximize the chances of your PR being merged.

### Communication
- Before starting work on a feature, please open an issue on GitHub
describing the proposed feature. We want to make sure any feature
work goes smoothly. We're happy to work with you to determine if
it fits the current project direction and make sure no one else
is already working on it.

- For any work related to setting up build, test, and CI for Smile
on GitHub, or for small patches or bug fixes, please open an issue
for tracking purposes, but we generally don't need a discussion
prior to opening a PR.

### Development process
Please be sure to follow the usual process for submitting PRs:

- Fork the repo
- Create a pull request
- Make sure your PR title is descriptive
- Include a link back to an open issue in the PR description

We reserve the right to close PRs that are not making progress. Closed PRs can be reopened again later and work can resume.

### Contributor License Agreement
By contributing your code to Smile you grant us a non-exclusive,
irrevocable, worldwide, royalty-free, sublicenseable, transferable
license under all of Your relevant intellectual property rights
(including copyright, patent, and any other rights), to use, copy,
prepare derivative works of, distribute and publicly perform and
display the Contributions on any licensing terms, including without limitation:
(a) open source licenses like the Apache license; and (b) binary,
proprietary, or commercial licenses. Except for the licenses granted herein,
You reserve all right, title, and interest in and to the Contribution.

You confirm that you are able to grant us these rights. You represent
that You are legally entitled to grant the above license. If Your employer
has rights to intellectual property that You create, You represent that
You have received permission to make the Contributions on behalf of that
employer, or that Your employer has waived such rights for the Contributions.

You represent that the Contributions are Your original works of
authorship, and to Your knowledge, no other person claims, or
has the right to claim, any right in any invention or patent
related to the Contributions. You also represent that You are
not legally obligated, whether by entering into an agreement
or otherwise, in any way that conflicts with the terms of this license.

We acknowledge that, except as explicitly described in this
Agreement, any Contribution which you provide is on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

## Code of Conduct
To ensure an inclusive community, contributors and users in the Smile
community should follow the [code of conduct](./CODE_OF_CONDUCT.md).

0 comments on commit eb3ce42

Please sign in to comment.