From 0692a640abbd50be1d465133f9410fc2dd7abb37 Mon Sep 17 00:00:00 2001 From: David Golden Date: Wed, 16 Feb 2011 15:52:43 -0500 Subject: [PATCH] updated blead patching instructions --- devtools/patching_blead.pod | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/devtools/patching_blead.pod b/devtools/patching_blead.pod index 791c0988..68bd8fb7 100644 --- a/devtools/patching_blead.pod +++ b/devtools/patching_blead.pod @@ -37,12 +37,6 @@ that and see what changes have been made: Examine changes and determine if they should be staged or if an error occurred. -If any files are being added or removed, be sure to edit Perl's MANIFEST file -and stage it to be committed. - - $ vim MANIFEST - $ git add MANIFEST - Next, modify the Module::Build section of Porting/Maintainers.pl to indicate the distribution file on which the patch is based. Note the version that is being replaced -- you'll need this later when creating the commit message. @@ -51,19 +45,35 @@ Update any other metadata necessary, then add this file to the index. $ vim Porting/Maintainers.pl $ git add Porting/Maintainers.pl +Now that Maintainers.pl is updated, verify that blead matches CPAN with the +core-cpan-diff tool: + + $ perl Porting/core-cpan-diff -m http://cpan.dagolden.com/ Module::Build + +If there are any differences, you can get a diff like this: + + $ perl Porting/core-cpan-diff -d -r -m http://cpan.dagolden.com/ Module::Build + +Note that the C action will copy in files, but will not remove +files in bleadperl that resulted from deletions or renames. Pay careful +attention if C suggests this is the case. You'll need to "git +rm" them by hand. + +If any files were added or removed, be sure to edit Perl's MANIFEST file +and stage it to be committed. + + $ vim MANIFEST + $ git add MANIFEST + +If any files were added or removed from F, you'll need to make +changes in F in the Perl source. + Also, you need to add a note to F in the "Updated Modules" section: $ vim pod/perldelta.pod $ git add pod/perldelta.pod -=head2 Verifying against CPAN - -Now that Maintainers.pl is updated, verify that blead matches CPAN with the -core-cpan-diff tool: - - $ perl Porting/core-cpan-diff -d -r Module::Build - =head2 Commiting the branch Commit the branch and use the editor to create a commit message. The