From b743d82ffc10ca74253ede11eddca37f96f48b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Tue, 15 Mar 2016 16:06:09 +1100 Subject: [PATCH] doc: improve github templates by using comments Use HTML comments to reduce potential noise in github templates. Also, improve flow of the pull request, making it easier to read. PR-URL: https://github.com/nodejs/node/pull/5710 Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Jeremiah Senkpiel Reviewed-By: Roman Reiss --- .github/ISSUE_TEMPLATE.md | 37 +++++++++++++++++----------- .github/PULL_REQUEST_TEMPLATE.md | 41 +++++++++++++++++++------------- 2 files changed, 48 insertions(+), 30 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 0d10c2a8417c1c..dbd53cf22825f0 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,14 +1,23 @@ -_Thanks for wanting to report an issue you've found in Node.js. Please delete -this text and fill in the template below. If unsure about something, just do as -best as you're able._ - -_Note that it will be much easier for us to fix the issue if a test case that -reproduces the problem is provided. Ideally this test case should not have any -external dependencies. We understand that it is not always possible to reduce -your code to a small test case, but we would appreciate to have as much data as -possible. Thank you!_ - -* **Version**: _output of `node -v`_ -* **Platform**: _either `uname -a` output, or if Windows, version and 32-bit or - 64-bit_ -* **Subsystem**: _optional. if known - please specify affected core module name_ + + +* **Version**: +* **Platform**: +* **Subsystem**: + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cfa00507b79ea8..364754444ac945 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,24 +1,33 @@ -### Pull Request check-list + -### Affected core subsystem(s) +##### Checklist -_Please provide affected core subsystem(s) (like buffer, cluster, crypto, etc)_ + -[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit +- [ ] tests and code linting passes +- [ ] a test and/or benchmark is included +- [ ] documentation is changed or added +- [ ] the commit message follows commit guidelines -### Description of change -_Please provide a description of the change here._ +##### Affected core subsystem(s) + + + + +##### Description of change + +