Bazel
kind: bazel
Description
The bazel Autodiscovery plugin allows to automatically search and update content in Bazel configuration file.
Manifests
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| ignore | array | ignore specifies rule to ignore Bazel module updates. |
|
| modules | object |
examples:
|
|
| path | string | path specifies a MODULE.bazel path pattern, the pattern requires to match all of name, not just a substring. |
|
| only | array | only specify required rule to restrict Bazel module updates. |
|
| modules | object |
examples:
|
|
| path | string | path specifies a MODULE.bazel path pattern, the pattern requires to match all of name, not just a substring. |
|
| rootdir | string | rootdir defines the root directory used to recursively search for MODULE.bazel files |
|
| versionfilter | object |
kind - semver
versionfilter of kind kind - regex
versionfilter of kind example:
|
|
| kind | string | specifies the version kind such as semver, regex, or latest | |
| pattern | string | specifies the version pattern according the version kind for semver, it is a semver constraint for regex, it is a regex pattern for time, it is a date format | |
| regex | string | specifies the regex pattern, used for regex/semver and regex/time. Output of the first capture group will be used. | |
| replaceall | object | replaceAll applies a regex replacement to version strings before filtering. This is useful for transforming versions (e.g., curl-8_15_0 to curl-8.15.0) before regex extraction. | |
| pattern | string | Pattern specifies the regex pattern to match for replacement | |
| replacement | string | Replacement specifies the replacement string (supports $1, $2, etc. for captured groups) | |
| strict | boolean | strict enforce strict versioning rule. Only used for semantic versioning at this time |
Example
autodiscovery:
crawlers:
bazel: