Skip to content

Commit

Permalink
Infra: Use GitHub issue forms (#1414)
Browse files Browse the repository at this point in the history
Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent 9c77778 commit 8ec03f9
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 47 deletions.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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 developer's guide](https://devguide.python.org/).
> If you are reporting a bug for the Python language or
> CPython interpreter, then use the
> [CPython issue tracker](https://github.com/python/cpython/issues) instead.
- type: textarea
id: bug_description
attributes:
label: "Describe the bug"
description: A clear and concise description of what the bug is and, optionally, 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
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: CPython Documentation
url: https://docs.python.org/
about: Official CPython documentation - please check here before opening an issue.
- name: Python Website
url: https://python.org/
about: For all things Python
- name: PyPI Issues / Support
url: https://github.com/pypi/support
about: For issues with PyPI itself, PyPI accounts, or with packages hosted on PyPI.
- name: CPython Issues
url: https://github.com/python/cpython/issues
about: For issues with the CPython interpreter itself.
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 developer's guide](https://devguide.python.org/).
> If you are requesting an enhancement for the Python language or
> CPython interpreter, then use the
> [CPython issue tracker](https://github.com/python/cpython/issues) instead.
- type: textarea
id: feature_description
attributes:
label: "Describe the enhancement or feature you would 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 have considered"
description: A clear and concise description of any alternative solutions or features you have 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 8ec03f9

Please sign in to comment.