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.
is_distro_ok is exported, if explicit requested.
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.
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.
If there is an already file created as defined in
full_path key, it will
warn and return
You will also want to take a look at the following programs documentation:
Alceu Rodrigues de Freitas Junior, <email@example.com>
This software is copyright (c) 2017 of Alceu Rodrigues de Freitas Junior, firstname.lastname@example.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/>.