# on the name of the distribution, e.g. 'Locale-Codes' for
# Locale-Codes-N.NN.tar.gz'.
+# UPSTREAM indicates where patches should go. This is generally now
+# inferred from the FILES: modules with files in dist/, ext/ and lib/
+# are understood to have UPSTREAM 'blead', meaning that the copy of the
+# module in the blead sources is to be considered canonical, while
+# modules with files in cpan/ are understood to have UPSTREAM 'cpan',
+# meaning that the module on CPAN is to be patched first.
+
# MAINTAINER indicates who the current maintainer of the module is. For
# modules with no MAINTAINER field given, this is understood to be either
-# the Perl 5 Porters if there is no DISTRIBUTION field or the UPSTREAM
-# field is set to 'blead', or else the CPAN author whose PAUSE user ID
-# forms the first part of the DISTRIBUTION value, e.g. 'BINGOS' in the
-# case of 'BINGOS/Archive-Tar-1.92.tar.gz'. (PAUSE's View Permissions
-# page may be consulted to find other authors who have owner or co-maint
-# permissions for the module in question.) The few explicitly listed
-# MAINTAINERs refer to authors whose email address is listed in the
+# the Perl 5 Porters if UPSTREAM is 'blead', or else the CPAN author whose
+# PAUSE user ID forms the first part of the DISTRIBUTION value, e.g.
+# 'BINGOS' in the case of 'BINGOS/Archive-Tar-1.92.tar.gz'. (PAUSE's View
+# Permissions page may be consulted to find other authors who have owner
+# or co-maint permissions for the module in question.) The few explicitly
+# listed MAINTAINERs refer to authors whose email address is listed in the
# %Maintainers hash above.
# FILES is a list of filenames, glob patterns, and directory
# names to be recursed down, which collectively generate a complete list
# of the files associated with the distribution.
-# UPSTREAM indicates where patches should go.
-# "blead" indicates that the copy of the module in the blead
-# sources is to be considered canonical, "cpan" means that the
-# module on CPAN is to be patched first.
-
# BUGS is an email or url to post bug reports. For modules with
# UPSTREAM => 'blead', use perl5-porters@perl.org. rt.cpan.org
# appears to automatically provide a URL for CPAN modules; any value
'Archive::Tar' => {
'DISTRIBUTION' => 'BINGOS/Archive-Tar-1.92.tar.gz',
'FILES' => q[cpan/Archive-Tar],
- 'UPSTREAM' => 'cpan',
'BUGS' => 'bug-archive-tar@rt.cpan.org',
},
'Attribute::Handlers' => {
'DISTRIBUTION' => 'SMUELLER/Attribute-Handlers-0.93.tar.gz',
'FILES' => q[dist/Attribute-Handlers],
- 'UPSTREAM' => 'blead',
},
'autodie' => {
# Waiting to be merged upstream: see CPAN RT#87237
qw( t/utf8_open.t ),
],
- 'UPSTREAM' => 'cpan',
},
'AutoLoader' => {
'DISTRIBUTION' => 'SMUELLER/AutoLoader-5.73.tar.gz',
'FILES' => q[cpan/AutoLoader],
'EXCLUDED' => ['t/00pod.t'],
- 'UPSTREAM' => 'cpan',
},
'autouse' => {
'DISTRIBUTION' => 'FLORA/autouse-1.07.tar.gz',
'FILES' => q[dist/autouse],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'B' => {
t/concise.t
),
],
- 'UPSTREAM' => 'blead',
},
'B::Concise' => {
'MAINTAINER' => 'SMCCAM',
'FILES' => q[ext/B/B/Concise.pm ext/B/t/concise.t],
- 'UPSTREAM' => 'blead',
},
'B::Debug' => {
'DISTRIBUTION' => 'RURBAN/B-Debug-1.18.tar.gz',
'FILES' => q[cpan/B-Debug],
'EXCLUDED' => ['t/pod.t'],
- 'UPSTREAM' => 'cpan',
},
'B::Deparse' => {
'MAINTAINER' => 'SMCCAM',
'FILES' => q[dist/B-Deparse],
- 'UPSTREAM' => 'blead',
},
'base' => {
'DISTRIBUTION' => 'RGARCIA/base-2.18.tar.gz',
'FILES' => q[dist/base],
- 'UPSTREAM' => 'blead',
},
'bignum' => {
t/pod_cov.t
),
],
- 'UPSTREAM' => 'blead',
},
'Carp' => {
'DISTRIBUTION' => 'ZEFRAM/Carp-1.32.tar.gz',
'FILES' => q[dist/Carp],
- 'UPSTREAM' => 'blead',
},
'CGI' => {
t/fast.t
),
],
- 'UPSTREAM' => 'cpan',
},
'Compress::Raw::Bzip2' => {
qr{^t/Test/},
'bzip2-src/bzip2-cpp.patch',
],
- 'UPSTREAM' => 'cpan',
},
'Compress::Raw::Zlib' => {
t/99pod.t
),
],
- 'UPSTREAM' => 'cpan',
},
'Config::Perl::V' => {
'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.19.tgz',
'FILES' => q[cpan/Config-Perl-V],
'EXCLUDED' => ['examples/show-v.pl'],
- 'UPSTREAM' => 'cpan',
},
'constant' => {
eg/synopsis.pl
),
],
- 'UPSTREAM' => 'blead',
},
'CPAN' => {
t/yaml_code.yml
),
],
- 'UPSTREAM' => 'cpan',
},
# Note: When updating CPAN-Meta the META.* files will need to be regenerated
qr{^xt},
qr{^history},
],
- 'UPSTREAM' => 'cpan',
},
'CPAN::Meta::Requirements' => {
qr{^xt},
qr{^history},
],
- 'UPSTREAM' => 'cpan',
},
'CPAN::Meta::YAML' => {
't/04_scalar.t', # requires YAML.pm
qr{^xt},
],
- 'UPSTREAM' => 'cpan',
},
'Data::Dumper' => {
'DISTRIBUTION' => 'SMUELLER/Data-Dumper-2.145.tar.gz',
'FILES' => q[dist/Data-Dumper],
- 'UPSTREAM' => 'blead',
},
'DB_File' => {
fallback.xs
),
],
- 'UPSTREAM' => 'cpan',
},
'Devel::PPPort' => {
'DISTRIBUTION' => 'MHX/Devel-PPPort-3.21.tar.gz',
+ # RJBS has asked MHX to have UPSTREAM be 'blead'
+ # (i.e. move this from cpan/ to dist/)
'FILES' => q[cpan/Devel-PPPort],
'EXCLUDED' => ['PPPort.pm'], # we use PPPort_pm.PL instead
-
- # RJBS has asked MHX to have UPSTREAM be 'blead'
- # (move this from cpan/ to dist/ if that happens)
- 'UPSTREAM' => 'cpan',
},
'Devel::SelfStubber' => {
'DISTRIBUTION' => 'FLORA/Devel-SelfStubber-1.05.tar.gz',
'FILES' => q[dist/Devel-SelfStubber],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Digest' => {
'DISTRIBUTION' => 'GAAS/Digest-1.17.tar.gz',
'FILES' => q[cpan/Digest],
'EXCLUDED' => ['digest-bench'],
- 'UPSTREAM' => "cpan",
},
'Digest::MD5' => {
'DISTRIBUTION' => 'GAAS/Digest-MD5-2.53.tar.gz',
'FILES' => q[cpan/Digest-MD5],
'EXCLUDED' => ['rfc1321.txt'],
- 'UPSTREAM' => "cpan",
},
'Digest::SHA' => {
examples/dups
),
],
- 'UPSTREAM' => 'cpan',
},
'Dumpvalue' => {
'DISTRIBUTION' => 'FLORA/Dumpvalue-1.17.tar.gz',
'FILES' => q[dist/Dumpvalue],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Encode' => {
'DISTRIBUTION' => 'DANKOGAI/Encode-2.55.tar.gz',
'FILES' => q[cpan/Encode],
- 'UPSTREAM' => 'cpan',
},
'encoding::warnings' => {
qr{^inc/Module/},
qw(t/0-signature.t),
],
- 'UPSTREAM' => 'cpan',
},
'Env' => {
'DISTRIBUTION' => 'FLORA/Env-1.04.tar.gz',
'FILES' => q[dist/Env],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Exporter' => {
t/use.t
),
],
- 'UPSTREAM' => 'blead',
},
'ExtUtils::CBuilder' => {
qw(README.mkdn),
qr{^xt},
],
- 'UPSTREAM' => 'blead',
},
'ExtUtils::Command' => {
'DISTRIBUTION' => 'FLORA/ExtUtils-Command-1.18.tar.gz',
'FILES' => q[dist/ExtUtils-Command],
'EXCLUDED' => [qr{^t/release-}],
- 'UPSTREAM' => 'blead',
},
'ExtUtils::Constant' => {
examples/perl_regcomp_posix_keyword.pl
),
],
- 'UPSTREAM' => 'cpan',
},
'ExtUtils::Install' => {
t/pod.t
),
],
- 'UPSTREAM' => 'blead',
},
'ExtUtils::MakeMaker' => {
qr{^t/liblist/},
qr{^\.perlcriticrc},
],
- 'UPSTREAM' => 'cpan',
},
'ExtUtils::Manifest' => {
'DISTRIBUTION' => 'FLORA/ExtUtils-Manifest-1.63.tar.gz',
'FILES' => q[dist/ExtUtils-Manifest],
'EXCLUDED' => [qr(t/release-.*\.t)],
- 'UPSTREAM' => 'blead',
},
'ExtUtils::ParseXS' => {
'DISTRIBUTION' => 'SMUELLER/ExtUtils-ParseXS-3.22.tar.gz',
'FILES' => q[dist/ExtUtils-ParseXS],
- 'UPSTREAM' => 'blead',
},
'File::Fetch' => {
'DISTRIBUTION' => 'BINGOS/File-Fetch-0.44.tar.gz',
'FILES' => q[cpan/File-Fetch],
- 'UPSTREAM' => 'cpan',
},
'File::Path' => {
'' => 'cpan/File-Path/lib/File/',
't/' => 'cpan/File-Path/t/',
},
- 'UPSTREAM' => 'cpan',
},
'File::Temp' => {
qw[t/00-report-prereqs.t],
qr{^xt},
],
- 'UPSTREAM' => 'cpan',
},
'Filter::Simple' => {
'EXCLUDED' => [
qr{^demo/}
],
- 'UPSTREAM' => 'blead',
},
'Filter::Util::Call' => {
'perlfilter.pod' => 'pod/perlfilter.pod',
'' => 'cpan/Filter-Util-Call/',
},
- 'UPSTREAM' => 'cpan',
},
'Getopt::Long' => {
t/gol-compat.t
),
],
- 'UPSTREAM' => 'cpan',
},
'HTTP::Tiny' => {
qr/^eg/,
qr/^xt/
],
- 'UPSTREAM' => 'cpan',
},
'I18N::Collate' => {
'DISTRIBUTION' => 'FLORA/I18N-Collate-1.02.tar.gz',
'FILES' => q[dist/I18N-Collate],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'I18N::LangTags' => {
'FILES' => q[dist/I18N-LangTags],
- 'UPSTREAM' => 'blead',
},
'if' => {
'DISTRIBUTION' => 'ILYAZ/modules/if-0.0601.tar.gz',
'FILES' => q[dist/if],
- 'UPSTREAM' => 'blead',
},
'IO' => {
'DISTRIBUTION' => 'GBARR/IO-1.25.tar.gz',
'FILES' => q[dist/IO/],
'EXCLUDED' => ['t/test.pl'],
- 'UPSTREAM' => 'blead',
},
'IO-Compress' => {
'DISTRIBUTION' => 'PMQS/IO-Compress-2.062.tar.gz',
'FILES' => q[cpan/IO-Compress],
'EXCLUDED' => [qr{t/Test/}],
- 'UPSTREAM' => 'cpan',
},
'IO::Zlib' => {
'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.10.tar.gz',
'FILES' => q[cpan/IO-Zlib],
- 'UPSTREAM' => 'cpan',
},
'IPC::Cmd' => {
'DISTRIBUTION' => 'BINGOS/IPC-Cmd-0.84.tar.gz',
'FILES' => q[cpan/IPC-Cmd],
- 'UPSTREAM' => 'cpan',
},
'IPC::SysV' => {
const-xs.inc
),
],
- 'UPSTREAM' => 'cpan',
},
'JSON::PP' => {
'EXCLUDED' => [
't/900_pod.t', # Pod testing
],
- 'UPSTREAM' => 'cpan',
},
'lib' => {
t/00pod.t
),
],
- 'UPSTREAM' => 'blead',
},
'libnet' => {
# Customized for perl since we cannot use either an auto-generated
# script or the version in the CPAN distro.
'CUSTOMIZED' => ['Makefile.PL'],
- 'UPSTREAM' => 'cpan',
},
'Locale-Codes' => {
qr{^internal/},
qr{^examples/},
],
- 'UPSTREAM' => 'cpan',
},
'Locale::Maketext' => {
t/pod.t
),
],
- 'UPSTREAM' => 'blead',
},
'Locale::Maketext::Simple' => {
'DISTRIBUTION' => 'JESSE/Locale-Maketext-Simple-0.21.tar.gz',
'FILES' => q[cpan/Locale-Maketext-Simple],
'EXCLUDED' => [qr{^inc/}],
- 'UPSTREAM' => 'cpan',
},
'Math::BigInt' => {
t/03podcov.t
),
],
- 'UPSTREAM' => 'blead',
},
'Math::BigInt::FastCalc' => {
t/mbimbf.t
),
],
- 'UPSTREAM' => 'blead',
},
'Math::BigRat' => {
t/03podcov.t
),
],
- 'UPSTREAM' => 'blead',
},
'Math::Complex' => {
t/pod-coverage.t
),
],
- 'UPSTREAM' => 'cpan',
},
'Memoize' => {
'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
'FILES' => q[cpan/Memoize],
'EXCLUDED' => ['article.html'],
- 'UPSTREAM' => 'cpan',
},
'MIME::Base64' => {
'DISTRIBUTION' => 'GAAS/MIME-Base64-3.14.tar.gz',
'FILES' => q[cpan/MIME-Base64],
'EXCLUDED' => ['t/bad-sv.t'],
- 'UPSTREAM' => 'cpan',
},
#
# Generated file, not part of the CPAN distro:
'CUSTOMIZED' => ['lib/Module/Build/ConfigData.pm'],
'DEPRECATED' => '5.019000',
- 'UPSTREAM' => 'cpan',
},
'Module::CoreList' => {
'DISTRIBUTION' => 'BINGOS/Module-CoreList-2.99.tar.gz',
'FILES' => q[dist/Module-CoreList],
- 'UPSTREAM' => 'blead',
},
'Module::Load' => {
'DISTRIBUTION' => 'BINGOS/Module-Load-0.24.tar.gz',
'FILES' => q[cpan/Module-Load],
- 'UPSTREAM' => 'cpan',
},
'Module::Load::Conditional' => {
'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.58.tar.gz',
'FILES' => q[cpan/Module-Load-Conditional],
- 'UPSTREAM' => 'cpan',
},
'Module::Loaded' => {
'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
'FILES' => q[cpan/Module-Loaded],
- 'UPSTREAM' => 'cpan',
},
'Module::Metadata' => {
qr{^maint},
qr{^xt},
],
- 'UPSTREAM' => 'cpan',
},
'Net::Ping' => {
qr{^.travis.yml},
qr{^README.md},
],
- 'UPSTREAM' => 'blead',
},
'NEXT' => {
'DISTRIBUTION' => 'FLORA/NEXT-0.65.tar.gz',
'FILES' => q[cpan/NEXT],
'EXCLUDED' => [qr{^demo/}],
- 'UPSTREAM' => 'cpan',
},
'Package::Constants' => {
'DISTRIBUTION' => 'KANE/Package-Constants-0.02.tar.gz',
'FILES' => q[cpan/Package-Constants],
- 'UPSTREAM' => 'cpan',
},
'Params::Check' => {
'DISTRIBUTION' => 'BINGOS/Params-Check-0.38.tar.gz',
'EXCLUDED' => ['Params-Check-0.26.tar.gz'],
'FILES' => q[cpan/Params-Check],
- 'UPSTREAM' => 'cpan',
},
'parent' => {
'DISTRIBUTION' => 'CORION/parent-0.228.tar.gz',
'FILES' => q[cpan/parent],
- 'UPSTREAM' => 'cpan',
},
'Parse::CPAN::Meta' => {
qw[t/00-report-prereqs.t],
qr{^xt},
],
- 'UPSTREAM' => 'cpan',
},
'PathTools' => {
'DISTRIBUTION' => 'SMUELLER/PathTools-3.40.tar.gz',
'FILES' => q[dist/Cwd],
'EXCLUDED' => [qr{^t/lib/Test/}],
- 'UPSTREAM' => "blead",
# NOTE: PathTools is in dist/Cwd/ instead of dist/PathTools because it
# contains Cwd.xs and something, possibly Makefile.SH, makes an assumption
'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.006.tar.gz',
'FILES' => q[cpan/Perl-OSType],
'EXCLUDED' => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
- 'UPSTREAM' => 'cpan',
},
'perlfaq' => {
t/release-no-tabs.t
)
],
- 'UPSTREAM' => 'cpan',
},
'PerlIO::via::QuotedPrint' => {
),
],
- 'UPSTREAM' => 'cpan',
},
'Pod::Checker' => {
'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.60.tar.gz',
'FILES' => q[cpan/Pod-Checker],
- 'UPSTREAM' => 'cpan',
},
'Pod::Escapes' => {
'DISTRIBUTION' => 'SBURKE/Pod-Escapes-1.04.tar.gz',
'FILES' => q[cpan/Pod-Escapes],
- 'UPSTREAM' => 'cpan',
},
'Pod::Parser' => {
'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.61.tar.gz',
'FILES' => q[cpan/Pod-Parser],
- 'UPSTREAM' => 'cpan',
},
'Pod::Perldoc' => {
# XXX We can and should fix this, but clean up the DRY-failure in utils
# first
'EXCLUDED' => ['perldoc'],
- 'UPSTREAM' => 'cpan',
},
'Pod::Simple' => {
'DISTRIBUTION' => 'DWHEELER/Pod-Simple-3.28.tar.gz',
'FILES' => q[cpan/Pod-Simple],
- 'UPSTREAM' => 'cpan',
},
'Pod::Usage' => {
'DISTRIBUTION' => 'MAREKR/Pod-Usage-1.63.tar.gz',
'FILES' => q[cpan/Pod-Usage],
- 'UPSTREAM' => 'cpan',
},
'podlators' => {
# this file lives outside the cpan/ directory
'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
},
- 'UPSTREAM' => 'cpan',
},
'Safe' => {
'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
'FILES' => q[dist/Safe],
- 'UPSTREAM' => 'blead',
},
'Scalar-List-Utils' => {
qr{^inc/Test/},
'mytypemap',
],
- 'UPSTREAM' => 'cpan',
},
'Search::Dict' => {
'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
'FILES' => q[dist/Search-Dict],
'EXCLUDED' => [qr{^t/release-.*\.t},qr{^README\..*}],
- 'UPSTREAM' => 'blead',
},
'SelfLoader' => {
'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.20.tar.gz',
'FILES' => q[dist/SelfLoader],
'EXCLUDED' => ['t/00pod.t'],
- 'UPSTREAM' => 'blead',
},
'Socket' => {
'DISTRIBUTION' => 'PEVANS/Socket-2.012.tar.gz',
'FILES' => q[cpan/Socket],
- 'UPSTREAM' => 'cpan',
},
'Storable' => {
'DISTRIBUTION' => 'AMS/Storable-2.45.tar.gz',
'FILES' => q[dist/Storable],
'EXCLUDED' => [qr{^t/Test/}],
- 'UPSTREAM' => 'blead',
},
'Sys::Syslog' => {
win32/PerlLog.RES
),
],
- 'UPSTREAM' => 'cpan',
},
'Term::ANSIColor' => {
t/synopsis.t
),
],
- 'UPSTREAM' => 'cpan',
},
'Term::Cap' => {
),
],
- 'UPSTREAM' => 'cpan',
},
'Term::Complete' => {
'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
'FILES' => q[dist/Term-Complete],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Term::ReadLine' => {
'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
'FILES' => q[dist/Term-ReadLine],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Test' => {
'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
'FILES' => q[cpan/Test],
- 'UPSTREAM' => 'cpan',
},
'Test::Harness' => {
t/lib/if.pm
),
],
- 'UPSTREAM' => 'cpan',
},
'Test::Simple' => {
lib/Test/Builder/IO/Scalar.pm
),
],
- 'UPSTREAM' => 'cpan',
},
'Text::Abbrev' => {
'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
'FILES' => q[dist/Text-Abbrev],
'EXCLUDED' => [qr{^t/release-.*\.t}],
- 'UPSTREAM' => 'blead',
},
'Text::Balanced' => {
),
],
- 'UPSTREAM' => 'cpan',
},
'Text::ParseWords' => {
'ParseWords.pm' => 'cpan/Text-ParseWords/lib/Text/ParseWords.pm',
'' => 'cpan/Text-ParseWords/',
},
- 'UPSTREAM' => 'cpan',
},
'Text-Tabs+Wrap' => {
'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
},
- 'UPSTREAM' => 'cpan',
},
'Thread::Queue' => {
t/test.pl
),
],
- 'UPSTREAM' => 'blead',
},
'Thread::Semaphore' => {
t/test.pl
),
],
- 'UPSTREAM' => 'blead',
},
'threads' => {
threads.h
),
],
- 'UPSTREAM' => 'blead',
},
'threads::shared' => {
t/test.pl
),
],
- 'UPSTREAM' => 'blead',
},
'Tie::File' => {
'DISTRIBUTION' => 'TODDR/Tie-File-0.98.tar.gz',
'FILES' => q[dist/Tie-File],
- 'UPSTREAM' => 'blead',
},
'Tie::RefHash' => {
'DISTRIBUTION' => 'FLORA/Tie-RefHash-1.39.tar.gz',
'FILES' => q[cpan/Tie-RefHash],
- 'UPSTREAM' => 'cpan',
},
'Time::HiRes' => {
'DISTRIBUTION' => 'ZEFRAM/Time-HiRes-1.9726.tar.gz',
'FILES' => q[cpan/Time-HiRes],
- 'UPSTREAM' => 'cpan',
},
'Time::Local' => {
),
qr{^t/release-.*\.t},
],
- 'UPSTREAM' => 'cpan',
},
'Time::Piece' => {
'DISTRIBUTION' => 'RJBS/Time-Piece-1.23.tar.gz',
'FILES' => q[cpan/Time-Piece],
- 'UPSTREAM' => 'cpan',
},
'Unicode::Collate' => {
mklocale
),
],
- 'UPSTREAM' => 'cpan',
},
'Unicode::Normalize' => {
enableXS
),
],
- 'UPSTREAM' => 'cpan',
},
'version' => {
),
],
- # Change to 'cpan' when [cpan #88458] is resolved
+ # Remove this (so it reverts to 'cpan') when [cpan #88458] is resolved
'UPSTREAM' => 'blead',
},
'VMS::DCLsym' => {
'MAINTAINER' => 'CBERRY',
'FILES' => q[ext/VMS-DCLsym],
- 'UPSTREAM' => 'blead',
},
'VMS::Stdio' => {
'MAINTAINER' => 'CBERRY',
'FILES' => q[ext/VMS-Stdio],
- 'UPSTREAM' => 'blead',
},
'warnings' => {
'MAINTAINER' => 'PMQS',
- 'FILES' => q[regen/warnings.pl
- lib/warnings.{pm,t}
+ 'FILES' => q[
lib/warnings
+ lib/warnings.{pm,t}
+ regen/warnings.pl
t/lib/warnings
- ],
- 'UPSTREAM' => 'blead',
+ ],
},
'Win32' => {
'DISTRIBUTION' => "JDB/Win32-0.47.tar.gz",
'FILES' => q[cpan/Win32],
- 'UPSTREAM' => 'cpan',
},
'Win32API::File' => {
qr{^ex/},
't/pod.t',
],
- 'UPSTREAM' => 'cpan',
},
'Win32CORE' => {
'MAINTAINER' => 'JDB',
'FILES' => q[ext/Win32CORE],
- 'UPSTREAM' => 'blead',
},
'XSLoader' => {
),
'XSLoader.pm', # we use XSLoader_pm.PL
],
- 'UPSTREAM' => 'blead',
},
# this pseudo-module represents all the files under ext/ and lib/
lib/vars{.pm,.t,_carp.t}
lib/vmsish.{pm,t}
],
- 'UPSTREAM' => 'blead',
},
);
$_->{CPAN} = !!$_->{DISTRIBUTION};
}
+# legacy UPSTREAM flag
+for ( keys %Modules ) {
+ # Keep any existing UPSTREAM flag so that "overrides" can be applied
+ next if exists $Modules{$_}{UPSTREAM};
+
+ if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
+ $Modules{$_}{UPSTREAM} = 'blead';
+ }
+ elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
+ $Modules{$_}{UPSTREAM} = 'cpan';
+ }
+ else {
+ warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
+ }
+}
+
# legacy MAINTAINER field
-for ( values %Modules ) {
- next if exists $_->{MAINTAINER};
- if (not exists $_->{DISTRIBUTION} or (defined $_->{UPSTREAM} and $_->{UPSTREAM} eq 'blead')) {
- $_->{MAINTAINER} = 'P5P';
+for ( keys %Modules ) {
+ # Honour any existing MAINTAINER flag for now, but we'd like to remove them
+ next if exists $Modules{$_}{MAINTAINER};
+
+ if ($Modules{$_}{UPSTREAM} eq 'blead') {
+ $Modules{$_}{MAINTAINER} = 'P5P';
$Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
}
- else {
- (my $pause_id = $_->{DISTRIBUTION}) =~ s{/.*$}{};
- $_->{MAINTAINER} = $pause_id;
+ elsif (exists $Modules{$_}{DISTRIBUTION}) {
+ (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
+ $Modules{$_}{MAINTAINER} = $pause_id;
$Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
}
+ else {
+ warn "No DISTRIBUTION for non-blead module $_";
+ }
}
1;