CPANTesters::Web::Legacy::Metabase - An API from the legacy Metabase::Web to the local database
version 0.025
The schema to write reports to. Defaults to a new CPAN::Testers::Schema object.
The configuration file is set by the MOJO_CONFIG environment variable, or found in the etc/ directory and named metabase.conf or metabase.$mode.conf. The configuration is a hashref with the following keys:
MOJO_CONFIG
etc/
metabase.conf
metabase.$mode.conf
The db hashref contains the dsn, user, and pass to connect to the database.
db
dsn
user
pass
To create a database for local testing (-m local), install the latest CPAN Testers schema using: cpantesters-schema install dbi:SQLite:local.db.
-m local
cpantesters-schema install dbi:SQLite:local.db
This route submits a new report into the local copy of the Metabase. This is a shim that will remain in-place until all the CPAN Testers clients are updated to submit reports via the new API (so, forever).
Register a new Metabase user. This does not appear to be used by any CPAN Testers reporter client, but if it is, we can add the user to the metabase_user table (the CPAN::Testers::Schema::Result::MetabaseUser result class).
metabase_user
This is necessary during the registration as a pre-flight check before submitting the user registration, for some reason...
See a log of the last view CPAN Testers reports.
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2018 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
7 POD Errors
The following errors were encountered while parsing the POD:
Unknown directive: =route
To install CPAN::Testers::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::API
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::API
For more information on module installation, please visit the detailed CPAN module installation guide.