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,8 +41,16 @@ 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------------------
@@ -89,6 +95,32 @@ and **Projects**. Those are filled by triagers and core
8995developers and are covered in the :ref: `triaging ` page. You don't need
9096to worry about those when reporting issues as a Python user.
9197
98+ Formatting issues and comments
99+ ------------------------------
100+
101+ There is a wonderful `beginner guide to writing and formatting on GitHub
102+ <https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github> `__.
103+ Highly recommended.
104+
105+ One pro-tip we can sell you right here is that if you want to paste
106+ some longer log as a comment, attach a file instead (see how below).
107+ If you still insist on pasting it in your comment, do it like this::
108+
109+ <details>
110+ <summary>This is the summary text, click me to expand</summary>
111+
112+ Here goes the long, long text.
113+ It will be collapsed by default!
114+ </details>
115+
116+
117+ How to attach files to an issue?
118+ --------------------------------
119+
120+ Drag them into the comment field, wait until the file uploads, and GitHub
121+ will automatically put a link to your file in your comment text.
122+
123+
92124Adding special links
93125--------------------
94126
@@ -107,17 +139,47 @@ If you want to subscribe yourself to an issue, click the :guilabel:`🔔 Subscri
107139button in the sidebar. Similarly, if you were tagged by somebody else but
108140decided this issue is not for you, click the :guilabel: `🔕 Unsubscribe `
109141button in the sidebar. Note that you are automatically subscribed to
110- issues you created.
142+ issues you create or comment on.
143+
144+ Subscribe another person to the issue by tagging them in the comment with
145+ ``@username ``.
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 issues migrated to GitHub from `bpo `_ where the authors or commenters
172+ are 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