Skip to content
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

Scan local CPAN and BackPAN mirrors to update database #13

Open
preaction opened this issue Jun 2, 2018 · 1 comment
Open

Scan local CPAN and BackPAN mirrors to update database #13

preaction opened this issue Jun 2, 2018 · 1 comment

Comments

@preaction
Copy link
Member

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:

  1. 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.
  2. reindex, which deletes the ixlatest table and rebuilds it. This is perfectly safe, but I do not think this belongs here. This will get its own ticket and process.
@zmughal
Copy link

zmughal commented Dec 8, 2022

I'm not sure if this is the right place to note this (posted this previously in the #cpantesters-discuss IRC channel):

Bit of an oddity, I've had my Renard-Curie module up for 2 years without tests. I was playing around with the options at the cpantesters.org website and noticed that for some reason it thinks version 0.005 (the latest) is "BACKPAN ONLY"

It should not be "BACKPAN Only" as far as I am aware.

Link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants