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

Make JarInfer generated jars fully deterministic by removing timestamps #227

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

lazaroclapp
Copy link
Collaborator

This change sets the timestamp of the files inside the astubx jars generated by JarInfer to be the UNIX epoch (1970-01-01T00:00:00Z). The reason for this is to guarantee file-checksum level deterministic outputs from JarInfer which are required by the cache mechanisms of most build systems.

This change sets the timestamp of the files inside the astubx jars
generated by JarInfer to be the UNIX epoch (1970-01-01T00:00:00Z).
The reason for this is to guarantee file-checksum level deterministic outputs
from JarInfer which are required by the cache mechanisms of most build systems.
@lazaroclapp lazaroclapp merged commit eb5c8cc into master Sep 19, 2018
@lazaroclapp lazaroclapp deleted the lazaro_jarinfer_remove_timestamps branch September 19, 2018 23:18
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.

2 participants