Since GitHub now supports issue templates in repos (https://github.com/blog/2111-issue-and-pull-request-templates) we should add functionality to import those templates from the repositories instead of requiring one template for all projects.
GitHub's API has an endpoint to retrieve a file's contents (https://developer.github.com/v3/repos/contents/#get-contents) and since the issue template can only live in two locations a script wouldn't be too complex (check repo root for their presence or the presence of a .github
directory, if the template file isn't in root and .github
exists check for a template in there, otherwise fall back on our current template).
Since there isn't a way to open pull requests from here, those templates don't need to be imported too.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-26 18:52:10 |
Closed_By | ⇒ | mbabker |