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 metadata from PDF to avoid deploy updates when there is no change #580

Open
NorwegianKiwi opened this issue Aug 23, 2018 · 0 comments
Milestone

Comments

@NorwegianKiwi
Copy link
Collaborator

Inside the PDF, created date and modified date are inserted when they are created. Remove this after creating the PDF.

One way that seems to work, is to run the following commands:

exiftool -all:all= original.pdf -o temp.pdf
qpdf --deterministic-id temp.pdf out.pdf

At least, this should be done on travis (since travis builds and deploys).
Need to find out how we can install exiftool and qpdf on travis, if possible.
Or, if there are other ways of making the metadata of two PDFs the same (given that they have the same content).

@NorwegianKiwi NorwegianKiwi added this to the TODO milestone Aug 23, 2018
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

No branches or pull requests

1 participant