Browse Source

Add GitHub templates for issues and PRs.

Jon Shier 8 years ago
parent
commit
c016dbfda6

+ 4 - 0
Alamofire.xcodeproj/project.pbxproj

@@ -285,6 +285,8 @@
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
+		316250E41F00ABE900E207A6 /* ISSUE_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = ISSUE_TEMPLATE.md; sourceTree = "<group>"; };
+		316250E51F00ACD000E207A6 /* PULL_REQUEST_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = PULL_REQUEST_TEMPLATE.md; sourceTree = "<group>"; };
 		31ED52E61D73889D00199085 /* AFError+AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AFError+AlamofireTests.swift"; sourceTree = "<group>"; };
 		4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResponseSerializationTests.swift; sourceTree = "<group>"; };
 		4C0B62501BB1001C009302D3 /* Response.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Response.swift; sourceTree = "<group>"; };
@@ -617,6 +619,8 @@
 			children = (
 				4CE292321EF4A393008DA555 /* CHANGELOG.md */,
 				4CE292331EF4A393008DA555 /* CONTRIBUTING.md */,
+				316250E41F00ABE900E207A6 /* ISSUE_TEMPLATE.md */,
+				316250E51F00ACD000E207A6 /* PULL_REQUEST_TEMPLATE.md */,
 				4CE292311EF4A393008DA555 /* README.md */,
 				4CE292341EF4A397008DA555 /* Documentation */,
 			);

+ 1 - 2
Example/iOS Example.xcodeproj/project.pbxproj

@@ -163,8 +163,7 @@
 				4C6D2C7F1C67EFE100846168 /* MasterViewController.swift */,
 				F8111E0819A951050040E7D1 /* Supporting Files */,
 			);
-			name = Source;
-			path = Example;
+			path = Source;
 			sourceTree = "<group>";
 		};
 		F8111E0819A951050040E7D1 /* Supporting Files */ = {

+ 29 - 0
ISSUE_TEMPLATE.md

@@ -0,0 +1,29 @@
+> ℹ Please fill out this template when filing an issue.
+> All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
+>
+> Per our [*CONTRIBUTING guidelines](https://github.com/Alamofire/Alamofire/blob/master/CONTRIBUTING.md), we use GitHub for
+> bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag `alamofire`.
+>
+> Please remove this line and everything above it before submitting.
+
+* [ ] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/Alamofire/Alamofire/blob/master/CONTRIBUTING.md).
+
+## What did you do?
+
+ℹ Please replace this with what you did.  
+
+## What did you expect to happen?
+
+ℹ Please replace this with what you expected to happen.  
+
+## What happened instead?
+
+ℹ Please replace this with of what happened instead.  
+
+## Alamofire Environment
+
+ℹ Please replace this with the Alamofire, Xcode, and OS versions where you see this issue.
+
+## Demo Project
+
+ℹ Please link to or upload a project we can download that reproduces the issue.

+ 13 - 0
PULL_REQUEST_TEMPLATE.md

@@ -0,0 +1,13 @@
+### Issue Link :link:
+<!-- What issue does this fix? If an issue doesn't exist, remove this section. -->
+
+### Goals :soccer:
+<!-- List the high-level objectives of this pull request. -->
+<!-- Include any relevant context. -->
+
+### Implementation Details :construction:
+<!-- Explain the reasoning behind any architectural changes. -->
+<!-- Highlight any new functionality. -->
+
+### Testing Details :mag:
+<!-- Describe what tests you've added for your changes. -->