From 72fcbe15ea1cb19747665fbe14d7c36fad56ebd3 Mon Sep 17 00:00:00 2001 From: srderson Date: Fri, 17 Jun 2016 17:18:53 -0400 Subject: [PATCH 1/2] Add make checks to PR template. Resolves #1905 --- .github/PULL_REQUEST_TEMPLATE.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d36c8de782..dc9eca3105 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,23 +1,26 @@ - + ## Description - + ## Motivation and Context - - + + Fixes # ## How Has This Been Tested? - - + + ## Checklist: - - -- [] I have added a [Signed-off-by](https://github.com/hyperledger/fabric/blob/master/CONTRIBUTING.md#legal-stuff) -- [] Either no new documentation is required by this change, OR I added new documentation -- [] Either no new tests are required by this change, OR I added new tests -- [] I have run [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports), [go vet](https://golang.org/cmd/vet/), and [golint](https://github.com/golang/lint). I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives. Don't be worried about ignoring some errors or warnings. The goal is clean, consistent, and readable code. + + + +- [] I have added a [Signed-off-by](https://github.com/hyperledger/fabric/blob/master/CONTRIBUTING.md#legal-stuff). +- [] I have added documentation to cover my changes or this change requires no new documentation. +- [] I have added unit tests to cover my changes or this change requires no new tests. +- [] I have run [golint](https://github.com/golang/lint) and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code. + +The continuous integration build process will run [make checks](https://github.com/hyperledger/fabric/blob/master/Makefile#L22) to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass. Signed-off-by: From d2c72930778023b7ae398dad08c672c7bd1668f0 Mon Sep 17 00:00:00 2001 From: srderson Date: Mon, 20 Jun 2016 13:17:35 -0400 Subject: [PATCH 2/2] Update PR template wording based on feedback --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index dc9eca3105..dcdf771133 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,8 +17,8 @@ Fixes # - [] I have added a [Signed-off-by](https://github.com/hyperledger/fabric/blob/master/CONTRIBUTING.md#legal-stuff). -- [] I have added documentation to cover my changes or this change requires no new documentation. -- [] I have added unit tests to cover my changes or this change requires no new tests. +- [] I have either added documentation to cover my changes or this change requires no new documentation. +- [] I have either added unit tests to cover my changes or this change requires no new tests. - [] I have run [golint](https://github.com/golang/lint) and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code. The continuous integration build process will run [make checks](https://github.com/hyperledger/fabric/blob/master/Makefile#L22) to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.