-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate list of Perl versions from CPAN mirror and parsed reports #7
Comments
This is necessary but not sufficient: We need to still be ensuring that the Perl version from the incoming reports exists as well... Refs #7
I've added the script that will populate Perl versions from the local CPAN mirror, but this is insufficient. Two things remain on this ticket:
The second task is necessary mostly because of patched Perls or other Perls that are not released on CPAN. For every report processed by ProcessReports, it should call the |
We also need to fix the existing data: There are select distinct cpanstats.perl
from cpanstats
left join perl_version on perl_version.version = cpanstats.perl
where cpanstats.perl != "0" and perl_version.version is null; The |
There is a
perl_version
table which caches the known list of Perl versions for easy reference. This table was maintained by the main report processing task (CPAN::Testers::Data::Generator). We need a way to build this table from scratch using data from the local CPAN mirror.We should have one module,
CPAN::Testers::Backend::ProcessPerlVersion
. This module should be a runnable module (Beam::Runnable
) that, when run, does the following:--clear
command-line option)This will require a DBIx::Class module be built to read/write the
perl_version
table (CPAN::Testers::Schema::Result::PerlVersion
, in cpan-testers/cpantesters-schema). It could be easier to build the method that reads the CPAN directory in aCPAN::Testers::Schema::ResultSet::PerlVersion
class (it's better design to push as much data/business logic into the model layer).The text was updated successfully, but these errors were encountered: