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

rsc doesn't re-snapshot jars produced by zinc #7858

Merged

Conversation

illicitonion
Copy link
Contributor

Instead it re-uses existing digests from the classpath product.

A follow-up change will also stop re-snapshotting jars produced by rsc.

Instead it re-uses existing digests from the classpath product.

A follow-up change will also stop re-snapshotting jars produced by rsc.
Copy link
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!

main = 'rsc.cli.Main'
tool_name = 'rsc'
with self.context.new_workunit(tool_name) as wu:
return self.execution_strategy_enum.resolve_for_enum_variant({
self.HERMETIC: lambda: self._runtool_hermetic(
main, tool_name, args, distribution,
tgt=tgt, input_files=input_files, input_digest=input_digest, output_dir=output_dir),
tgt=tgt, input_digest=input_digest, output_dir=output_dir),
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@cosmicexplorer cosmicexplorer left a comment

Choose a reason for hiding this comment

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

Great!

@stuhood
Copy link
Member

stuhood commented Jun 5, 2019

I pushed one commit to drop an unused import.

@illicitonion illicitonion merged commit 20ac870 into pantsbuild:master Jun 6, 2019
@illicitonion illicitonion deleted the dwagnerhall/rsc/avoid-re-snapshotting branch June 6, 2019 13:52
stuhood pushed a commit that referenced this pull request Jun 7, 2019
Instead it re-uses existing digests from the classpath product.

A follow-up change will also stop re-snapshotting jars produced by rsc.
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.

3 participants