Skip to content

Commit da077f7

Browse files
authoredFeb 20, 2017
Merge pull request #2553 from request/issue-template
add ISSUE_TEMPLATE, move PR template
2 parents fec1f2b + 921ebee commit da077f7

File tree

2 files changed

+59
-3
lines changed

2 files changed

+59
-3
lines changed
 

‎.github/ISSUE_TEMPLATE.md

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!---
2+
BEFORE YOU SUBMIT please read the following:
3+
4+
Please search open/closed issues before submitting since someone might have asked the same thing before!
5+
6+
If you have a support request or question please submit them to one of this resources:
7+
8+
* Stack Overflow: http://stackoverflow.com/questions/tagged/request+node.js using the tags `node.js` & `request`
9+
* Gitter community: https://gitter.im/request/request?utm_source=newissue
10+
* Also have a look at the Readme for more information on how to get support:
11+
https://github.com/request/request/blob/master/README.md
12+
13+
Issues on GitHub are only related to problems of request itself and we cannot answer
14+
support questions here.
15+
-->
16+
17+
### Summary
18+
<!--- Provide a general summary of the issue in the title above -->
19+
20+
### Simplest Example to Reproduce
21+
<!--- If describing a bug, tell us what request options we can use to reproduce the same bug/behavior -->
22+
23+
```js
24+
request({
25+
method: 'GET',
26+
url: 'http://example.com', // a public URL that we can hit to reproduce, if possible
27+
more: { 'options': 'here' }
28+
},
29+
```
30+
31+
### Expected Behavior
32+
<!--- If you're describing a bug, tell us what should happen -->
33+
<!--- If you're suggesting a change/improvement, tell us how it should work -->
34+
<!--- If request is handling requests/responses incorrectly, please include a link to the spec or documentation that supports that your expected behavior is correct. -->
35+
36+
### Current Behavior
37+
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
38+
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
39+
40+
### Possible Solution
41+
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
42+
<!--- or ideas how to implement the addition or change -->
43+
44+
### Context
45+
<!--- How has this issue affected you? What are you trying to accomplish? -->
46+
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
47+
48+
### Your Environment
49+
<!--- Include as many relevant details about the environment you experienced the bug in -->
50+
51+
| software | version
52+
| ---------------- | -------
53+
| request |
54+
| node |
55+
| npm |
56+
| Operating System |

‎PULL_REQUEST_TEMPLATE.md ‎.github/PULL_REQUEST_TEMPLATE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
- [ ] I have added/updated tests for any new behavior.
44
<!-- Request is a complex project, there are VERY FEW exceptions
55
where a new test is not required for new behavior. -->
6-
- [ ] An issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]
6+
- [ ] If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]
77
<!-- If you'd like to suggest a significant change to request,
8-
please create an issue to discuss those changes
9-
BEFORE submitting your PR. -->
8+
please create an issue to discuss those changes and gather
9+
feedback BEFORE submitting your PR. -->
1010

1111

1212
## PR Description

0 commit comments

Comments
 (0)
Please sign in to comment.