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 bootstrap jar reproducible #6796

Merged
merged 2 commits into from
Nov 22, 2018

Conversation

illicitonion
Copy link
Contributor

No pesky timestamps

@illicitonion
Copy link
Contributor Author

Will add some tests to this PR shortly

No pesky timestamps
Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks, looks good.

@@ -0,0 +1,2 @@
Files taken from https://github.com/facebook/buck at sha aedaec64909a4c54f3d8b6b6db5f779f18f85f75.
Licence is Apache 2.
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

License

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pesky Americans

* Just use ZipScrubber
* Add test
@illicitonion
Copy link
Contributor Author

Simplified quite a bit, added a test - PTAL :)

Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Looks good, thanks. This will no longer apply to "all" tools that we bootstrap though... although if those are preserving the timestamps in existing ZipEntrys, then maybe that's fine.

@illicitonion
Copy link
Contributor Author

Yeah, timestamps are preserved; we should explicitly scrub anything we want to be consistent, because the scrubber does more things (e.g. scrubs the central area)

@illicitonion illicitonion merged commit ea1ab42 into pantsbuild:master Nov 22, 2018
@illicitonion illicitonion deleted the dwagnerhall/reproduciblezip branch November 22, 2018 11:28
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