Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
Tweak commands and guidelines
Browse files Browse the repository at this point in the history
Reviewed By: mkonicek

Differential Revision:D3074972
Ninja: oss only

fb-gh-sync-id: 0f244c80851d14fddd0a37e5357b5a00224aa97d
shipit-source-id: 0f244c80851d14fddd0a37e5357b5a00224aa97d
  • Loading branch information
Martin Konicek authored and Facebook Github Bot 9 committed Mar 20, 2016
1 parent 1ab2d85 commit 8a86616
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thanks for submitting a pull request! Please provide enough information so that

Explain the **motivation** for making this change. What existing problem does the pull request solve?

Example: When "Adding a function to do X", explain why it is necessary to have a way to do X.
Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.

**Test plan (required)**

Expand Down
3 changes: 3 additions & 0 deletions bots/IssueCommands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ close
comment {author} tells me to close this issue. If you think it should still be opened let us know why.
close

@facebook-github-bot bugfix
Hey {issue_author}, if you're sure this is a bug can you send a PR with a fix? We're a small team and rely on the community to fix issues that don't affect fb apps.

@facebook-github-bot reopen
comment Okay, reopening this issue.
reopen
Expand Down
8 changes: 7 additions & 1 deletion docs/PullRequestGuidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ Does the code style match the [Style guide](https://github.com/facebook/react-na

Does the pull request add a completely new feature we don't want to add to the core and maintain? Ask the author to release it a separate npm module and close the PR. Example: [#2648](https://github.com/facebook/react-native/pull/2648).

Does the pull request do several unrelated things at the same time? Ask the author to split it.
Does the pull request do several unrelated things at the same time? Ask the author to split it.

Is the PR old and need rebasing? Ask the author "Can you rebase please?" and add the label "Needs response from author".

Is a PR waiting for a response from author (usually has label "Needs response from author") and there's no reply in last 30 days? Close it with the [bookmarklet](https://github.com/facebook/react-native/blob/master/bots/pr-inactivity-bookmarklet.js). Examples: [#3066](https://github.com/facebook/react-native/pull/3066), [#1099](https://github.com/facebook/react-native/pull/1099).

Is the PR old and waiting for review? Review it or cc someone who might be able to review.

0 comments on commit 8a86616

Please sign in to comment.