30 Apr 2019 10:47:51 UTC
- Distribution: CPANPLUS-YACSmoke
- Module version: 1.08
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (2)
- Testers (159 / 1 / 0)
- KwaliteeBus factor: 1
- 27.49% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (115.93KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBINGOS Chris Williams
- CONFIGURATION FILE
- METHODS OVERIDDEN
- SEE ALSO
- COPYRIGHT AND LICENSE
CPANPLUS::Dist::YACSmoke - CPANPLUS distribution class that integrates CPAN Testing services into CPANPLUS
# CPANPLUS shell - use CPANPLUS::Dist::YACSmoke services during manual use. cpanp> s conf dist_type CPANPLUS::Dist::YACSmoke cpanp> s save
It will create a database file in the .cpanplus directory, which it uses to track tested distributions. This information will be used to keep from posting multiple reports for the same module, and to keep from testing modules that use non-passing modules as prerequisites.
prereqshave been tested previously and have resulted in a
passgrade then the tests for those
prereqswill be skipped, speeding up smoke testing.
By default it uses CPANPLUS configuration settings.
It can be utilised during manual use of CPANPLUS by setting the
Its main utility is in conjunction with CPANPLUS::YACSmoke.
CPANPLUS::Dist::YACSmoke only honours the
exclude_distsin CPAN::YACSmoke style
exclude_distssetting, which is laid out as:
[CONFIG] exclude_dists=<<HERE mod_perl HERE
The above would then ignore any distribution that include the string 'mod_perl' in its name. This is useful for distributions which use external C libraries, which are not installed, or for which testing is problematic.
See Config::IniFiles for more information on the INI file format.
CPANPLUS::Dist::YACSmoke overrides a number of methods provided by CPANPLUS::Dist::Base
This method is called just after the new dist object is set up. It initialises the database file if it hasn't been initialised already and loads the list of excluded distributions from the
inifile if that hasn't been loaded already. It also registers callbacks with the CPANPLUS backend.
This runs the preparation step of your distribution. This step is meant to set up the environment so the create step can create the actual distribution(file). This can mean running either
CPANPLUS::Dist::YACSmoke will check for the existence of a
.yacsmoke.ymlin the extracted build directory. If it exists it will load the meta data that it contains and sets
This runs the creation step of your distribution, by running
make testfor instance. The distribution is checked against the database to see if a
passgrade has already been reported for this distribution, if so then
skiptestis set and the testsuite will not be run.
$dist->status->_skipbuildis set to true, CPANPLUS::Dist::YACSmoke will skip the build and test stages completely and resolve any prereqs for the distribution before adding the build directories
blibstructure to the include path.
Based on CPAN::YACSmoke by Robert Rothenberg and Barbie.
Contributions and patience from Jos Boumans the CPANPLUS guy!
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2019 by Chris Williams, Jos Boumans, Robert Rothenberg and Barbie.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install CPANPLUS::YACSmoke, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install CPANPLUS::YACSmoke
For more information on module installation, please visit the detailed CPAN module installation guide.