bazel-contrib / bazel-contrib/rules_jvm_external

Allow specifying pin file location when running @repo//:pin

Open
#436 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
373
Forks
301
Avg merge
7d 17h
Merged PRs (30d)
3

Description

We have multiple disparate environments (Android, YARN, "plain" jvm) that have disjoint dependencies, and we'd like to separate them all out. It's easy to do, but slightly clunky, as you have to pin and then move the file to be closer to the code and avoid cluttering up the repo root.

The pinning actually works fine if you move the file, and will correctly update the new file when you change the dependencies. The first run, however, puts the file at the repository root.

Contributor guide

Open the contributing guide

Research direction

Start at the @repo//:pin entry point and trace where its first run writes the pin file at the repository root. Check how later runs update a moved file; done means allowing a specified location while preserving correct pin updates for separate environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.