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

added last update field #14

Merged

Conversation

jtmst
Copy link
Contributor

@jtmst jtmst commented Nov 4, 2024

This adds last_updated fields to VolumesMetadata.json files. It adds logic to include last_updated in iso format (2024-01-01T00:00:00+00:00) when files are un-redacted, as well as includes a script to give update current metadata files with an initial time.

Includes a dry_run option for testing, and some basic tests for add_last_updated_field

Copy link
Contributor

@bensteinberg bensteinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I got hung up for a minute on capsys before I realized it was part of pytest, nothing to do with CAP.

@bensteinberg bensteinberg merged commit e45e2b6 into harvard-lil:main Nov 4, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants