summaryrefslogtreecommitdiff
path: root/pod/perlhack.pod
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2011-06-20 14:40:47 -0400
committerDavid Golden <dagolden@cpan.org>2011-06-20 14:40:47 -0400
commit24b68a051f54fc09ae78eb3e74154b093c890637 (patch)
treee6af4f32a7b1f42769c73252ee4ad27323538fcf /pod/perlhack.pod
parentbdb9ba77b815be9e600b895dc0e40c8a397106be (diff)
downloadperl-24b68a051f54fc09ae78eb3e74154b093c890637.tar.gz
Improve tracking of cpan-upstream overrides
We have the CUSTOMIZED field in Maintainers.pl for indicating where we expect blead to differ from a CPAN tarball. This commit documents that in perlhack and makes core-cpan-diff more aggressive about checking it and reporting about it.
Diffstat (limited to 'pod/perlhack.pod')
-rw-r--r--pod/perlhack.pod19
1 files changed, 12 insertions, 7 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod
index 6f5ea7371b..ad4a117302 100644
--- a/pod/perlhack.pod
+++ b/pod/perlhack.pod
@@ -465,14 +465,19 @@ Don't forget the exceptional, pathological cases.
This works just like patching anything else, with one extra
consideration.
-Some core modules also live on CPAN and are maintained outside of the
-Perl core. When the author updates the module, the updates are simply
-copied into the core.
-
Modules in the F<cpan/> directory of the source tree are maintained
-outside of the Perl core. See that module's listing on documentation or
-its listing on L<http://search.cpan.org/> for more information on
-reporting bugs and submitting patches.
+outside of the Perl core. When the author updates the module, the
+updates are simply copied into the core. See that module's
+documentation or its listing on L<http://search.cpan.org/> for more
+information on reporting bugs and submitting patches.
+
+In most cases, patches to modules in F<cpan/> should be sent upstream
+and should not be applied to the Perl core individually. If a patch to
+a file in F<cpan/> absolutely cannot wait for the fix to be made
+upstream, released to CPAN and copied to blead, you must add (or update) a
+C<CUSTOMIZED> entry in the F<Porting/Maintainers.pl> file to flag that a
+local modification has been made. See F<Porting/Maintainers.pl> for
+more details.
In contrast, modules in the F<dist/> directory are maintained in the
core.