From b432faa39563278ea00806c264b37e66457baf2c Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 23 Feb 2016 12:15:24 +0100 Subject: [PATCH] Put the advice to the user as comments in the template Most issues include parts of the advice from the template, which adds noise to tickets. E.g. A lot of tickets include the text "Please pick one and delete the rest:" By adding the advice to the user as comments () we achieve two important things: 1. The advice does not end up in the actual issue ticket or pull request 2. It is easier for the user to differentiate its own input and the original advice (And my help them to clean up the advice as well, which in fact is now no longer necessary) --- ISSUE_TEMPLATE.md | 26 ++++++++++++++++---------- PULL_REQUEST_TEMPLATE.md | 14 ++++++++------ 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index e67be84a3c3..17c0a14648b 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ ##### Issue Type: -Please pick one and delete the rest: + - Bug Report - Feature Idea - Documentation Report @@ -8,42 +8,48 @@ Please pick one and delete the rest: ##### Ansible Version: ``` -(Paste verbatim output from “ansible --version” here) + ``` ##### Ansible Configuration: -Please mention any settings you've changed/added/removed in ansible.cfg + ##### Environment: + ##### Summary: -Please explain the problem briefly. + ##### Steps To Reproduce: + ``` -(Paste example playbooks or commands here) + ``` -You can also paste gist.github.com links for larger files. + ##### Expected Results: -What did you expect to happen when running the steps above? + ##### Actual Results: -What actually happened? + ``` -(Paste verbatim command output here) + ``` diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index d532449adef..3c348908ed3 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ ##### Issue Type: -Please pick one and delete the rest: + - Feature Pull Request - New Module Pull Request - Bugfix Pull Request @@ -9,19 +9,21 @@ Please pick one and delete the rest: ##### Ansible Version: ``` -(Paste verbatim output from “ansible --version” here) + ``` ##### Summary: -Please describe the change and the reason for it. + -(If you're fixing an existing issue, please include "Fixes #nnn" in your + ##### Example output: ``` -(Paste verbatim command output here if necessary) + ```