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)
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 | ||
Updated•10 years ago
|
Assignee: nobody → ashort
| Assignee | ||
Comment 1•10 years ago
|
||
https://github.com/mozilla/zamboni/commit/18b4e61cdfd3a2cce70035ff68b10f53d11ce4b7
https://github.com/mozilla/zamboni/commit/959ebb4cc2f8736df154c6296d85afc240d3c4ec
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•10 years ago
|
||
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 → ---
Updated•10 years ago
|
Priority: P1 → P2
Updated•10 years ago
|
Priority: P2 → P1
| Assignee | ||
Comment 3•10 years ago
|
||
Previews never used PNG crushing so this is expected.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•