11.. _issue-tracker :
22.. _tracker :
33
4- =============
5- Issue tracker
6- =============
7-
4+ =======================
85Using 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+
1123If 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
1526If 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
3030Checking 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
4444above the list of bugs on the issues page. See :ref: `searching-gh-issues `
4545for 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
6051If the problem you're reporting is not already in the `issue tracker `_, you
6152can 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
7364Depending 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
7566the `Python Discourse `_ (``discuss.python.org ``),
7667where many Python-related discussions take place.
7768
7869The 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
9385tagged or assigned for specific areas.
9486
9587There 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
9890to 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+
100113Formatting issues and comments
101114------------------------------
102115
@@ -105,8 +118,9 @@ There is a wonderful `beginner guide to writing and formatting on GitHub
105118Highly recommended.
106119
107120One 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
122138Drag them into the comment field, wait until the file uploads, and GitHub
123139will automatically put a link to your file in your comment text.
124140
125141
126- Adding special links
127- --------------------
142+ Adding links
143+ ------------
128144
129145The 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
135151See 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+
137161Following issues
138162----------------
139163
@@ -145,28 +169,19 @@ button in the sidebar. Note that you are automatically subscribed to
145169issues 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-
157172Tracking 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
165179By 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
171186For old issues migrated to GitHub from bugs.python.org (BPO) where the authors or commenters
172187were 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
181196username is used instead.
182197
183198
184- Disagreement with a resolution on the issue tracker
185- ===================================================
199+ Disagreement with a resolution
200+ ==============================
186201
187202As humans, we will have differences of opinions from time to time. First and
188203foremost, 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/
0 commit comments