55Issue tracker
66=============
77
8-
98Using the issue tracker
109=======================
1110
1211If you think you have found a bug in Python, you can report it to the
1312`issue tracker `_. The `issue tracker `_ is now hosted on GitHub, alongside
1413the codebase and pull requests. Documentation bugs can also be reported there.
1514
16- If you would like to file an issue about this devguide, please do so at the
17- `devguide repo `_ .
15+ If you would like to file an issue about this devguide, please do so in the
16+ :github: `devguide repository <python/devguide> ` .
1817
1918.. note ::
2019 Prior to moving the issue tracker to GitHub,
@@ -26,8 +25,7 @@ If you would like to file an issue about this devguide, please do so at the
2625
2726 If you're familiar with ``bpo `` and would like to learn more about GitHub
2827 issues, please read this page, and the :ref: `triaging ` page as they
29- provide good introductory material. There is also a :ref: `gh-faq `
30- document to answer some of the more popular questions.
28+ provide good introductory material.
3129
3230Checking if a bug already exists
3331--------------------------------
@@ -43,12 +41,22 @@ already been reported. Checking if the problem is an existing issue will:
4341 is needed
4442
4543To see if an issue already exists, search the bug database using the search box
46- above the list of bugs on the issues page. A form-based `advanced search `_ query
47- builder is also available on GitHub to help creating the text query you need.
44+ above the list of bugs on the issues page. See :ref: `searching-gh-issues `
45+ for more information.
46+
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.
4854
4955Reporting an issue
5056------------------
5157
58+ .. XXX: This section is slightly out of date after recent tracker changes.
59+
5260 If the problem you're reporting is not already in the `issue tracker `_, you
5361can report it using the green :guilabel: `New issue ` button on the right of the search
5462box above the list of bugs. If you're not already signed in to GitHub, it
@@ -89,6 +97,32 @@ and **Projects**. Those are filled by triagers and core
8997developers and are covered in the :ref: `triaging ` page. You don't need
9098to worry about those when reporting issues as a Python user.
9199
100+ Formatting issues and comments
101+ ------------------------------
102+
103+ There is a wonderful `beginner guide to writing and formatting on GitHub
104+ <https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github> `__.
105+ Highly recommended.
106+
107+ 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::
110+
111+ <details>
112+ <summary>This is the summary text, click me to expand</summary>
113+
114+ Here goes the long, long text.
115+ It will be collapsed by default!
116+ </details>
117+
118+
119+ How to attach files to an issue?
120+ --------------------------------
121+
122+ Drag them into the comment field, wait until the file uploads, and GitHub
123+ will automatically put a link to your file in your comment text.
124+
125+
92126Adding special links
93127--------------------
94128
@@ -104,20 +138,48 @@ Following issues
104138----------------
105139
106140If you want to subscribe yourself to an issue, click the :guilabel: `🔔 Subscribe `
107- button in the sidebar. Similarly, if you were tagged by somebody else but
108- decided this issue is not for you, click the :guilabel: `🔕 Unsubscribe `
141+ button in the sidebar. Subscribe another person to the issue by tagging them
142+ in a comment with ``@username ``. If you were tagged by somebody else
143+ but decided this issue is not for you, click the :guilabel: `🔕 Unsubscribe `
109144button in the sidebar. Note that you are automatically subscribed to
110- issues you created.
145+ issues you create or comment on.
146+
147+
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 >`__.
111156
112157Tracking dependencies and duplicates
113158------------------------------------
114159
160+ .. XXX These no longer work, the feature has been retired.
161+
115162 It is possible to use `checklists `_ to track dependencies or,
116163in case of meta-issues, to link to the other related issues.
117164
118165By writing :samp: `Duplicate of #{ NNN } ` in a comment, you can
119166`mark issues and PRs as duplicates <duplicates _>`_.
120167
168+ What on earth is a "mannequin"?
169+ -------------------------------
170+
171+ For old issues migrated to GitHub from bugs.python.org (BPO) where the authors or commenters
172+ were not core team members, we opted not to link to their GitHub accounts
173+ directly. Users not in the `python organization on GitHub
174+ <https://github.com/orgs/python/people> `__ might not like comments to
175+ appear under their name from an automated import. Others never linked GitHub on
176+ BPO in the first place so linking their account, if any, would be impossible.
177+
178+ In those cases a "mannequin" account is present to help follow the conversation
179+ that happened in the issue. In case the user did share their GitHub account
180+ name in their BPO profile, we use that. Otherwise, their classic BPO
181+ username is used instead.
182+
121183
122184Disagreement with a resolution on the issue tracker
123185===================================================
@@ -141,15 +203,10 @@ As a reminder, issues closed by a core developer have already been carefully
141203considered. Please do not reopen a closed issue. An issue can be closed with
142204reason either as ``complete `` or ``not planned ``.
143205
144- .. seealso ::
145-
146- `The Python issue tracker <issue tracker _>`_
147- Where to report issues about Python.
148-
149206
150207.. _issue tracker : https://github.com/python/cpython/issues
151208.. _advanced search : https://github.com/search/advanced
152- .. _ devguide repo : https://github.com/python/devguide/issues
209+ .. _ GitHub search syntax : https://docs. github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax
153210.. _Roundup : https://www.roundup-tracker.org/
154211.. _Python Discourse : https://discuss.python.org/
155212.. _autolinks : https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls
0 commit comments