|o||uri URI for the Metabase API. Defaults to https://metabase.cpantesters.org/api/v1/|
|o||id_file path to the users Metabase profile file. Defaults to metabase_id.json. (Assumed to be in the .cpanreporter directory).|
For other transport types, see the documentation that comes with your choice of Test::Reporter::Transport subclass for the proper way to set the transport configuration option.
Several steps in the generation of a test report are optional. Configuration options control whether an action should be taken automatically or whether CPAN::Reporter should prompt the user for the action to take. The action to take may be different for each report grade. For example, users may wish to customize for which grades they wish to manually review a report before sending it.
Most users should just accept the default settings until they have some experience as CPAN Testers.
Valid actions, and their associated meaning, are as follows:
For ask prompts, the default will be used if return is pressed immediately at the prompt or if the PERL_MM_USE_DEFAULT environment variable is set to a true value.
o yes automatic yes o no automatic no o ask/no or just ask ask each time, but default to no o ask/yes ask each time, but default to yes
Action prompt options take one or more space-separated grade:action pairs, which are processed left to right.
edit_report = fail:ask/yes pass:no
An action by itself is taken as a default to be used for any grade which does not have a grade-specific action. A default action may also be set by using the word default in place of a grade.
edit_report = ask/no edit_report = default:ask/no
A grade by itself is taken to have the action yes for that grade.
edit_report = default:no fail
Multiple grades may be specified together by separating them with a slash.
edit_report = pass:no fail/na/unknown:ask/yes
The action prompt options included in interactive configuration are:
Note that if send_report is set to no, CPAN::Reporter will still go through the motions of preparing a report, but will discard it rather than send it.
o edit_report = <grade:action> ... edit the test report before sending? (default:ask/no pass/na:no) o send_report = <grade:action> ... should test reports be sent at all? (default:ask/yes pass/na:yes)
cpan> o conf test_report 0
CPAN::Reporter used to send mail directly to perl.org mail servers. The smtp_server option is now deprecated and will be ignored if it exists.
These additional options are only necessary in special cases, for example if the default editor cannot be found or if reports shouldnt be sent in certain situations or for automated testing, and so on.
If these options are manually added to the configuration file, they will be included (and preserved) in subsequent interactive configuration.
o command_timeout if greater than zero and the CPAN config is inactivity_timeout is not set, then any commands executed by CPAN::Reporter will be halted after this many seconds; useful for unattended smoke testing to stop after some amount of time; generally, this should be large 900 seconds or more as some distributions tests take quite a long time to run. On MSWin32, Win32::Job is a needed and trying to kill a process may actually deadlock in some situations so use at your own risk. o editor = <editor> editor to use to edit the test report; if not set, Test::Reporter will use environment variables VISUAL, EDITOR or EDIT (in that order) to find an editor o retry_submission if greater than zero, CPAN::Reporter will try to resend the report after a few seconds in case the first attempt fails. o send_duplicates = <grade:action> ... should duplicates of previous reports be sent, regardless of send_report? (default:no) o send_PL_report = <grade:action> ... if defined, used in place of send_report during the PL phase o send_make_report = <grade:action> ... if defined, used in place of send_report during the make phase o send_test_report = <grade:action> ... if defined, used in place of send_report during the test phase o send_skipfile = <skipfile> filename containing regular expressions (one per line) to match against the distribution ID (e.g. AUTHOR/Dist-Name-0.01.tar.gz); the report will not be sent if a match is found; non-absolute filename must be in the .cpanreporter config directory;
Skip files are expected to have one regular expression per line and will be matched against the distribution ID, composed of the authors CPAN ID and the distribution tarball name.
Lines that begin with a sharp (#) are considered comments and will not be matched. All regular expressions will be matched case insensitive and will not be anchored unless you provide one.
As the format of a distribution ID is AUTHOR/tarball, anchoring at the start of the line with a caret (^) will match the author and with a slash (/) will match the distribution.
# any distributions by JOHNDOE ^JOHNDOE # any distributions starting with Win32 /Win32 # a particular very specific distribution ^JOHNDOE/Foo-Bar-3.14
These options are useful for debugging only:
o debug = <boolean> turns debugging on/off
The following environment variables may be set to alter the default locations for CPAN::Reporter files:
o PERL_CPAN_REPORTER_DIR if set, this directory is used in place of the default .cpanreporter directory; this will affect not only the location of the default config.ini, but also the location of the CPAN::Reporter::History database and any other files that live in that directory o PERL_CPAN_REPORTER_CONFIG if set, this file is used in place of the default config.ini file; it may be in any directory, regardless of the choice of configuration directory
David Golden <firstname.lastname@example.org>
This software is Copyright (c) 2006 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
|perl v5.20.3||CPAN::REPORTER::CONFIG (3)||2015-04-06|