Skip to content

renovate-reproductions/33748

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

33748

Current behavior

The only dependencies to update are bzlmod from MODULE.bazel.

Renovate correctly finds a new version for rules_python.

It fails to find a new version for rules_cc.

The error message is: "Could not determine new digest for update (github-tags package bazelbuild/rules_cc)"

It attempted to look up the commit at https://bcr.bazel.build/api/v3/repos/bazelbuild/rules_cc/commits?per_page=1 instead of at https://github.com/api/v3/repos/bazelbuild/rules_cc/commits?per_page=1. As described in the discussion, this appears to be a bug in this function which only occurs when using .bazelrc to specify a custom registry.

Expected behavior

Correctly detect the new commit for rules_cc. This desired behavior can be achieved by commenting out the registry flag in .bazelrc

Note that a potential workaround is as follows in the .bazelrc:

common:default --registry=https://bcr.bazel.build
common --config=default

This makes Bazel ignore the registry flag, but it still gets used by Bazel to build with.

Link to the Renovate issue or Discussion

See the discussion

About

A reproduction of a Renovate bug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Starlark 100.0%