Closed perlpunk closed 3 years ago
Example statistics output:
# STATS # # JSON::Validator, 4.17
# STATS # ---
# STATS # abstract:
# STATS # metajson: Validate data against a JSON schema
# STATS # metayaml: Validate data against a JSON schema
# STATS # dynamic: 0
# STATS # got_prereqs: 1
# STATS # license:
# STATS # metajson:
# STATS # - artistic_2
# STATS # metayaml: artistic_2
# STATS # spec: Artistic-2.0
# STATS # metajson: 1
# STATS # metayaml: 1
# STATS # name: JSON::Validator
# STATS # provides: 0
# STATS # summary: Validate data against a JSON schema
# STATS # version: '4.17'
So the logs can easily be analyzed with this:
% perl -nwlE'if (s/^# STATS # //) { print }' logfile
# Outputs list of YAML documents which can be loaded in perl or other languages to analyze
Summary:
cpanspec
META.json
(dependencies,dynamic_config
,provides
)provides
exists inMETA.(json|yaml)
Makefile.PL
etc. ifdynamic_config
exists inMETA.(json|yaml)
and is falseMakefile.PL
etc. into it's own subprocessto avoid influencing the result@INC
and aBuild.PL
of a module was callingrequire "Makefile.PL"
effectively callingcpanspec/Makefile.pL
Issue: https://progress.opensuse.org/issues/90047, #21