CPANTesters::Web::Legacy::Metabase - An API from the legacy Metabase::Web to the local database
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
The configuration is a hashref with the following keys:
db hashref contains the
pass to connect to the database.
To create a database for local testing (
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.
Doug Bell <email@example.com>
This software is copyright (c) 2016 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.