CC: | VARISD [...] cpan.org |
Subject: | Parse::RecDescent::_Runtime and CPAN |
I've used precompiled runtime RecDescent in a module released on CPAN (https://metacpan.org/release/POPEL/Treex-Core-2.20151216).
Now, CPAN indexer complains that
module : Parse::RecDescent::_Runtime
version: 2.20151210
in file: Treex-Core-2.20151210/lib/Treex/Core/ScenarioParser.pm
status : Not indexed because permission missing. Current registered
primary maintainer is JTBRAUN. Hint: you can always find
the legitimate maintainer(s) on PAUSE under "View
Permissions".
I'd suggest to use the newline trick *in the generated code* to exclude these packages from indexing:
package # this should not be indexed by CPAN
Parse::RecDescent::_Runtime
and similarly for the other packages with this prefix.
Alternatively, add instructions to the documentation (https://metacpan.org/pod/Parse::RecDescent#Precompiled-runtimes) that users should use a different trick, e.g. [MetaNoIndex], https://github.com/ufal/treex/blob/4e9693244244a6eb9e4eba5919ee7684463d9961/packaging/Treex-Core/dist.ini.template#L63-L81 .