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+ Old issues are still referenced in the :samp: `bpo-{ NNN } ` format,
19+ where ``bpo-12345 `` refers to ``https://bugs.python.org/issue12345 ``.
20+
21+
22+ Reporting an issue
23+ ==================
24+
1125If 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.
26+ `issue tracker `_. Documentation bugs can also be reported there.
1427
1528If you would like to file an issue about this devguide, please do so in the
16- :github: `devguide repository <python/devguide> `.
29+ :github: `devguide repository <python/devguide> ` instead .
1730
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.
2931
3032Checking if a bug already exists
3133--------------------------------
@@ -44,18 +46,9 @@ To see if an issue already exists, search the bug database using the search box
4446above the list of bugs on the issues page. See :ref: `searching-gh-issues `
4547for more information.
4648
47- .. _searching-gh-issues :
4849
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- ------------------
57-
58- .. XXX: This section is slightly out of date after recent tracker changes.
50+ Creating a new issue
51+ --------------------
5952
6053If the problem you're reporting is not already in the `issue tracker `_, you
6154can report it using the green :guilabel: `New issue ` button on the right of the search
@@ -71,14 +64,15 @@ available choices include, for example:
7164* **Report a security vulnerability **: privately report a security vulnerability.
7265
7366Depending on your choice, a dedicated form template will appear.
74- In particular, you'll notice that the last button actually takes you to
67+ In particular, you'll notice that one of the buttons actually takes you to
7568the `Python Discourse `_ (``discuss.python.org ``),
7669where many Python-related discussions take place.
7770
7871The submission form has only two fields that you need to fill:
7972
8073* in the **Title ** field, enter a *very * short description of the problem;
81- less than ten words is good;
74+ less than ten words is good; don't include "labels" like ``[feature] ``
75+ as we use GitHub labels;
8276* in the **Write ** field, describe the problem in detail using hints from
8377 the template that was put in that field for you. Be sure to include what
8478 you expected to happen, what did happen, and how to replicate the
@@ -93,10 +87,32 @@ Use the :ref:`experts` to know who wants to be
9387tagged or assigned for specific areas.
9488
9589There 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
90+ and **Projects **. Those are filled by triagers and core team members
91+ and are covered in the :ref: `triaging ` page. You don't need
9892to worry about those when reporting issues as a Python user.
9993
94+
95+ Working with issues
96+ ===================
97+
98+ This section covers common tasks on the issue tracker, such as
99+ searching, commenting on, and following issues.
100+
101+ .. _searching-gh-issues :
102+ .. _how-to-search-issues :
103+
104+ Searching issues
105+ ----------------
106+
107+ Use the `GitHub search syntax `_ or the interactive `advanced search `_ form
108+ that generates search queries for you.
109+
110+ You can also narrow down the results by filtering by label, either with
111+ the :guilabel: `Labels ` dropdown above the list of issues or with the
112+ :samp: `label:{ name } ` search qualifier. See :ref: `gh-labels ` for an
113+ overview of the labels used in the CPython repository.
114+
115+
100116Formatting issues and comments
101117------------------------------
102118
@@ -105,8 +121,9 @@ There is a wonderful `beginner guide to writing and formatting on GitHub
105121Highly recommended.
106122
107123One 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::
124+ some longer log as a comment, :ref: `attach a file instead <attaching-to-gh-issues >`.
125+ If you still insist on pasting it in your comment, wrap it with a
126+ `collapsed section `_ using ``<details></details> `` for better readability::
110127
111128 <details>
112129 <summary>This is the summary text, click me to expand</summary>
@@ -116,15 +133,21 @@ If you still insist on pasting it in your comment, do it like this::
116133 </details>
117134
118135
119- How to attach files to an issue?
120- --------------------------------
136+ .. _attaching-to-gh-issues :
137+ .. _how-to-attach-files-to-an-issue :
138+
139+ Attaching files
140+ ---------------
121141
122142Drag them into the comment field, wait until the file uploads, and GitHub
123143will automatically put a link to your file in your comment text.
124144
125145
126- Adding special links
127- --------------------
146+ .. _adding-special-links :
147+ .. _how-to-link-to-file-paths-in-the-repository-when-writing-comments :
148+
149+ Adding links
150+ ------------
128151
129152The following abbreviations can be used in a comment to generate a link:
130153
@@ -134,6 +157,11 @@ The following abbreviations can be used in a comment to generate a link:
134157
135158See also the `list of autolinks supported by GitHub <autolinks _>`_.
136159
160+ To link to a file in the repository, you can get a permanent link to a
161+ given revision of the file by `pressing "y"
162+ <https://docs.github.com/en/repositories/working-with-files/using-files/getting-permanent-links-to-files> `__.
163+
164+
137165Following issues
138166----------------
139167
@@ -145,28 +173,21 @@ button in the sidebar. Note that you are automatically subscribed to
145173issues you create or comment on.
146174
147175
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-
157176Tracking dependencies and duplicates
158177------------------------------------
159178
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.
179+ It is possible to `create relationships between issues <issue-rel _>`_ to track
180+ dependencies and in case of meta-issues, to `add sub-issues <sub-issues _>`_
181+ to link to the other related issues.
164182
165183By writing :samp: `Duplicate of #{ NNN } ` in a comment, you can
166184`mark issues and PRs as duplicates <duplicates _>`_.
167185
168- What on earth is a "mannequin"?
169- -------------------------------
186+
187+ .. _what-on-earth-is-a-mannequin :
188+
189+ Mannequin accounts
190+ ------------------
170191
171192For old issues migrated to GitHub from bugs.python.org (BPO) where the authors or commenters
172193were not core team members, we opted not to link to their GitHub accounts
@@ -181,8 +202,10 @@ name in their BPO profile, we use that. Otherwise, their classic BPO
181202username is used instead.
182203
183204
184- Disagreement with a resolution on the issue tracker
185- ===================================================
205+ .. _disagreement-with-a-resolution-on-the-issue-tracker :
206+
207+ Disagreement with a resolution
208+ ==============================
186209
187210As humans, we will have differences of opinions from time to time. First and
188211foremost, please be respectful that care, thought, and volunteer time went into
@@ -210,7 +233,9 @@ reason either as ``complete`` or ``not planned``.
210233.. _Roundup : https://www.roundup-tracker.org/
211234.. _Python Discourse : https://discuss.python.org/
212235.. _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
236+ .. _ collapsed section : https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
214237.. _duplicates : https://docs.github.com/en/issues/tracking-your-work-with-issues/administering-issues/marking-issues-or-pull-requests-as-a-duplicate
238+ .. _issue-rel : https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/creating-issue-dependencies
239+ .. _sub-issues : https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/adding-sub-issues
215240.. _Core Development Discourse category : https://discuss.python.org/c/core-dev/23
216241.. _old bug tracker : https://bugs.python.org/
0 commit comments