13. There are several testing
services to improve CPAN.
• PAUSE (kind of)
• CPAN Testers
• CPANTS
• CPAN::Changes Kwalitee Service
• CPAN Coverage report
• and (maybe) more...
14. PAUSE
• https://pause.perl.org/
• sees if a distribution extracts
nicely and is safe.
• authorizes packages.
• sends you emails when packages
are indexed or errors are found.
15. CPAN Testers
• http://www.cpantesters.org/
• gathers reports from testers under
various environments.
• sends you emails about fail reports
(if requested).
• provides rss feeds for each
author/distribution.
• welcomes donation:
https://members.enlightenedperl.org/
drupal/donate-cpan-testers
18. CPAN Coverage Report
• http://cpancover.com/
• sees the coverage of a distribution
(by Devel::Cover)
19. An example of making
use of them (by RJBS)
• http://rjbs.manxome.org/rubric/entry/2007
• http://rjbs.manxome.org/rubric/entry/2010
• https://github.com/rjbs/misc/blob/master/code-review
30. • Use short, alphanumeric-only
names.
• Avoid links.
• COPYFILE_DISABLE=1 (Mac OS X)
• Use GNU tar.
• See if Archive::Tar (ptar) can
extract your distribution.
36. • Avoid Module::Install.
• Avoid prompting for smooth
installation.
• Release from non-Windows
environment if possible.
37. Metrics on META
• has_meta_yml
• metayml_is_parsable
• metayml_conforms_to_known_spec
• metayml_conforms_spec_current
(optional)
• metayml_declares_perl_version
(optional)
• metayml_has_provides (experimental)
38. • Don't edit it by hand.
• META.yml and META.json may (often)
be generated differently.
• See specs when necessary.
http://module-build.sourceforge.net/META-spec-v1.4.html
http://search.cpan.org/perldoc?CPAN::Meta::Spec
39. Stats on META generators
http://cpants.cpanauthors.org/stats/meta_generator
42. • Write explicitly (and machine-
readably if possible) about license.
• Adding a LICENSE file is a good idea.
(Fedora/Debian package managers
would like you.)
• You still need to tweak WriteMakefile
to support perl < 5.8.9.
54. The bottom line:
use better tools
• made by those who have a
good knowledge of the issues.
https://github.com/Perl-Toolchain-Gang?tab=members
http://qa-hackathon.org/reviews.html
65. Other related repositories
that may have a big impact.
• https://github.com/domm/Module-ExtractUse
• https://github.com/rjbs/Software-License
• https://github.com/Perl-Toolchain-Gang/CPAN-Meta
• https://github.com/charsbar/Parse-PMFile