Skip to content

Conversation

olafurpg
Copy link
Contributor

  • Fix wrong instructions to configure Java version
  • Simplify language around docker/java launcher/fat jar
  • Pre-install sbt in Docker container

Test plan

n/a

- Fix wrong instructions to configure Java version
- Simplify language around docker/java launcher/fat jar
- Pre-install `sbt` in Docker container
@olafurpg olafurpg requested a review from Strum355 January 31, 2023 07:51
Copy link
Contributor

@Strum355 Strum355 left a comment

Choose a reason for hiding this comment

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

will review the rest at a computer, just some tiny things for now

> re-downloaded on every `scip-java index` invocation.
> The `sourcegraph/scip-java` Docker container is made available for convenience
> at the cost of performance. The `sourcegraph/scip-java` container is a big
> download because it includes includes pre-installed versions of Java 8, Java
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
> download because it includes includes pre-installed versions of Java 8, Java
> download because it includes pre-installed versions of Java 8, Java

> download because it includes multiple pre-installed Java versions (Java 8,
> Java 11 and Java 17). Also, external dependencies of your codebase get
> re-downloaded on every `scip-java index` invocation.
> The `sourcegraph/scip-java` Docker container is made available for convenience
Copy link
Contributor

Choose a reason for hiding this comment

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

terminology nit: we supply an image, not a container


The Kotlin support in scip-java is the least mature compared to the Java and
Scala support. Don't hesitate to report issues at
The Kotlin support in scip-java is less mature compared to the Java and Scala
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth mentioning that the K2 compiler is not supported. Im a bit fuzzy on what that means in terms of Kotlin version support (specifically around kotlin 1.8.x, Its not clear to me whether its still feature flagged)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll leave this to you to update.

@olafurpg
Copy link
Contributor Author

olafurpg commented Feb 1, 2023

Bazel build failure looks unrelated but still needs to be fixed.

@olafurpg olafurpg merged commit 015c65d into main Feb 1, 2023
@olafurpg olafurpg deleted the olafurpg/docker-configurable-java branch February 1, 2023 14:56
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