Repository: incubator-rocketmq-site Updated Branches: refs/heads/master 061f393c9 -> a73b9afbc
Polish how to create a PR for contributors, closes apache/incubator-rocketmq-site#4 Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/commit/a73b9afb Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/a73b9afb Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/a73b9afb Branch: refs/heads/master Commit: a73b9afbc8309547891f0a307a20d6387b851264 Parents: 061f393 Author: shroman <[email protected]> Authored: Mon Jan 16 21:20:29 2017 +0800 Committer: yukon <[email protected]> Committed: Mon Jan 16 21:20:29 2017 +0800 ---------------------------------------------------------------------- _docs/06-best-practice-pull-request.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/a73b9afb/_docs/06-best-practice-pull-request.md ---------------------------------------------------------------------- diff --git a/_docs/06-best-practice-pull-request.md b/_docs/06-best-practice-pull-request.md index d9972ef..8331405 100644 --- a/_docs/06-best-practice-pull-request.md +++ b/_docs/06-best-practice-pull-request.md @@ -73,11 +73,15 @@ Push your branch to Github: 6. When you are satisfied and want to push it to Apache's remote repo proceed with Merging a PR # How to create a PR (contributors) -Create pull requests: [GitHub PR docs](https://help.github.com/articles/creating-a-pull-request/). +Before you create a pull request, make sure +1. A corresponding [JIRA](https://issues.apache.org/jira/browse/ROCKETMQ/) issue is created and has a clear problem description. +2. You follow [Coding Guidelines](/docs/code-guidelines/). -_Make sure you follow_ [Coding Guidelines]{http://rocketmq.apache.org/docs/code-guidelines/} _before you create a pull request._ +For information on creating pull requests, see [GitHub PR docs](https://help.github.com/articles/creating-a-pull-request/). -Pull requests are made to `apache/incubator-rocketmq` repository on Github. In the Github UI you should pick the master branch to target the PR as described for committers. This will be reviewed and commented on so the merge is not automatic. This can be used for discussing a contributions in progress. +Pull requests are made to `apache/incubator-rocketmq` repository on Github. +In the Github UI you should pick the master branch to target the PR as described in the section for committers. <br /> +You pull request will be reviewed and commented by committers, and issues can be discussed the contribution in progress. When all reviewers are positive on the pull request, it will be merged. # Merging a PR (yours or contributors) Start with reading [GitHub PR merging locally](https://help.github.com/articles/checking-out-pull-requests-locally/). Remember that pull requests are equivalent to a remote github branch with potentially a multitude of commits. In this case it is recommended to squash remote commit history to have one commit per issue, rather than merging in a multitude of contributor's commits. In order to do that, as well as close the PR at the same time, it is recommended to use squash commits.
