Closed Bug 1191787 Opened 10 years ago Closed 10 years ago

PNG crushing does not work with S3

Categories

(Marketplace Graveyard :: Developer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mat, Assigned: ashort)

References

Details

When zamboni is configured to use S3 as its storage class, png crushing is not applied correctly to icons and previews. It depends on the pngcrush binary, so we probably need to copy the file locally, run pngcrush, then move it back to the remote storage. We also need to investigate why tests were passing even when configured to use S3 despite this bug.
Assignee: nobody → ashort
I haven't looked at the logs yet but it seems it's still not working. I made the following app: https://marketplace-s3dev.allizom.org/developers/app/test-app-shark/edit The thumb that was generated is: https://marketplace-s3dev-public.s3.amazonaws.com/data/marketplace-s3dev.allizom.org/shared_storage/uploads/previews/thumbs/0/392.png?modified=111111111111111111111111111111 (You can replace the querystring to make sure you have the most recent version) That image is 21K. When I run the same pngcrush command the task is using locally on this image, I end up with a 17K image.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Priority: P1 → P2
Priority: P2 → P1
Previews never used PNG crushing so this is expected.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.