From: Rafael Garcia-Suarez Date: Sun, 30 Aug 2009 20:35:43 +0000 (+0200) Subject: Update Porting scripts and docs for the new path of Module::CoreList X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ce7d67686eea320b2957e133f57dd60388f2044;p=p5sagit%2Fp5-mst-13.2.git Update Porting scripts and docs for the new path of Module::CoreList --- diff --git a/Porting/corelist.pl b/Porting/corelist.pl index b213f03..4bd71e9 100644 --- a/Porting/corelist.pl +++ b/Porting/corelist.pl @@ -17,7 +17,7 @@ use Maintainers qw(%Modules files_to_modules); use File::Spec; use Parse::CPAN::Meta; -my $corelist_file = 'lib/Module/CoreList.pm'; +my $corelist_file = 'ext/Module-CoreList/lib/Module/CoreList.pm'; my %lines; my %module_to_file; @@ -228,12 +228,12 @@ unless ( write_corelist($corelist); -warn "All done. Please check over lib/Module/CoreList.pm carefully before committing. Thanks!\n"; +warn "All done. Please check over $corelist_file carefully before committing. Thanks!\n"; sub write_corelist { my $content = shift; - open ( my $clfh, ">", "lib/Module/CoreList.pm") || die "Failed to open lib/Module/CoreList.pm for writing: $!"; + open (my $clfh, ">", $corelist_file) || die "Failed to open $corelist_file for writing: $!"; print $clfh $content || die "Failed to write the new CoreList.pm: $!"; close($clfh); } diff --git a/Porting/release_managers_guide.pod b/Porting/release_managers_guide.pod index 090e4ca..bc2599c 100644 --- a/Porting/release_managers_guide.pod +++ b/Porting/release_managers_guide.pod @@ -445,9 +445,9 @@ Then change to your perl checkout, and if necessary, $ make perl If this not the first update for this version, first edit -Fto delete the existing entries for this version -from the C<%released> and C<%version> hashes: they will have a key like -C<5.010001> for 5.10.1. +F to delete the existing +entries for this version from the C<%released> and C<%version> hashes: +they will have a key like C<5.010001> for 5.10.1. XXX the edit-in-place functionality of Porting/corelist.pl should be fixed to handle this automatically. @@ -462,11 +462,12 @@ Otherwise, run: This will chug for a while, possibly reporting various warnings about badly-indexed CPABN modules unreltaed to the modules actually in core. -Assuming all goes well, it will update F. +Assuming all goes well, it will update +F. Check that file over carefully: - $ git diff lib/Module/CoreList.pm + $ git diff ext/Module-CoreList/lib/Module/CoreList.pm If necessary, bump C<$VERSION> (there's no need to do this for every RC; in RC1, bump the version to a new clean number that will @@ -493,7 +494,7 @@ Finally, commit the new version of Module::CoreList: (unless this is for maint; in which case commit it blead first, then cherry-pick it back). - $ git commit -m 'Update Module::CoreList for 5.x.y' lib/Module/CoreList.pm + $ git commit -m 'Update Module::CoreList for 5.x.y' ext/Module-CoreList/lib/Module/CoreList.pm =item *