Skip to content

Commit 2569225

Browse files
RMG: Simplify the corelist section
1 parent 1d7f1a4 commit 2569225

File tree

1 file changed

+13
-45
lines changed

1 file changed

+13
-45
lines changed

Porting/release_managers_guide.pod

Lines changed: 13 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -717,55 +717,23 @@ F<dist/Module-CoreList/lib/Module/CoreList/Utils.pm>
717717

718718
=head4 Update C<Module::CoreList> with module version data for the new release
719719

720-
Note that if this is a MAINT release, you should run the following actions
721-
from the maint branch, but commit the C<CoreList.pm> changes in
722-
I<blead> and subsequently cherry-pick any releases since the last
723-
maint release and then your recent commit. XXX need a better example
724-
725-
[ Note that the procedure for handling Module::CoreList in maint branches
726-
is a bit complex, and the RMG currently don't describe a full and
727-
workable approach. The main issue is keeping Module::CoreList
728-
and its version number synchronised across all maint branches, blead and
729-
CPAN, while having to bump its version number for every RC release.
730-
See this brief p5p thread:
731-
732-
Message-ID: <[email protected]>
733-
734-
If you can devise a workable system, feel free to try it out, and to
735-
update the RMG accordingly!
736-
737-
DAPM May 2013 ]
738-
739-
F<corelist.pl> uses www.cpan.org to verify information about dual-lived
740-
modules on CPAN. It can use a full, local CPAN mirror and/or fall back
741-
on HTTP::Tiny to fetch package metadata remotely.
742-
743-
(If you'd prefer to have a full CPAN mirror, see
744-
L<How to mirror CPAN|https://www.cpan.org/misc/how-to-mirror.html>)
745-
746-
Change to your perl checkout, and if necessary,
747-
748-
$ make
749-
750-
Then, If you have a local CPAN mirror, run:
751-
752-
$ ./perl -Ilib Porting/corelist.pl ~/my-cpan-mirror
753-
754-
Otherwise, run:
720+
For BLEAD-POINT, RC and BLEAD-FINAL, run:
755721

756722
$ ./perl -Ilib Porting/corelist.pl cpan
757723

758-
This will chug for a while, possibly reporting various warnings about
759-
badly-indexed CPAN modules unrelated to the modules actually in core.
760-
Assuming all goes well, it will update
761-
F<dist/Module-CoreList/lib/Module/CoreList.pm> and possibly
762-
F<dist/Module-CoreList/lib/Module/CoreList/Utils.pm>.
763-
764724
Check those files over carefully:
765725

766726
$ git diff dist/Module-CoreList/lib/Module/CoreList.pm
767727
$ git diff dist/Module-CoreList/lib/Module/CoreList/Utils.pm
768728

729+
If you have a L<local CPAN mirror|https://www.cpan.org/misc/how-to-mirror.html>, run:
730+
731+
$ ./perl -Ilib Porting/corelist.pl ~/my-cpan-mirror
732+
733+
The procedure for MAINT releases is not straighforward and implies to pick past
734+
updates (e.g. from BLEAD-POINT) into the corelist. See
735+
L<Handling Module::CoreList in MAINT branches (Dave Mitchell)|https://www.nntp.perl.org/group/perl.perl5.porters/2013/03/msg200007.html>.
736+
769737
=head4 Bump version in Module::CoreList F<Changes>
770738

771739
Also edit Module::CoreList's new version number in its F<Changes> file.
@@ -1567,13 +1535,13 @@ and F<dist/Module-CoreList/lib/Module/CoreList/Utils.pm>.
15671535

15681536
=item *
15691537

1570-
If you have a local CPAN mirror, run:
1538+
In most cases, run:
15711539

1572-
$ ./perl -Ilib Porting/corelist.pl ~/my-cpan-mirror
1540+
$ ./perl -Ilib Porting/corelist.pl cpan
15731541

1574-
Otherwise, run:
1542+
If you have a L<local CPAN mirror|https://www.cpan.org/misc/how-to-mirror.html>, run:
15751543

1576-
$ ./perl -Ilib Porting/corelist.pl cpan
1544+
$ ./perl -Ilib Porting/corelist.pl ~/my-cpan-mirror
15771545

15781546
This will update F<dist/Module-CoreList/lib/Module/CoreList.pm> and
15791547
F<dist/Module-CoreList/lib/Module/CoreList/Utils.pm> as it did before,

0 commit comments

Comments
 (0)