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

Ensure that KotlionBuilder workers use a clean directory for each compilation. #298

Merged
merged 5 commits into from Apr 3, 2020

Conversation

restingbull
Copy link
Collaborator

No description provided.

@restingbull restingbull requested a review from cgruber March 6, 2020 03:16
@restingbull restingbull changed the title Ensure that Kot;ionBuilder workers use a clean directory for each compilation. Ensure that KotlionBuilder workers use a clean directory for each compilation. Mar 6, 2020
@cgruber cgruber added component: android component: jvm P1 status: in review Solution being reviewed type: cleanup Refactorings, idiomatic transforms, tech debt payoff labels Mar 12, 2020
@cgruber cgruber added this to In progress in Legacy 1.4.0 Release via automation Mar 12, 2020
@restingbull restingbull force-pushed the deterministic branch 2 times, most recently from 531c40e to 6631e40 Compare March 17, 2020 01:53
Legacy 1.4.0 Release automation moved this from In progress to Reviewer approved Apr 2, 2020
Corbin Smith added 4 commits April 3, 2020 11:41
* Restructured BazelWorker.kt for easier testing by pulling out the delegation invoker.
* Changed the flag enums to be pulic and static.
* Create KotlinBuilderTestComponent for retrieving configured instances for test.
* Replaced the use of system user.dir with a more robust path usage.
Revert intellij overenthusiasm.
@restingbull restingbull merged commit e234ac6 into master Apr 3, 2020
Legacy 1.4.0 Release automation moved this from Reviewer approved to Done Apr 3, 2020
@restingbull restingbull deleted the deterministic branch April 3, 2020 17:11
cgruber added a commit to cgruber/rules_kotlin that referenced this pull request Apr 14, 2020
* upstream/master:
  Fix non-reproducible archives (bazelbuild#304)
  Adds a kt_plugin rule (bazelbuild#308)
  Ensure that KotlionBuilder workers use a clean directory for each compilation. (bazelbuild#298)
  Apply autoformatting to all files. (bazelbuild#302)
  Optional outputs (bazelbuild#291)
  Change plugins to use depsets, as opposed to lists. (bazelbuild#292)
  Add Corbin to the codeowners. (bazelbuild#293)
  Update Protobuf to 3.11.3 (bazelbuild#286)
  Remove tree artifacts (bazelbuild#287)
  Cleanup src tree (bazelbuild#288)
  Update README.md (bazelbuild#285)
  Filter non-kotlin code out of generated sources (bazelbuild#263)
  Update readme so the dev instructions highlight using a local clone (bazelbuild#283)
  Remove third_party checked in jars, and properly pull maven dependencies. (bazelbuild#279)
  Only propagate srcjar if it isn't the default empty jar added in ae70089 to fix bazelbuild/intellij#1616 (bazelbuild#276)
  Allow resources to be in a kotlin directory (bazelbuild#268)
jongerrish added a commit to jongerrish/rules_kotlin that referenced this pull request Apr 16, 2020
…pilation. (bazelbuild#298)

* Create WorkingDirectoryContext to handle compilation directory lifecycle.
* Thread the working directory to all intermediate directories to ensure hermetic compilation.
* Added test for worker hermiticity.
* Restructured BazelWorker.kt for easier testing by pulling out the delegation invoker.
* Changed the flag enums to be public and static.
* Create KotlinBuilderTestComponent for retrieving configured instances for test.
* Replaced the use of system user.dir with a more robust path usage.
* Ensure js has a clean working area.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: android component: jvm P1 status: in review Solution being reviewed type: cleanup Refactorings, idiomatic transforms, tech debt payoff
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants