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

Remove Ghostscript and PDF thumb generation. #9163

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Remove Ghostscript and PDF thumb generation. #9163

merged 1 commit into from
Jun 17, 2024

Conversation

sengi
Copy link
Contributor

@sengi sengi commented Jun 17, 2024

gov-frontend no longer uses PDF thumbnails, so we can drop Ghostscript etc.

For now, we keep the (probably disused) thumbnail_url field and use the "fallback" icon for new PDFs. Can probably remove the field and the icon altogether soon after.

Fixes #7480.

See also:
https://trello.com/c/vjSowrs7 (dup)
https://trello.com/c/oh4MXlUA (related)

gov-frontend no longer uses PDF thumbnails, so we can drop Ghostscript
etc.

For now, we keep the (probably disused) thumbnail_url field and use the
"fallback" icon for new PDFs. Can probably remove the field and the icon
altogether soon after.
@sengi sengi added the security Pull requests that address a vulnerability or otherwise improve security label Jun 17, 2024
Copy link
Contributor

@ryanb-gds ryanb-gds left a comment

Choose a reason for hiding this comment

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

Excellent, always good to see this sort of thing depart the codebase

@sengi sengi merged commit 450128b into main Jun 17, 2024
20 checks passed
@sengi sengi deleted the sengi/rm-gs branch June 17, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Pull requests that address a vulnerability or otherwise improve security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove obsolete PDF thumbnail generation feature and Ghostscript dependency
2 participants