mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
351201cac6
test(manager/bazel): close the bazel branch coverage gaps Adds two extractions that no test covered: a `go_repository` carrying both a tag and a commit, which must not be marked digest-only, and a `maven_install` artifact whose coordinate is not group:artifact:version. Marks the rest. `parser.ts` guards are type narrowing over the parsed fragment tree, where the else only happens if the parser hands back a shape it never produces. In `artifacts.ts` only http rules reach updateArtifacts, and the empty url list already returned earlier. The digest branch in `rules/http.ts` stays counted: a coverage-ignore hint does not attach to an `else if`, so it carries a plain note. Co-authored-by: Claude Opus 5 <michael.kriese+claude-code@mend.io>
Bazel is quite unlike most other "package managers" that Renovate supports, which usually focus on a particular ecosystem like JavaScript, Ruby or Docker. Instead, Bazel is a build tool so supports a multitude of languages/datasources. Renovate does not support all possible Bazel references, although would like to, and feature requests are welcome.
If you need to change the versioning format, read the versioning documentation to learn more.