From febfc89899d013b14bba853177bb9862fe4dc2f4 Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Sun, 1 Sep 2024 15:36:10 +0200 Subject: [PATCH] improve the GitHub link regular expression Also, move the "add pod links" part *before* the section about checking POD. --- Porting/release_managers_guide.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Porting/release_managers_guide.pod b/Porting/release_managers_guide.pod index 0db200bd6df1..3bce36c4a0d2 100644 --- a/Porting/release_managers_guide.pod +++ b/Porting/release_managers_guide.pod @@ -799,6 +799,10 @@ For a MAINT release use something like this instead: Ideally, also fill in a summary of the major changes to each module for which an entry has been added by F. +You should add pod links for GitHub issue references thusly: + + $ perl -p -i -e'BEGIN{undef $/}; s{(?:GH|github)\s*#(\d+)}{L}img' pod/perldelta.pod + Re-read the perldelta to try to find any embarrassing typos and thinkos; remove any C or C flags; update the "Known Problems" section with any serious issues for which fixes are not going to happen now; and @@ -814,10 +818,6 @@ formatting, e.g. $ ./perl -Ilib ext/Pod-Html/bin/pod2html pod/perldelta.pod > \ ~/perldelta.html -You should add pod links for GitHub issue references thusly: - - $ perl -p -i -e'BEGIN{undef $/}; s{((?:GH|github)\s*#)(\d+)}{L<$1$2|https://github.com/Perl/perl5/issues/$2>}img' pod/perldelta.pod - If you make changes, be sure to commit them. =for checklist skip BLEAD-POINT MAINT RC