Add new script to check Compara FTP dumps #883
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds script
check_compara_ftp_files.pl
, which is much likeverify_ftp_dumps.pl
, except that it checks for specific expected files and directories in all but a handful of cases. In the small minority of cases where an exact file name is not used, a highly specific regex is used instead.The sets of expected file names and patterns are obtained from the relevant Compara database.The expected file sets are then checked against the observed files in the Compara FTP dump directory. If there are any issues, these are reported in an output TSV file.
Testing
This script has been tested on e113 Compara FTP dump files.
For code reviewers: code review SOP