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

Improve installation documentation #531

Merged
merged 2 commits into from
Feb 1, 2023
Merged

Conversation

olafurpg
Copy link
Member

  • 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

Verified

This commit was signed with the committer’s verified signature.
nicolo-ribaudo Nicolò Ribaudo
- 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

Verified

This commit was signed with the committer’s verified signature.
nicolo-ribaudo Nicolò Ribaudo
@@ -219,8 +233,8 @@ by [Metals](https://scalameta.org/metals), the Scala language server.

### Kotlin

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
Member 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
Member 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.

None yet

2 participants