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 tree artifacts #287

Merged
merged 19 commits into from
Feb 27, 2020
Merged

Conversation

restingbull
Copy link
Collaborator

@restingbull restingbull commented Feb 24, 2020

Small optimization for kotlin compilation. May result in improvements for remote builds.

Depends on: /pull/288

@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@restingbull
Copy link
Collaborator Author

@googlebot I consent.

1 similar comment
@cgruber
Copy link
Collaborator

cgruber commented Feb 27, 2020

@googlebot I consent.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@cgruber
Copy link
Collaborator

cgruber commented Feb 27, 2020

I'm LGTM on these two subsequent commits, but let's get the other one merged and rebase this on that, so we can make sure I'm looking at the correct set of commits.

@restingbull restingbull force-pushed the remove-tree-artifacts branch 2 times, most recently from 38b868d to e1d9d5a Compare February 27, 2020 17:19
Corbin Smith added 5 commits February 27, 2020 12:29
Move toolchain configuration to the toolchains.bzl

Issue: bazelbuild#269 (comment)
Added //:rules_kotlin_release to build a release.

Issue: bazelbuild#269 (comment)
Make examples use the release repository

Issue: bazelbuild#269 (comment)
Make examples use the release repository
Make git ignore profiling artifacts

Issue: bazelbuild#269 (comment)
Corbin Smith added 2 commits February 27, 2020 12:29
… Tree artifacts, (created by declare_directory) are only useful when an action produces an unknown number of outputs. It this case, this would only result in extra overhead of bundling the produced directories in archives with ever using them.
@restingbull restingbull merged commit f5b824e into bazelbuild:master Feb 27, 2020
@restingbull restingbull deleted the remove-tree-artifacts branch February 27, 2020 17:47
@cgruber
Copy link
Collaborator

cgruber commented Feb 27, 2020

Ok, so post-hoc LGTM I guess. :)

cromwellian pushed a commit to cromwellian/rules_kotlin that referenced this pull request Mar 7, 2020
remove the generation of unused tree artifacts from the compile step. Tree artifacts, (created by declare_directory) are only useful when an action produces an unknown number of outputs. It this case, this would only result in extra overhead of bundling the produced directories in archives with ever using them.

Co-authored-by: Christian Edward Gruber <christianedwardgruber@gmail.com>
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
remove the generation of unused tree artifacts from the compile step. Tree artifacts, (created by declare_directory) are only useful when an action produces an unknown number of outputs. It this case, this would only result in extra overhead of bundling the produced directories in archives with ever using them.

Co-authored-by: Christian Edward Gruber <christianedwardgruber@gmail.com>
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