Skip to content

Commit 63762d2

Browse files
committed
Update issue templates
1 parent 03a658d commit 63762d2

File tree

6 files changed

+68
-61
lines changed

6 files changed

+68
-61
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bugreport.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Bug Report
1+
name: 🐛 Bug Report
22
description: File a bug report to help us improve
33
labels: [bug, "needs triage"]
44
body:
@@ -26,14 +26,24 @@ body:
2626
attributes:
2727
label: Minimal Complete Verifiable Example
2828
description: |
29-
Minimal, self-contained copy-pastable example that generates the issue if possible. Please be concise with code posted. See guidelines below on how to provide a good bug report:
29+
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
30+
render: Python
31+
32+
- type: checkboxes
33+
id: mvce-checkboxes
34+
attributes:
35+
label: MVCE confirmation
36+
description: |
37+
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
3038
3139
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
3240
- [Craft Minimal Bug Reports](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
3341
34-
Bug reports that follow these guidelines are easier to diagnose, and so are often handled much more quickly.
35-
This will be automatically formatted into code, so no need for markdown backticks.
36-
render: Python
42+
options:
43+
- label: Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
44+
- label: Complete example — the example is self-contained, including all data and the text of any traceback.
45+
- label: Verifiable example — the example copy & pastes into an IPython prompt or [Binder notebook](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/issue-template.ipynb), returning the result.
46+
- label: New issue — a search of GitHub Issues suggests this is not a duplicate.
3747

3848
- type: textarea
3949
id: log-output

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Usage question
3+
- name: Usage question
44
url: https://github.com/pydata/xarray/discussions
55
about: |
66
Ask questions and discuss with other community members here.
77
If you have a question like "How do I concatenate a list of datasets?" then
88
please include a self-contained reproducible example if possible.
9-
- name: Raster analysis usage question
9+
- name: 🗺️ Raster analysis usage question
1010
url: https://github.com/corteva/rioxarray/discussions
1111
about: |
1212
If you are using the rioxarray extension (engine='rasterio'), or have questions about

.github/ISSUE_TEMPLATE/misc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Issue
2-
description: General Issue or discussion topic. For usage questions, please follow the "Usage question" link
1+
name: 📝 Issue
2+
description: General issue, that's not a bug report.
33
labels: ["needs triage"]
44
body:
55
- type: markdown

.github/ISSUE_TEMPLATE/newfeature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Feature Request
1+
name: 💡 Feature Request
22
description: Suggest an idea for xarray
33
labels: [enhancement]
44
body:

doc/examples/issue_template.ipynb

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "41b90ede",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"import xarray as xr\n",
11+
"import numpy as np\n",
12+
"import pandas as pd\n",
13+
"\n",
14+
"ds = xr.tutorial.load_dataset(\"air_temperature\")\n",
15+
"da = ds[\"air\"]"
16+
]
17+
},
18+
{
19+
"cell_type": "code",
20+
"execution_count": null,
21+
"id": "effd9aeb",
22+
"metadata": {},
23+
"outputs": [],
24+
"source": []
25+
}
26+
],
27+
"metadata": {
28+
"kernelspec": {
29+
"display_name": "Python 3",
30+
"language": "python",
31+
"name": "python3"
32+
},
33+
"language_info": {
34+
"codemirror_mode": {
35+
"name": "ipython",
36+
"version": 3
37+
},
38+
"file_extension": ".py",
39+
"mimetype": "text/x-python",
40+
"name": "python",
41+
"nbconvert_exporter": "python",
42+
"pygments_lexer": "ipython3",
43+
"version": "3.8.10"
44+
}
45+
},
46+
"nbformat": 4,
47+
"nbformat_minor": 5
48+
}

0 commit comments

Comments
 (0)