diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..d2646436a --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,32 @@ +Dear friend, we, the rest of the NativeScript community really +appreciate your feedback! While we are doing all we can to take care of every +issue, sometimes we get overwhelmed. Because of that, we will consider issues +that are not constructive or problems that cannot be reproduced "dead". +Additionally, we will treat feature requests or bug reports with unanswered +questions regarding the behavior/reproduction for more than 20 days "dead". All +"dead" issues will get closed. + +## Please, provide the details below: + +### Did you verify this is a real problem by searching [Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)? + +### Tell us about the problem +Please, ensure your title is less than 63 characters long and starts with a capital +letter. + +### Which platform(s) does your issue occur on? +iOS/Android/Both + +### Please provide the following version numbers that your issue occurs with: +- CLI: (run `tns --version` to fetch it) +- Cross-platform modules: (check the 'version' attribute in the +`node_modules/tns-core-modules/package.json` file in your project) +- Runtime(s): (look for the `"tns-android"` and `"tns-ios"` properties in the +`package.json` file of your project) +- Plugin(s): (look for the version number in the `package.json` file of your +project) + +### Please tell us how to recreate the issue in as much detail as possible. + +### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem. + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..485cbce02 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,18 @@ +Dear friend, we, the rest of the NativeScript community thank you for your +contribution! Because we want to present a really nice, readable changelog with each +release, please provide the following information: + +### Create a meaningful title +Please, ensure your title is less than 50 characters and starts with a capital +letter. We strive to follow the guidelines in the +[How to Write a Git Commit Message] (http://chris.beams.io/posts/git-commit/) +article for PR titles. + +### Does your commit message include the wording below to reference a specific issue in this repo? +Fixes/Implements #[Issue Number]. + +### Does your pull request have [unit tests](https://github.com/NativeScript/NativeScript/blob/master/running-tests.md)? +If not, why? +If not, please tell us why tests are not included, and list all steps needed to test your pull request manually. + +