Skip to content

Commit 263206c

Browse files
authored
Merge pull request #10406 from pradyunsg/new-issue-workflow
Tweaks issue templates
2 parents 65f046d + 1fb0914 commit 263206c

File tree

6 files changed

+124
-46
lines changed

6 files changed

+124
-46
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ description: Something is not working correctly.
33
labels: "S: needs triage, type: bug"
44

55
body:
6+
- type: markdown
7+
attributes:
8+
value: >-
9+
Hi there!
10+
11+
We'd appreciate it if you could search on pip's existing issues prior to filing
12+
a bug report.
13+
14+
We get a lot of duplicate tickets and have limited maintainer capacity to triage
15+
them. Thanks!
16+
617
- type: textarea
718
attributes:
819
label: Description
@@ -37,7 +48,7 @@ body:
3748
attributes:
3849
label: How to Reproduce
3950
description: Please provide steps to reproduce this bug.
40-
value: |
51+
placeholder: |
4152
1. Get package from '...'
4253
2. Then run '...'
4354
3. An error occurs.
@@ -49,7 +60,14 @@ body:
4960
label: Output
5061
description: >-
5162
Provide the output of the steps above, including the commands
52-
themselves and pip's output/traceback etc.
63+
themselves and pip's output/traceback etc. If you're familiar with
64+
Markdown, this block will have triple backticks added automatically
65+
around it -- you don't have to add them.
66+
67+
If you want to present output from multiple commands, please present
68+
that as a shell session (commands you run get prefixed with `$ `).
69+
Please also ensure that the "How to reproduce" section contains matching
70+
instructions for reproducing this.
5371
render: sh-session
5472

5573
- type: checkboxes

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
2-
blank_issues_enabled: true # default
1+
# Documentation for this file can be found at:
2+
# https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository
3+
4+
blank_issues_enabled: false
35
contact_links:
4-
- name: 💬 Discourse
5-
url: https://discuss.python.org/c/packaging
6-
about: |
7-
Please ask typical Q&A here: general ideas for Python packaging,
8-
questions about structuring projects and so on
9-
- name: '💬 IRC: #pypa'
10-
url: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
11-
about: Chat with devs
6+
- name: "💬 IRC: #pypa"
7+
url: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
8+
about: Chat with devs

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
labels: "S: needs triage, type: feature request"
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: >-
9+
Hi there!
10+
11+
We'd appreciate it if you could search on pip's existing issues prior to filing
12+
a feature request.
13+
14+
We get a lot of duplicate tickets and have limited maintainer capacity to triage
15+
them. Thanks!
16+
17+
- type: textarea
18+
attributes:
19+
label: What's the problem this feature will solve?
20+
description: >-
21+
What are you trying to do, that you are unable to achieve with pip as it
22+
currently stands?
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: Describe the solution you'd like
29+
description: >-
30+
Clear and concise description of what you want to happen. Please use examples
31+
of real world use cases that this would help with, and how it solves the
32+
problem described above.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Alternative Solutions
39+
description: >-
40+
Have you tried to workaround the problem using pip or other tools? Or a
41+
different approach to solving this issue? Please elaborate here.
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
attributes:
47+
label: Additional context
48+
description: >-
49+
Add any other context, links, etc. relevant to the feature request.
50+
validations:
51+
required: true
52+
53+
- type: checkboxes
54+
attributes:
55+
label: Code of Conduct
56+
options:
57+
- label: >-
58+
I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
59+
required: true

.github/ISSUE_TEMPLATE/~good-first-issue.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Good first issue
2+
description: If you're a pip maintainer, use this to create a "good first issue" for new contributors.
3+
labels: "good first issue"
4+
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Description
9+
description: >-
10+
A clear and concise description of what the task is.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: What needs to be done
17+
description: >-
18+
Describe what the contributor would need to do, describing the change.
19+
See https://github.com/pypa/pip/issues/7661 for example.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Guidance for potential contributors
26+
description: >-
27+
Usually, you don't have to modify the content here.
28+
value: >-
29+
This issue is a good starting point for first time contributors -- the
30+
process of fixing this should be a good introduction to pip's
31+
development workflow. If there is not a corresponding pull request for
32+
this issue, it is up for grabs. For directions for getting set up, see our
33+
[Getting Started Guide](https://pip.pypa.io/en/latest/development/getting-started/).
34+
If you are working on this issue and have questions, feel free to ask
35+
them here. If you've contributed code to pip before, we encourage you to
36+
pick up an issue without this label.
37+
validations:
38+
required: true

0 commit comments

Comments
 (0)