Open
Description
We need to know what distributions and versions are released on CPAN. We need to know who released them so we can show author dashboards. Since we have a local CPAN mirror, we can just scan the directory and write that data into the database.
This process should read the existing database, read the local CPAN mirror, and insert any new data from the CPAN mirror into the database.
This is a replacement of the current uploads process, located in https://github.com/cpan-testers/cpantesters-backend/tree/master/old/uploads. The bulk of the code is in CPAN::Testers::Data::Uploads.
Note: The current uploads process has two other functions:
generate
which deletes the current uploads table and rebuilds it. I do not think this is safe: It would break all the foreign keys in the entire database. Until we can do this safely, we should not be able to do it at all.reindex
, which deletes theixlatest
table and rebuilds it. This is perfectly safe, but I do not think this belongs here. This will get its own ticket and process.
Metadata
Metadata
Assignees
Labels
No labels