NAME

CPANTesters::Web::Legacy::Metabase - An API from the legacy Metabase::Web to the local database

VERSION

version 0.025

SYNOPSIS

DESCRIPTION

ATTRIBUTES

schema

The schema to write reports to. Defaults to a new CPAN::Testers::Schema object.

SEE ALSO

CONFIG

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:

db

The db hashref contains the dsn, user, and pass to connect to the database.

To create a database for local testing (-m local), install the latest CPAN Testers schema using: 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).

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.

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

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:

Around line 271:

Unknown directive: =route

Around line 273:

Unknown directive: =route

Around line 279:

Unknown directive: =route

Around line 281:

Unknown directive: =route

Around line 288:

Unknown directive: =route

Around line 290:

Unknown directive: =route

Around line 295:

Unknown directive: =route