Skip to content

Commit

Permalink
Update Github issue templates to use issue forms
Browse files Browse the repository at this point in the history
Here we have updated the Github issue template files to utilize forms.
This involves using YAML configuration files instead of markdown. This
should make issue submissions easier for users and will ensure users provide
the required information.

Note that issue forms are not supported for pull requests currently. The
pull request form here has been cleaned up slightly.

Addresses feature request geoschem/geos-chem#1831.

Signed-off-by: Melissa Sulprizio <[email protected]>
  • Loading branch information
msulprizio committed May 29, 2024
1 parent 5df2c5a commit f4f5ccc
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 44 deletions.
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Bug or Issue Report
description: Report a bug or issue with GCClassic
title: "Put a one-line description here"
labels: ["category: Bug"]
body:
- type: input
id: name
attributes:
label: Your name
validations:
required: true
- type: input
id: affiliation
attributes:
label: Your affiliation
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened? What did you expect to happen?
placeholder: Describe your issue
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: What are the steps to reproduce the bug?
placeholder: Explain what you did
validations:
required: true
- type: textarea
id: log-files
attributes:
label: Please attach any relevant configuration and log files.
description: Drag and drop files like the GEOS-Chem log file, geoschem_config.yml, HEMCO_Config.rc, HISTORY.rc, and build_info/summarize_build here. You may need to rename files to end in .txt first.
validations:
required: false
- type: input
id: version
attributes:
label: What GCClassic version were you using?
placeholder: e.g. 14.4.0
validations:
required: true
- type: dropdown
id: machine
attributes:
label: What environment were you running GCClassic on?
multiple: true
options:
- Local cluster
- AWS
- Personal computer
- Other (please explain below)
validations:
required: true
- type: input
id: compiler-version
attributes:
label: What compiler and version were you using?
placeholder: e.g. gcc 10.2.0, ifort 19.0.5.281
validations:
required: true
- type: dropdown
id: implemenation
attributes:
label: Will you be addressing this bug yourself?
description: If Yes, please also assign this issue to yourself (if possible)
multiple: false
options:
- "Yes"
- "Yes, but I will need some help"
- "No"
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional information
description: Please provide any additional information here that you think might be relevant.
validations:
required: false
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/new-feature-or-discussion.md

This file was deleted.

50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/new-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Feature Request
description: Request a new GCClassic feature
title: "Put a one-line description here"
labels: ["category: Feature Request"]
body:
- type: input
id: name
attributes:
label: Your name
validations:
required: true
- type: input
id: affiliation
attributes:
label: Your affiliation
validations:
required: true
- type: textarea
id: feature-description
attributes:
label: Provide a clear and concise overview of the new feature requested.
validations:
required: true
- type: textarea
id: reference
attributes:
label: Reference(s)
description: If this is a science update, please provide a literature citation.
placeholder: "e.g. Bey et al., Global modeling of tropospheric chemistry with assimilated meteorology: Model description and evaluation, J. Geophys. Res., 106, 23,073-23,096, 2001."
validations:
required: false
- type: dropdown
id: implemenation
attributes:
label: Will you be implementing this feature yourself?
description: If Yes, please also assign this issue to yourself (if possible)
multiple: false
options:
- "Yes"
- "Yes, but I will need some help"
- "No"
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional information
description: Please provide any additional information here that you think might be relevant.
validations:
required: false
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/question-discussion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Question or Discussion
description: Ask a question about GCClassic or start a discussion
title: "Put a one-line description here"
labels: ["category: Question"]
body:
- type: input
id: name
attributes:
label: Your name
validations:
required: true
- type: input
id: affiliation
attributes:
label: Your affiliation
validations:
required: true
- type: textarea
id: description
attributes:
label: Please provide a clear and concise description of your question or discussion topic.
validations:
required: true
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/question-issue.md

This file was deleted.

8 changes: 2 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
Name:
Institution:

### Confirm you have reviewed the following documentation

- [ ] [Contributing guidelines](https://geos-chem.readthedocs.io/en/stable/help-and-reference/CONTRIBUTING.html)

### Describe the update

Please provide a clear and concise overview of the update.
Expand All @@ -19,6 +15,6 @@ Please provide details on how this update will impact model output and include p

If this is a science update, please provide a literature citation.

### Related Github Issue(s)
### Related Github Issue

Please link to the corresponding Github issue here. If fixing a bug, there should be an issue describing it with steps to reproduce.
Please link to the corresponding Github issue(s) here. If fixing a bug, there should be an issue describing it with steps to reproduce.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
- Updated GEOS-Chem submodule to 14.4.0
- Updated HEMCO submodule to 3.9.0
- Converted Github issue templates to issue forms using YAML definition files

### Removed
- `BPCH_DIAG` configuration option and related ReadTheDocs documentation
Expand Down

0 comments on commit f4f5ccc

Please sign in to comment.