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

Check for prescaled #59

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Check for prescaled #59

merged 4 commits into from
Jul 24, 2024

Conversation

jdub233
Copy link
Contributor

@jdub233 jdub233 commented Jul 24, 2024

"Prescaled" media are original files that have the 100x100. file name signature that ought to designate them as scaled renders of an unscaled original file. These are files that we uploaded with a file name like "originally-uploaded-100x100.jpg".

This change:

  • Adds an extra check that if the render file and the unscaled originals are not found, it will also look for a "prescaled" file in with the originals
  • Adds a unit test to verify that this works.

I also tested this with a dev version of the OLAP, and it appears effective.

Included in this patch are version updates to out-of-date GitHub Actions.

jdub233 added 4 commits July 24, 2024 14:17
updates the test suite for the condition where an original file has the scaling "-100x100" signature of a resized render file
there are warnings about out of date actions
these actions worked in testing action
@jdub233 jdub233 merged commit 9497d66 into main Jul 24, 2024
2 checks 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.

1 participant