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

Add lint process for verifying CPAN uploads table #16

Open
preaction opened this Issue Nov 29, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@preaction
Member

preaction commented Nov 29, 2017

The CPAN uploads table has some duplicate data in it: There are dist+version combinations that appear more than once. This is a problem that we have to fix in the upload scan process, but first we have to identify the data we need to fix.

We should add a runnable module (using Beam::Runnable) that will check this table for invalid data. The module should look for any duplicate dist/version rows and write a report to STDOUT containing the dist, version, upload IDs, release date/time, and author of the duplicate data.

This process should be configured in a container file in etc/container/schema.yml. It should be configured to run daily via cron to detect invalid data as it comes in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment