bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Add `--lockfile_mode=refresh`

Open fmeum opened this issue 1 year ago • 1 comments

RELNOTES: The new refresh value for --lockfile_mode behaves like the update mode, but additionally forces a refresh of mutable registry content (yanked versions and missing module versions) when switched to or from time to time while enabled.

fmeum avatar May 11 '24 19:05 fmeum

I added the refresh logic. I didn't find a way to test it that would require making the timeout configurable, but I verified locally that it works with shorter durations.

fmeum avatar May 13 '24 14:05 fmeum

@bazel-io fork 7.2.0

fmeum avatar May 14 '24 10:05 fmeum