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

[WIP] see what happens if we drop scala attribute #869

Closed
wants to merge 1 commit into from

Conversation

ittaiz
Copy link
Member

@ittaiz ittaiz commented Nov 4, 2019

Description

Checking impact of dropping scala attribute

Motivation

Bazel is going to drop the sturct/attribute syntax (bazelbuild/bazel#9014)
We need to understand the impact of dropping the scala attribute.
One thing is that this requires Bazel 1.1.0 due to both junit and IJ import needing this fix bazelbuild/bazel#8916

@ittaiz ittaiz marked this pull request as ready for review November 4, 2019 10:02
@ittaiz ittaiz requested a review from johnynek as a code owner November 4, 2019 10:02
@ittaiz
Copy link
Member Author

ittaiz commented Nov 4, 2019

I've marked this as ready for review to trigger travis (for some reason it doesn't work on draft PRs).
Don't merge this PR.

@ittaiz ittaiz changed the title see what happens if we drop scala attribute [WIP] see what happens if we drop scala attribute Nov 4, 2019
@@ -127,7 +127,6 @@ def _lib(
jars_to_labels = jars.jars2labels,
providers = [outputs.merged_provider, jars.jars2labels] + outputs.coverage.providers,
runfiles = runfiles,
scala = scalaattr,
Copy link
Member

Choose a reason for hiding this comment

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

Note above where we construct scalaattr: can we remove that? Indeed can we grep for all calls to create_scala_provider and make sure we aren’t calling that function or that it can be refactored to return a JavaInfo?

@johnynek
Copy link
Member

johnynek commented Nov 4, 2019

This is exciting as it removes some of the oldest cruft in the rules. Thank you!

@ittaiz
Copy link
Member Author

ittaiz commented Nov 4, 2019

The failures are in the bazel run pre 1.1.0 so we're good

@ittaiz
Copy link
Member Author

ittaiz commented Nov 5, 2019 via email

@ittaiz ittaiz closed this Jan 20, 2020
@ittaiz ittaiz deleted the ittaiz-patch-3 branch January 20, 2020 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JavaInfo#runtime_output_jars not containing all the expected jars
3 participants