summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorit33 <iantien@gmail.com>2015-10-26 07:09:19 -0700
committerit33 <iantien@gmail.com>2015-10-26 07:09:19 -0700
commit792f7d97ad282fe183ebd04b6713b5f3a6e2003b (patch)
tree2cfd7eeeae36d636c23043a7c8cad298502ec7f2 /CONTRIBUTING.md
parentb46c01b2903d49903cfcf6588097cb72d599b391 (diff)
downloadchat-792f7d97ad282fe183ebd04b6713b5f3a6e2003b.tar.gz
chat-792f7d97ad282fe183ebd04b6713b5f3a6e2003b.tar.bz2
chat-792f7d97ad282fe183ebd04b6713b5f3a6e2003b.zip
Update CONTRIBUTING.md
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md52
1 files changed, 49 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8ffce2a9e..7f321a87a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,5 +1,51 @@
-# Contributing
+# Code Contribution Guidelines
+
+Thank you for your interest in contributing to Mattermost. This guide provides an overview of important information for contributors to know.
+
+## Choose a Ticket
+
+1. Review the list of [Good First Contribution](https://mattermost.atlassian.net/issues/?filter=10206) tickets listed in Jira.
+2. These projects are intended to be a straight forward first pull requests from new contributors.
+ - If you don't find something appropriate for your interests, please see the full list of tickets [Accepting Pull Requests](https://mattermost.atlassian.net/issues/?filter=10101).
+ - Also, feel free to fix bugs you find, or items in GitHub issues that the core team has approved, but not yet added to Jira.
+
+3. If you have any questions at all about a ticket, there are several options to ask:
+ 1. Start a topic in the [Mattermost forum](http://forum.mattermost.org/)
+ 2. Join the [Mattermost core team discussion](https://pre-release.mattermost.com/signup_user_complete/?id=rcgiyftm7jyrxnma1osd8zswby) and post in the "Tickets" channel
+
+## Install Mattermost and set up a Fork
+
+1. Follow [developer setup instructions](https://github.com/mattermost/platform/blob/master/doc/developer/Setup.md) to install Mattermost.
+
+2. Create a branch with <branch name> set to the ID of the ticket you're working on, for example ```PLT-394```, using command:
+
+```
+git checkout -b <branch name>
+```
+
+## Programming and Testing
+
+1. Please review the [Mattermost Style Guide](Style-Guide.md) prior to making changes.
+
+ To keep code clean and well structured, Mattermost uses ESLint to check that pull requests adhere to style guidelines for React. Code will need to follow Mattermost's React style guidelines in order to pass the automated build tests when a pull request is submitted.
+
+2. Please make sure to thoroughly test your change before submitting a pull request.
+
+ Please review the ["Fast, Obvious, Forgiving" experience design principles](http://www.mattermost.org/design-principles/) for Mattermost and check that your feature meets the criteria. Also, for any changes to user interface or help text, please read the changes out loud, as a quick and easy way to catch any inconsitencies.
+
+
+## Submitting a Pull Request
+
+1. Please add yourself to the Mattermost [approved contributor list](https://docs.google.com/spreadsheets/d/1NTCeG-iL_VS9bFqtmHSfwETo5f-8MQ7oMDE5IUYJi_Y/pubhtml?gid=0&single=true) prior to submitting by completing the [contributor license agreement](http://www.mattermost.org/mattermost-contributor-agreement/).
+
+2. When you submit your pull request please make it against `master` and include the Ticket ID at the beginning of your pull request comment, followed by a colon.
+
+ - For example, for a ticket ID `PLT-394` start your comment with: `PLT-394:`. See [previously closed pull requests](https://github.com/mattermost/platform/pulls?q=is%3Apr+is%3Aclosed) for examples.
+
+3. Once submitted, your pull request will be checked via an automated build process and will be reviewed by at least two members of the Mattermost core team, who may either accept the PR or follow-up with feedback. It would then get merged into `master` for the next release.
+
+4. If you've included your mailing address in Step 1, you'll be receiving a [Limited Edition Mattermost Mug](http://forum.mattermost.org/t/limited-edition-mattermost-mugs/143) as a thank you gift after your first pull request has been accepted.
+
+
-## Contributing Code
-Please see [Mattermost Code Contribution Guidelines](https://github.com/mattermost/platform/blob/master/doc/developer/Code-Contribution-Guidelines.md)