Skip to content

Commit

Permalink
infra: use new github issue forms
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 26, 2024
1 parent 539703b commit 445eec3
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 47 deletions.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Bug report"
description: Create a report to help us improve the Python devguide
title: "Bug: <title>"
labels: ["bug"]
assignees: []

body:
- type: markdown
attributes:
value: |
> [!NOTE]
> This repo is for the Python devguide. If you are reporting a bug
> for the Python language or CPython interpreter,
> then the CPython issue tracker is better
> suited for this report: https://github.com/python/cpython/issues
- type: textarea
id: bug_description
attributes:
label: "Describe the bug"
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: expected_behavior
attributes:
label: "Expected behavior"
description: A clear and concise description of what you expected to happen.
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: "Screenshots"
description: If applicable, add screenshots to help explain your problem.
validations:
required: false

- type: textarea
id: additional_context
attributes:
label: "Additional context"
description: Add any other context about the problem here.
validations:
required: false
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Feature request"
description: Suggest an idea for the Python devguide
title: "Feature: <title>"
labels: ["enhancement"]
assignees: []

body:
- type: markdown
attributes:
value: |
> [!NOTE]
> This repo is for the Python devguide. If you are requesting an
> enhancement for the Python language or CPython interpreter,
> then the CPython issue tracker is better
> suited for this report: https://github.com/python/cpython/issues
- type: textarea
id: feature_description
attributes:
label: "Describe the enhancement or feature you'd like"
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: "Describe alternatives you've considered"
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
id: additional_context
attributes:
label: "Additional context"
description: Add any other context or screenshots about the feature request here.
validations:
required: false

0 comments on commit 445eec3

Please sign in to comment.