bazelbuild / bazelbuild/bazel

Detect changes in local file registries

Open
#25,528 7 comments 2 reactions 0 assignees View on GitHub
help wanted P3 team-ExternalDeps type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the feature request:

I was adding a module to BCR and testing it out locally with `--resistry file:///home/....` and got an error due to a mismatched sha256. Correcting the error in my local registry and re-running `bazel build` still reported the same error. I had to `bazel clean` in order to refresh the registry.

### Which category does this issue belong to?

External Dependency

### What underlying problem are you trying to solve with this feature?

_No response_

### Which operating system are you running Bazel on?

_No response_

### What is the output of `bazel info release`?

_No response_

### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.

_No response_

### What's the output of `git remote get-url origin; git rev-parse HEAD` ?

```text

```

### Have you found anything relevant by searching the web?

_No response_

### Any other information, logs, or outputs that you want to share?

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with a local `file:///home/...` registry, `bazel build`, and a corrected sha256, then compare the result before and after `bazel clean`. The change is complete when Bazel detects the updated local registry without requiring a clean; the issue does not name source files or tests to start from.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.