diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-07-06 08:52:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 08:52:45 +0800 |
commit | 484a1030994618f8635a02df649c4511ac160a48 (patch) | |
tree | 5df9b3156a3258fb9cec5710e1b496625c9985c3 | |
parent | 6595f84d0730d19b296faf93ddddcec52bbe0165 (diff) | |
parent | 29b3da66682e67c8ce7a87c5e6b9b027fe55b6f9 (diff) | |
download | tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar.gz tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar.bz2 tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar.lz tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar.xz tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.tar.zst tangerine-wallet-browser-484a1030994618f8635a02df649c4511ac160a48.zip |
Merge pull request #4738 from MetaMask/bmd/contrib-guidelines
update contributing.md
-rw-r--r-- | CONTRIBUTING.md | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8517eed70..63d19c633 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,31 +2,26 @@ If you're submitting code to MetaMask, there are some simple things we'd appreciate you doing to help us stay organized! -## Submitting pull requests +### Finding the right project Before taking the time to code and implement something, feel free to open an issue and discuss it! There may even be an issue already open, and together we may come up with a specific strategy before you take your precious time to write code. -### Tests +There are also plenty of open issues we'd love help with. Search the [`good first issue`](https://github.com/MetaMask/metamask-extension/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) label, or head to Gitcoin and earn ETH for completing projects we've posted bounties on. -For any new programmatic functionality, we like unit tests when possible, so if you can keep your code cleanly isolated, please do add a test file to the `tests` folder. +If you're picking up a bounty or an existing issue, feel free to ask clarifying questions on the issue as you go about your work. -### PR Format +### Submitting a pull request +When you're done with your project / bugfix / feature and ready to submit a PR, there are a couple guidelines we ask you to follow: -If this PR closes the issue, add the line `Fixes #$ISSUE_NUMBER`. Ex. For closing issue 418, include the line `Fixes #418`. +- [ ] **Test it**: For any new programmatic functionality, we like unit tests when possible, so if you can keep your code cleanly isolated, please do add a test file to the `tests` folder. +- [ ] **Add to the CHANGELOG**: Help us keep track of all the moving pieces by adding an entry to the [`CHANGELOG.md`](https://github.com/MetaMask/metamask-extension/blob/develop/CHANGELOG.md) with a link to your PR. +- [ ] **Meet the spec**: Make sure the PR adds functionality that matches the issue you're closing. This is especially important for bounties: sometimes design or implementation details are included in the conversation, so read carefully! +- [ ] **Close the issue**: If this PR closes an open issue, add the line `Fixes #$ISSUE_NUMBER`. Ex. For closing issue 418, include the line `Fixes #418`. If it doesn't close the issue but addresses it partially, just include a reference to the issue number, like `#418`. +- [ ] **Keep it simple**: Try not to include multiple features in a single PR, and don't make extraneous changes outside the scope of your contribution. All those touched files make things harder to review ;) +- [ ] **PR against `develop`**: Submit your PR against the `develop` branch. This is where we merge new features so they get some time to receive extra testing before being pushed to `master` for production. If your PR is a hot-fix that needs to be published urgently, you may submit a PR against the `master` branch, but this PR will receive tighter scrutiny before merging. +- [ ] **Get reviewed by a core contributor**: Make sure you get a `:thumbsup`, `:+1`, or `LGTM` from a user with a `Member` badge before merging. -If it doesn't close the issue but addresses it partially, just include a reference to the issue number, like `#418`. - -Submit your PR against the `develop` branch. This is where we merge new features so they get some time to receive extra testing before being pushed to `master` for production. - -If your PR is a hot-fix that needs to be published urgently, you may submit a PR against the `master` branch, but this PR will receive tighter scrutiny before merging. - -## Before Merging - -Make sure you get a `:thumbsup`, `:+1`, or `LGTM` from another collaborator before merging. - -## Before Closing Issues - -Make sure the relevant code has been reviewed and merged. +And that's it! Thanks for helping out. ### Developing inside a node_modules folder |