Skip to content

Add state check to verifyarchives helper and use to verify FINAL Archives only #268

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

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

jonasbardino
Copy link
Contributor

@jonasbardino jonasbardino commented Jun 20, 2025

Implement a simple -s STATE option in the verifyarchives.py helper to make it fail if the verified archive is not actually in STATE. Use it by default in the generated migverifyarchives cron job with -s FINAL, so that in case a non-FINAL archive should enter the list of archives to verify it will fail and tell why.

Also added proper support for the python3 on Rocky9 default of 8 random characters in the generated Archive-???????? names from tempfile, which used to be only 6 characters on python2 in CentOS7.

…to make it

fail if the verified archive is not actually in `STATE`. Use it by default in
the generated `migverifyarchives` cron job with `-s FINAL`, so that in case a
non-FINAL archive should enter the list of archives to verify it will fail and
tell why.
@jonasbardino
Copy link
Contributor Author

Please note that the PR is against next and is made on top of the minor update from PR #266 .
It removes an unused datetime import pointed out by ``pylint`.

@jonasbardino jonasbardino requested a review from a team June 20, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant