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

Bulk populate AssetApplicationMetadata thumb sizes #790

Open
donaldgray opened this issue Apr 8, 2024 · 0 comments
Open

Bulk populate AssetApplicationMetadata thumb sizes #790

donaldgray opened this issue Apr 8, 2024 · 0 comments
Labels
delivery-channels jira marks issue for crossposting to JIRA

Comments

@donaldgray
Copy link
Member

When AssetApplicationMetadata is released it initially won't have any thumb size rows, these will be added gradually when assets are ingested.

We need a bulk script to:

  • Walk through all available Image assets
  • Check if there is a corresponding AssetApplicationMetadata row containing thumbs sizes, if so abort. If not:
  • Read the sizes from s.json and add to DB.

This script should be scalable to allow multiple processing running at the same time without stepping on each others toes (see https://github.com/dlcs/test_scripts) for examples.

This is blocked by #787

@donaldgray donaldgray changed the title Bulk populate AssetApplicationMetadata Bulk populate AssetApplicationMetadata thumb sizes Apr 8, 2024
@sarahos sarahos added the jira marks issue for crossposting to JIRA label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delivery-channels jira marks issue for crossposting to JIRA
Projects
Status: No status
Development

No branches or pull requests

2 participants