CPAN::Reporter::Smoker::OpenBSD - set of scripts to manage a CPAN::Reporter::Smoker on OpenBSD
This module exports some functions used to manage a smoker testing machine based CPAN::Reporter.
Only the sub is_distro_ok is exported, if explicit requested.
sub
is_distro_ok
Expects as parameter a string in the format <AUTHOR>/<DISTRIBUTION>.
It executes some very basic testing against the string.
Returns true or false depending if the string passes the tests. It will also warn if things are not going OK.
warn
Blocks a distribution to be tested under the smoker by using a distroprefs file.
Expects as parameters:
a distribution name (for example, "JOHNDOE/Some-Distro-Name").
The perl interpreter which is in execution, for example, "perl-5.24.3".
An comment to include in the distroprefs file.
It returns a hash reference containing keys/values that could be directly serialized to YAML (or other format) but the full_path key, that contains a suggest complete path to the distroprefs file (based on the CPAN prefs_dir configuration client.
full_path
prefs_dir
If there is an already file created as defined in full_path key, it will warn and return undef.
undef
For more details about those programs interact with the smoker and CPAN::Reporter, be sure to read the documentation about CPAN client, especially the part about DistroPrefs.
You will also want to take a look at the following programs documentation:
perldoc send_reports
perldoc dblock
perldoc mirror_cleanup
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2017 of Alceu Rodrigues de Freitas Junior, arfreitas@cpan.org
This file is part of CPAN OpenBSD Smoker.
CPAN OpenBSD Smoker is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
CPAN OpenBSD Smoker is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with CPAN OpenBSD Smoker. If not, see <http://www.gnu.org/licenses/>.
To install CPAN::Reporter::Smoker::OpenBSD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Reporter::Smoker::OpenBSD
CPAN shell
perl -MCPAN -e shell install CPAN::Reporter::Smoker::OpenBSD
For more information on module installation, please visit the detailed CPAN module installation guide.