Skip to content

Commit 42e241f

Browse files
authored
PEP 595: replace mismatched references with inline links (#2534)
* PEP 595: replace mismatched references with inline links * PEP 595: use plaintext instead of Python formatting * PEP 595: remove redundant Emacs stanza
1 parent adf9512 commit 42e241f

File tree

1 file changed

+57
-143
lines changed

1 file changed

+57
-143
lines changed

pep-0595.rst

Lines changed: 57 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ informational PEP.
2828
Motivation
2929
==========
3030

31-
On May 14th, 2019 :pep:`581` has been accepted [#]_ without much
32-
public discussion and without a clear consensus [#]_. The PEP
33-
contains factual errors and doesn't address some of the
31+
On May 14th, 2019 :pep:`581` has been `accepted
32+
<https://mail.python.org/pipermail/python-dev/2019-May/157399.html>`_
33+
without much public discussion and `without a clear consensus
34+
<https://mail.python.org/pipermail/python-committers/2019-May/006755.html>`_.
35+
The PEP contains factual errors and doesn't address some of the
3436
issues that the migration to GitHub Issues might present.
3537

3638
Given the scope of the migration, the amount of work required,
@@ -98,13 +100,16 @@ on GitHub Issues.
98100

99101
* **Nosy list autocomplete.** The nosy list has an autocomplete
100102
feature that suggests maintainers and experts. The suggestions
101-
are automatically updated when the experts index [#]_ changes.
103+
are automatically updated when the `experts index
104+
<https://devguide.python.org/experts/>`_ changes.
102105

103106
* **Dependencies and Superseders.** Roundup allows to specify
104107
dependencies that must be addressed before the current issues
105108
can be closed and a superseder issue to easily mark duplicates
106-
[#]_. The list of dependencies can also be used to create
107-
meta-issues that references several other sub-issues [#]_.
109+
(for example, `bpo-12078 <https://bugs.python.org/issue12078>`_).
110+
The list of dependencies can also be used to create
111+
meta-issues that references several other sub-issues
112+
(for example, `bpo-26865 <https://bugs.python.org/issue26865>`_).
108113

109114

110115
Improving Roundup
@@ -115,7 +120,7 @@ and other desired features and discusses how they can be implemented
115120
by improving Roundup and/or our instance.
116121

117122
* **REST API support.** A REST API will make integration with other
118-
services and the development of new tools and applications easiers.
123+
services and the development of new tools and applications easier.
119124

120125
Upstream Roundup now supports a REST API. Updating the tracker will
121126
make the REST API available.
@@ -125,15 +130,17 @@ by improving Roundup and/or our instance.
125130
It will also solve issues with confirmation emails being marked
126131
as spam, and provide two-factor authentication.
127132

128-
A patch to add this functionality is already available and is
129-
being integrated at the time of writing [#]_.
133+
A patch to add this functionality is `already available
134+
<https://github.com/python/bugs.python.org/issues/7>`_
135+
and is being integrated at the time of writing.
130136

131137
* **Markdown support and message preview and editing.** This feature
132138
will allow the use of Markdown in messages and the ability to
133139
preview the message before the submission and edit it afterward.
134140

135141
This can be done, but it will take some work. Possible solutions
136-
have been proposed on the roundup-devel mailing list [#]_.
142+
have been proposed on the `roundup-devel mailing list
143+
<https://sourceforge.net/p/roundup/mailman/message/36667828/>`_.
137144

138145
* **"Remove me from nosy list" button.** Add a button on issue pages
139146
to remove self from the nosy list.
@@ -160,14 +167,18 @@ by improving Roundup and/or our instance.
160167
* **Add PR link to BPO emails.** Currently bpo emails don't include
161168
links to the corresponding PRs.
162169

163-
A patch [#]_ is available to change the content of the bpo emails
164-
from::
170+
A `patch <https://mail.python.org/pipermail/tracker-discuss/2018-June/004547.html>`_
171+
is available to change the content of the bpo emails from:
172+
173+
.. code-block:: text
165174
166175
components: +Tkinter
167176
versions: +Python 3.4
168177
pull_requests: +42
169178
170-
to::
179+
to:
180+
181+
.. code-block:: text
171182
172183
components: +Tkinter
173184
versions: +Python 3.4
@@ -222,7 +233,8 @@ are currently supported:
222233
* The GitHub integration of Roundup automatically closes issues
223234
when a commit that contains "fixes issue <id>" is merged.
224235
(Alternative spellings such as "closes" or "bug" are also supported.)
225-
See [#]_ for a recent example of this feature.
236+
See `this message <https://bugs.python.org/issue36951#msg342882>`_
237+
for a recent example of this feature.
226238

227239
* "Support for permalinks, allowing easy quoting and copying &
228240
pasting of source code."
@@ -239,15 +251,19 @@ are currently supported:
239251
write and maintain bots.
240252

241253
In some cases, bots are required to workaround GitHub's lack of
242-
features rather than expanding. [#]_ was written
243-
specifically to workaround GitHub's email integration.
254+
features rather than expanding. `This webhook
255+
<https://github.com/berkerpeksag/cpython-emailer-webhook>`_
256+
was written specifically to workaround GitHub's email integration.
244257

245258
Updating our bots to stay up-to-date with changes in the GitHub API
246-
has also maintenance cost. [#]_ took two days to be fixed.
259+
has also maintenance cost. `This recent incident caused by GitHub
260+
<https://github.com/python/bedevere/pull/163>`_
261+
took two days to be fixed.
247262

248263
In addition, we will still need to maintain Roundup for bpo (even
249264
if it becomes read-only) and for the other trackers
250-
we currently host/maintain (Jython [#]_ and Roundup [#]_).
265+
we currently host/maintain (`Jython <https://bugs.jython.org/>`_
266+
and `Roundup <https://issues.roundup-tracker.org/>`_).
251267

252268
The "Issues with Roundup / bpo" section of :pep:`581` lists some issues
253269
that have already been fixed:
@@ -256,8 +272,11 @@ that have already been fixed:
256272
it puts heavy burden on the few existing maintainers in terms of
257273
reviewing, testing, and applying patches."
258274

259-
* While Roundup uses Mercurial by default, there is a git clone
260-
available on GitHub [#]_. Roundup also has CI available [#]_ [#]_.
275+
* While Roundup uses Mercurial by default, there is a `git clone
276+
available on GitHub <https://github.com/roundup-tracker/roundup>`_.
277+
Roundup also has CI available on `Travis CI
278+
<https://github.com/roundup-tracker/roundup>`_ and `Codecov
279+
<https://codecov.io/gh/roundup-tracker/roundup/commits>`_.
261280

262281
* "There is no REST API available. There is an open issue in Roundup for
263282
adding REST API. Last activity was in 2016."
@@ -271,7 +290,8 @@ that have already been fixed:
271290

272291
This has now been changed to make the email addresses hidden for
273292
regular users too (Developers and Coordinators can still see them).
274-
The "Email address" column from the user listing page [#]_ has been
293+
The "Email address" column from the `user listing page
294+
<https://bugs.python.org/user?@sort=username>`_ has been
275295
removed too.
276296

277297
* "It sends a number of unnecessary emails and notifications, and it is
@@ -362,11 +382,12 @@ need to be addressed regardless of the approach used:
362382
redirects and preserve external links to GitHub issues.
363383

364384
* **References preservation and updating.** In addition to issue
365-
references, bpo converts a number of other references into links,
385+
references, bpo `converts a number of other references into links
386+
<https://devguide.python.org/triaging/#generating-special-links-in-a-comment>`_,
366387
including message and PR IDs, changeset numbers, legacy SVN
367388
revision numbers, paths to files in the repo, files in tracebacks
368389
(detecting the correct branch), and links to devguide pages and
369-
sections [#]_.
390+
sections.
370391

371392
Since Roundup converts references to links when messages are
372393
requested, it is possible to update the target and generate the
@@ -403,145 +424,38 @@ need to be addressed regardless of the approach used:
403424
* **Signal to noise ratio.** Switching to GitHub Issues will
404425
likely increase the number of invalid reports and increase
405426
the triaging effort. This concern has been raised in the past
406-
in a Zulip topic [#]_.
427+
in a `Zulip topic
428+
<https://python.zulipchat.com/#narrow/stream/130206-pep581/topic/s.2Fn.20ratio>`_.
407429

408430
There have been already cases where people posted comments on
409431
PRs that required moderators to mark them as off-topic or
410432
disruptive, delete them altogether, and even lock the
411-
conversation [#]_.
433+
conversation (for example, `this PR
434+
<https://github.com/python/cpython/pull/9099>`_.
412435

413436
* **Weekly tracker reports and stats.** Roundup sends weekly reports
414437
to python-dev with a summary that includes new issues, recent
415438
issues with no replies, recent issues waiting for review, most
416439
discussed issues, closed issues, and deltas for open/closed/total
417-
issue counts [#]_. The report provides an easy way to keep track
440+
issue counts (for example, see `this summary
441+
<https://mail.python.org/pipermail/python-dev/2019-May/157483.html>`_).
442+
The report provides an easy way to keep track
418443
of the tracker activity and to make sure that issues that require
419444
attention are noticed.
420445

421-
The data collect by the weekly report is also use to generate
422-
statistics and graphs that can be used to gain new insights [#]_.
446+
The data collect by the weekly report is also used to generate
447+
`statistics and graphs <https://bugs.python.org/issue?@template=stats>`_
448+
that can be used to gain new insights.
423449

424450
* **bpo-related MLs.** There are currently two mailing lists where
425451
bpo posts new tracker issues and all messages respectively:
426-
``new-bugs-announce`` [#]_ and ``python-bugs-list`` [#]_. A new system
427-
will need to be developed to preserve this functionality. These MLs
452+
`new-bugs-announce <https://mail.python.org/mailman/listinfo/new-bugs-announce>`_
453+
and `python-bugs-list <https://mail.python.org/mailman/listinfo/python-bugs-list>`_.
454+
A new system will need to be developed to preserve this functionality. These MLs
428455
offer additional ways to keep track of the tracker activity.
429456

430457

431-
References
432-
==========
433-
434-
.. [#] [Python-Dev] PEP 581 (Using GitHub issues for CPython) is accepted
435-
436-
https://mail.python.org/pipermail/python-dev/2019-May/157399.html
437-
438-
.. [#] [python-committers] [Python-Dev] PEP 581 (Using GitHub issues
439-
for CPython) is accepted
440-
441-
https://mail.python.org/pipermail/python-committers/2019-May/006755.html
442-
443-
.. [#] Experts Index -- Python Devguide
444-
445-
https://devguide.python.org/experts/
446-
447-
.. [#] An example of superseded issues:
448-
"re.sub() replaces only several matches"
449-
450-
https://bugs.python.org/issue12078
451-
452-
.. [#] An example of meta issue using dependencies to track sub-issues:
453-
"Meta-issue: support of the android platform""
454-
455-
https://bugs.python.org/issue26865
456-
457-
.. [#] Support logging in with GitHub
458-
459-
https://github.com/python/bugs.python.org/issues/7
460-
461-
.. [#] Re: [Roundup-devel] PEP 581 and Google Summer of Code
462-
463-
https://sourceforge.net/p/roundup/mailman/message/36667828/
464-
465-
.. [#] [Tracker-discuss] [issue624] bpo emails contain useless non-github
466-
pull_request number - users want a link to actual github PR
467-
468-
https://mail.python.org/pipermail/tracker-discuss/2018-June/004547.html
469-
470-
.. [#] The commit reported in msg342882 closes the issue (see the history below)
471-
472-
https://bugs.python.org/issue36951#msg342882
473-
474-
.. [#] The cpython-emailer-webhook project
475-
476-
https://github.com/berkerpeksag/cpython-emailer-webhook
477-
478-
.. [#] A recent incident caused by GitHub
479-
480-
https://github.com/python/bedevere/pull/163
481-
482-
.. [#] Jython issue tracker
483-
484-
https://bugs.jython.org/
485-
486-
.. [#] Roundup issue tracker
487-
488-
https://issues.roundup-tracker.org/
489-
490-
.. [#] GitHub clone of Roundup
491-
492-
https://github.com/roundup-tracker/roundup
493-
494-
.. [#] Travis-CI for Roundup
495-
496-
https://travis-ci.org/roundup-tracker/roundup) and codecov
497-
498-
.. [#] Codecov for Roundup
499-
500-
https://codecov.io/gh/roundup-tracker/roundup/commits
501-
502-
.. [#] User listing -- Python tracker
503-
504-
https://bugs.python.org/user?@sort=username
505-
506-
.. [#] Generating Special Links in a Comment -- Python Devguide
507-
508-
https://devguide.python.org/triaging/#generating-special-links-in-a-comment
509-
510-
.. [#] The New-bugs-announce mailing list
511-
512-
https://mail.python.org/mailman/listinfo/new-bugs-announce
513-
514-
.. [#] The Python-bugs-list mailing list
515-
516-
https://mail.python.org/mailman/listinfo/python-bugs-list
517-
518-
.. [#] An example of [Python-Dev] Summary of Python tracker Issues
519-
520-
https://mail.python.org/pipermail/python-dev/2019-May/157483.html
521-
522-
.. [#] Issues stats -- Python tracker
523-
524-
https://bugs.python.org/issue?@template=stats
525-
526-
.. [#] s/n ratio -- Python -- Zulip
527-
528-
https://python.zulipchat.com/#narrow/stream/130206-pep581/topic/s.2Fn.20ratio
529-
530-
.. [#] For example, this and other related PRs:
531-
532-
https://github.com/python/cpython/pull/9099
533-
534-
535458
Copyright
536459
=========
537460

538461
This document has been placed in the public domain.
539-
540-
..
541-
Local Variables:
542-
mode: indented-text
543-
indent-tabs-mode: nil
544-
sentence-end-double-space: t
545-
fill-column: 70
546-
coding: utf-8
547-
End:

0 commit comments

Comments
 (0)