Skip to content

Use rules_jvm_external install for package index#49

Merged
illicitonion merged 1 commit intobazel-contrib:mainfrom
illicitonion:load-packages-from-maven-install
Jul 6, 2022
Merged

Use rules_jvm_external install for package index#49
illicitonion merged 1 commit intobazel-contrib:mainfrom
illicitonion:load-packages-from-maven-install

Conversation

@illicitonion
Copy link
Copy Markdown
Collaborator

bazel-contrib/rules_jvm_external#716 started
indexing jar files and adding the package index to the
maven_install.json.

This re-uses that data, rather than re-implementing parsing ourselves.
This has the advantage of no longer needing to check in and manage the
lifecycle of an additional cache file, and deletes a bunch of code.

Copy link
Copy Markdown
Collaborator

@stevebarrau stevebarrau left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up @illicitonion

Comment thread third_party/go/repositories.bzl Outdated
bazel-contrib/rules_jvm_external#716 started
indexing jar files and adding the package index to the
maven_install.json.

This re-uses that data, rather than re-implementing parsing ourselves.
This has the advantage of no longer needing to check in and manage the
lifecycle of an additional cache file, and deletes a bunch of code.
@illicitonion illicitonion force-pushed the load-packages-from-maven-install branch from 0f77a7e to 40287fd Compare July 6, 2022 10:24
Copy link
Copy Markdown
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

Rubber stamping. Perhaps we should note that you need a specific version of rules_jvm_external for this to work?

@illicitonion
Copy link
Copy Markdown
Collaborator Author

@illicitonion illicitonion merged commit 9ad7e11 into bazel-contrib:main Jul 6, 2022
@illicitonion illicitonion deleted the load-packages-from-maven-install branch July 6, 2022 12:17
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