GitHub Templates

GitHub supports templates that are pre-populated into the description input field of a newly opened Issues and Pull Requests. Apache Cordova uses both options.

Issue Templates

The job of an issue template is to make sure, the creator includes all necessary information in an issue they open. It can also supply information to the reporter like text or links that are relevant before opening an issue.

Apache Cordova uses GitHub's multiple issues template functionality, which lets users choose what type of issue they want to create:

Note: You can “test” and preview these issue templates by creating an issue in this repository.

Bug Report

Collect all necessary information to understand if this is an actual bug or just a user problem. The information collected should enable the Apache Cordova community to reproduce and resolve the problem.

See .github/ISSUE_TEMPLATE/BUG_REPORT.md for our current bug report template.

Feature Request

What new feature is being requested and what problem does it solve?

See .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md for our current feature request template.

Support Question

People having problems with using one of Apache Cordova's components tend to also create issues. Apache Cordova unfortunately does not have the community to handle that volume of issues. Because of that, this template mainly refer people to the proper, more suited support channels:

  • Stack Overflow
  • Slack
  • Framework channels (like e.g. Ionic Forum)

Note that Apache Cordova will close support questions if they are submitted to the repository anyway.

See .github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md for our current support question template.

Fallback

Users can still ignore the specific issue templates by going to the /issues/new URL directly or use the “Don’t see your issue here? Open a regular issue.” link below the template selection. This template provides the fallback for this case.

See .github/ISSUE_TEMPLATE.md for our current fallback issues template.

Pull Request Template

Similar to an Issue Template, the Pull Request template ensures that new Pull Requests include all necessary information. It is also used to nudge contributors to run tests, write documentation etc.

See .github/PULL_REQUEST_TEMPLATE.md for our current pull request template.

Distribute GitHub Templates to all repositories

TODO