BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

GitHub Introduce Issue and Pull Request Templates, Direct File Upload

| by Sergio De Simone Follow 5 Followers on Feb 23, 2016. Estimated reading time: 1 minute |

GitHub introduced a new, highly requested feature that will allow project maintainers to define custom templates for issues and pull requests. Additionally, GitHub’s web UI now supports the possibility of uploading files.

Issue and pull request (PR) templates allow project maintainers to customize the information that is displayed to contributors in the issue, or pull request, form body. This is made possible by adding an ISSUE_TEMPLATE resp. PULL_REQUEST_TEMPLATE markdown-formatted file to either the root of a repository or to a hidden .github directory inside of it. This feature will make it easier for contributors to clearly state what information is expected from contributors, such as a reference to an existing issue for PRs, or steps to reproduce, a description of the expected vs. actual behaviour etc. for issues.

The lack of customizability of GitHub issues and pull requests were among the main reasons for discontent of a pretty large number of open source project maintainers that earlier this year sent GitHub an open letter. Approximately one month after the open letter was made public, GitHub responded by reaffirming GitHub’s commitment to solve developers’ frustrations. As InfoQ reported, that reply appeared to several commentators both late and adding very little.

In a statement to InfoQ, GitHub’s head of open source Brandon Keeper clarified the following:

“Issue and Pull Request templates are the first of many to come; look out for other initiatives aimed at open source maintainers and the strong communities they’ve built on GitHub”.

In addition to issues and PRs templates, GitHub also added an unrelated feature to its web UI to allows developers to upload files. Before that, GitHub web UI only allowed to create new files, while uploading required using the command line.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT