Skip to content

Commit 5690215

Browse files
Reorganize 'Using the issue tracker' (previously 'Issue tracker')
1 parent 49331f5 commit 5690215

3 files changed

Lines changed: 79 additions & 66 deletions

File tree

index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ contributors through the process.
5050
* :ref:`helptriage`
5151
* :ref:`experts`
5252
* :ref:`labels`
53-
* :ref:`gh-faq`
5453
* :ref:`triage-team`
5554

5655
We **recommend** that sections of this guide be read as needed. You

triage/issue-tracker.rst

Lines changed: 74 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
.. _issue-tracker:
22
.. _tracker:
33

4-
=============
5-
Issue tracker
6-
=============
7-
4+
=======================
85
Using the issue tracker
96
=======================
107

8+
The `issue tracker`_ is hosted on GitHub, alongside the codebase and pull requests.
9+
10+
.. note::
11+
12+
Prior to moving the issue tracker to GitHub,
13+
Python used to use a dedicated `Roundup`_ instance as its issue tracker.
14+
That `old bug tracker`_ was hosted under the domain ``bugs.python.org``
15+
(sometimes called :dfn:`bpo` or :dfn:`BPO` for short). A read-only version is
16+
available on that domain for historical purposes. All ``bpo`` data has been
17+
migrated to the current issue tracker on GitHub.
18+
19+
20+
Reporting an issue
21+
==================
22+
1123
If you think you have found a bug in Python, you can report it to the
12-
`issue tracker`_. The `issue tracker`_ is now hosted on GitHub, alongside
13-
the codebase and pull requests. Documentation bugs can also be reported there.
24+
`issue tracker`_. Documentation bugs can also be reported there.
1425

1526
If you would like to file an issue about this devguide, please do so in the
16-
:github:`devguide repository <python/devguide>`.
27+
:github:`devguide repository <python/devguide>` instead.
1728

18-
.. note::
19-
Prior to moving the issue tracker to GitHub,
20-
Python used to use a dedicated `Roundup`_ instance as its issue tracker.
21-
That `old bug tracker`_ was hosted under the domain ``bugs.python.org``
22-
(sometimes called ``bpo`` for short). A read-only version is
23-
available on that domain for historical purposes. All ``bpo`` data has been
24-
migrated to the current `issue tracker`_ on GitHub.
25-
26-
If you're familiar with ``bpo`` and would like to learn more about GitHub
27-
issues, please read this page, and the :ref:`triaging` page as they
28-
provide good introductory material.
2929

3030
Checking if a bug already exists
3131
--------------------------------
@@ -44,18 +44,9 @@ To see if an issue already exists, search the bug database using the search box
4444
above the list of bugs on the issues page. See :ref:`searching-gh-issues`
4545
for more information.
4646

47-
.. _searching-gh-issues:
48-
49-
How to search issues?
50-
---------------------
51-
52-
Use the `GitHub search syntax`_ or the interactive `advanced search`_ form
53-
that generates search queries for you.
54-
55-
Reporting an issue
56-
------------------
5747

58-
.. XXX: This section is slightly out of date after recent tracker changes.
48+
Creating a new issue
49+
--------------------
5950

6051
If the problem you're reporting is not already in the `issue tracker`_, you
6152
can report it using the green :guilabel:`New issue` button on the right of the search
@@ -71,14 +62,15 @@ available choices include, for example:
7162
* **Report a security vulnerability**: privately report a security vulnerability.
7263

7364
Depending on your choice, a dedicated form template will appear.
74-
In particular, you'll notice that the last button actually takes you to
65+
In particular, you'll notice that one of the buttons actually takes you to
7566
the `Python Discourse`_ (``discuss.python.org``),
7667
where many Python-related discussions take place.
7768

7869
The submission form has only two fields that you need to fill:
7970

8071
* in the **Title** field, enter a *very* short description of the problem;
81-
less than ten words is good;
72+
less than ten words is good; don't include "labels" like ``[feature]``
73+
as we use GitHub labels;
8274
* in the **Write** field, describe the problem in detail using hints from
8375
the template that was put in that field for you. Be sure to include what
8476
you expected to happen, what did happen, and how to replicate the
@@ -93,10 +85,31 @@ Use the :ref:`experts` to know who wants to be
9385
tagged or assigned for specific areas.
9486

9587
There are a number of additional fields like **Assignees**, **Labels**,
96-
and **Projects**. Those are filled by triagers and core
97-
developers and are covered in the :ref:`triaging` page. You don't need
88+
and **Projects**. Those are filled by triagers and core team members
89+
and are covered in the :ref:`triaging` page. You don't need
9890
to worry about those when reporting issues as a Python user.
9991

92+
93+
Working with issues
94+
===================
95+
96+
This section covers common tasks on the issue tracker, such as
97+
searching, commenting on, and following issues.
98+
99+
.. _searching-gh-issues:
100+
101+
Searching issues
102+
----------------
103+
104+
Use the `GitHub search syntax`_ or the interactive `advanced search`_ form
105+
that generates search queries for you.
106+
107+
You can also narrow down the results by filtering by label, either with
108+
the :guilabel:`Labels` dropdown above the list of issues or with the
109+
:samp:`label:{name}` search qualifier. See :ref:`gh-labels` for an
110+
overview of the labels used in the CPython repository.
111+
112+
100113
Formatting issues and comments
101114
------------------------------
102115

@@ -105,8 +118,9 @@ There is a wonderful `beginner guide to writing and formatting on GitHub
105118
Highly recommended.
106119

107120
One pro-tip we can sell you right here is that if you want to paste
108-
some longer log as a comment, attach a file instead (see how below).
109-
If you still insist on pasting it in your comment, do it like this::
121+
some longer log as a comment, :ref:`attach a file instead <attaching-to-gh-issues>`.
122+
If you still insist on pasting it in your comment, wrap it with a
123+
`collapsed section`_ using ``<details></details>`` for better readability::
110124

111125
<details>
112126
<summary>This is the summary text, click me to expand</summary>
@@ -116,15 +130,17 @@ If you still insist on pasting it in your comment, do it like this::
116130
</details>
117131

118132

119-
How to attach files to an issue?
120-
--------------------------------
133+
.. _attaching-to-gh-issues:
134+
135+
Attaching files
136+
---------------
121137

122138
Drag them into the comment field, wait until the file uploads, and GitHub
123139
will automatically put a link to your file in your comment text.
124140

125141

126-
Adding special links
127-
--------------------
142+
Adding links
143+
------------
128144

129145
The following abbreviations can be used in a comment to generate a link:
130146

@@ -134,6 +150,14 @@ The following abbreviations can be used in a comment to generate a link:
134150

135151
See also the `list of autolinks supported by GitHub <autolinks_>`_.
136152

153+
To link to files in the repository, use Markdown links. If you link to
154+
the default GitHub path, the file will link to the latest current
155+
version on the given branch.
156+
157+
You can get a permanent link to a given revision of a given file by
158+
`pressing "y" <https://docs.github.com/en/repositories/working-with-files/using-files/getting-permanent-links-to-files>`__.
159+
160+
137161
Following issues
138162
----------------
139163

@@ -145,28 +169,19 @@ button in the sidebar. Note that you are automatically subscribed to
145169
issues you create or comment on.
146170

147171

148-
How to link to file paths in the repository when writing comments?
149-
------------------------------------------------------------------
150-
151-
Use Markdown links. If you link to the default GitHub path, the file
152-
will link to the latest current version on the given branch.
153-
154-
You can get a permanent link to a given revision of a given file by
155-
`pressing "y" <https://docs.github.com/en/repositories/working-with-files/using-files/getting-permanent-links-to-files>`__.
156-
157172
Tracking dependencies and duplicates
158173
------------------------------------
159174

160-
.. XXX These no longer work, the feature has been retired.
161-
162-
It is possible to use `checklists`_ to track dependencies or,
163-
in case of meta-issues, to link to the other related issues.
175+
It is possible to `create relationships between issues <issue-rel_>`_ to track
176+
dependencies and in case of meta-issues, to `add sub-issues <sub-issues_>`_
177+
to link to the other related issues.
164178

165179
By writing :samp:`Duplicate of #{NNN}` in a comment, you can
166180
`mark issues and PRs as duplicates <duplicates_>`_.
167181

168-
What on earth is a "mannequin"?
169-
-------------------------------
182+
183+
Mannequin accounts
184+
------------------
170185

171186
For old issues migrated to GitHub from bugs.python.org (BPO) where the authors or commenters
172187
were not core team members, we opted not to link to their GitHub accounts
@@ -181,8 +196,8 @@ name in their BPO profile, we use that. Otherwise, their classic BPO
181196
username is used instead.
182197

183198

184-
Disagreement with a resolution on the issue tracker
185-
===================================================
199+
Disagreement with a resolution
200+
==============================
186201

187202
As humans, we will have differences of opinions from time to time. First and
188203
foremost, please be respectful that care, thought, and volunteer time went into
@@ -210,7 +225,9 @@ reason either as ``complete`` or ``not planned``.
210225
.. _Roundup: https://www.roundup-tracker.org/
211226
.. _Python Discourse: https://discuss.python.org/
212227
.. _autolinks: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls
213-
.. _checklists: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists
228+
.. _collapsed section: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
214229
.. _duplicates: https://docs.github.com/en/issues/tracking-your-work-with-issues/administering-issues/marking-issues-or-pull-requests-as-a-duplicate
230+
.. _issue-rel: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/creating-issue-dependencies
231+
.. _sub-issues: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/adding-sub-issues
215232
.. _Core Development Discourse category: https://discuss.python.org/c/core-dev/23
216233
.. _old bug tracker: https://bugs.python.org/

triage/triaging.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Checklist for triaging
2121
:guilabel:`Project` fields, and possibly @mention relevant people.
2222
* You might also leave a brief comment about the proposed next action needed.
2323
If there is a long message list, a summary can be very helpful.
24-
* If the issue is clearly invalid (unrelated to CPython, duplicate, spam, etc),
25-
you can use GitHub's "Close as not planned" option.
24+
* If the issue is clearly invalid (unrelated to CPython, duplicate, spam, and
25+
so on), you can use GitHub's "Close as not planned" option.
2626

2727
Assignees
2828
---------
@@ -36,7 +36,7 @@ how to proceed. Also consult the :ref:`experts` as certain
3636
stdlib modules should always be assigned to a specific person.
3737

3838
Note that in order to assign an issue to someone, that person **must** be
39-
a team member, likely a triager or a core developer.
39+
have at least triage permissions in the repository.
4040

4141
.. The Assignees subsection was copied from the labels.rst page in #930.
4242
For consistency, the other fields mentioned above should be documented too.
@@ -105,8 +105,5 @@ Finding an issue you can help with
105105
----------------------------------
106106

107107
If you want to help with triaging, you might also want to search for issues
108-
in modules for which you have a working knowledge. Search for the name of a
109-
module in the issue tracker, filter by label, or use the `advanced search`_
110-
to find these issues.
111-
112-
.. _advanced search: https://github.com/search/advanced
108+
in modules for which you have a working knowledge. See :ref:`searching-gh-issues`
109+
for more information.

0 commit comments

Comments
 (0)