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

modules specifies a map of modules, the key is module name as seen in the MODULE.bazel, the value is an optional semver version constraint.

examples:

- modules:
  # Ignoring module updates for this module
  rules_go:
  # Ignore module updates for this version
  gazelle: "1.x"
    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

modules specifies a map of modules, the key is module name as seen in the MODULE.bazel, the value is an optional semver version constraint.

examples:

- modules:
  # Ignoring module updates for this module
  rules_go:
  # Ignore module updates for this version
  gazelle: "1.x"
    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

versionfilter provides parameters to specify the version pattern to use when generating manifest.

kind - semver versionfilter of kind semver uses semantic versioning as version filtering pattern accepts one of: patch - patch only update patch version minor - minor only update minor version major - major only update major versions a version constraint such as >= 1.0.0

kind - regex versionfilter of kind regex uses regular expression as version filtering pattern accepts a valid regular expression

example:

	versionfilter:
		kind: semver
		pattern: minor
    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
⚠ This table is generated from the Updatecli codebase and may contain inaccurate data. Feel free to report them on github.com/updatecli/updatecli

Example

autodiscovery:
  crawlers:
    bazel:
Top