Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 26 additions & 18 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@
"customManagers": [
{
"customType": "regex",
"fileMatch": ["dependencies.txt"],
"matchStrings": ["(?<depName>.*),(.*)=(?<currentValue>.*)"],
"managerFilePatterns": [
"/dependencies.txt/"
],
"matchStrings": [
"(?<depName>.*),(.*)=(?<currentValue>.*)"
],
"datasourceTemplate": "maven"
},
{
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
"managerFilePatterns": [
"/^gax-java/dependencies\\.properties$/"
],
"matchStrings": [
"=(?<depName>.+\\:.+?):(?<currentValue>.+?)\\n"
Expand All @@ -28,8 +32,8 @@
},
{
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
"managerFilePatterns": [
"/^gax-java/dependencies\\.properties$/"
],
"matchStrings": [
"version\\.google_java_format=(?<currentValue>.+?)\\n"
Expand All @@ -39,9 +43,9 @@
},
{
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$",
"^\\.cloudbuild/library_generation/library_generation.*\\.Dockerfile$"
"managerFilePatterns": [
"/^gax-java/dependencies\\.properties$/",
"/^\\.cloudbuild/library_generation/library_generation.*\\.Dockerfile$/"
],
"matchStrings": [
"version\\.io_grpc=(?<currentValue>.+?)\\n",
Expand All @@ -52,8 +56,8 @@
},
{
"customType": "regex",
"fileMatch": [
"^.kokoro/presubmit/graalvm-native.*.cfg$"
"managerFilePatterns": [
"/^.kokoro/presubmit/graalvm-native.*.cfg$/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dots . in the file path .kokoro and file extension .cfg are special characters in regular expressions that match any character. To match literal dots, they should be escaped with a backslash (\.). This ensures the pattern only matches files in the .kokoro directory with a .cfg extension.

Suggested change
"/^.kokoro/presubmit/graalvm-native.*.cfg$/"
"/^\.kokoro/presubmit/graalvm-native.*\.cfg$/"

],
"matchStrings": [
"value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?<currentValue>.*?)\"",
Expand All @@ -64,8 +68,8 @@
},
{
"customType": "regex",
"fileMatch": [
"^.cloudbuild/*"
"managerFilePatterns": [
"/^.cloudbuild/*/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dot . in the file path .cloudbuild is a special character in regular expressions that matches any character. To match a literal dot, it should be escaped with a backslash (\.). This ensures the pattern only matches files in the .cloudbuild directory.

        "/^\.cloudbuild/*/

],
"matchStrings": [
" _JAVA_SHARED_CONFIG_VERSION: '(?<currentValue>.+?)'"
Expand All @@ -75,8 +79,8 @@
},
{
"customType": "regex",
"fileMatch": [
"^.cloudbuild/library_generation/library_generation.*\\.Dockerfile$"
"managerFilePatterns": [
"/^.cloudbuild/library_generation/library_generation.*\\.Dockerfile$/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dot . in the file path .cloudbuild is a special character in regular expressions that matches any character. To match a literal dot, it should be escaped with a backslash (\.). This ensures the pattern only matches files in the .cloudbuild directory. Another pattern in this file for the same directory already does this correctly.

        "/^\.cloudbuild/library_generation/library_generation.*\.Dockerfile$/"

],
"matchStrings": [
"OWLBOT_CLI_COMMITTISH=(?<currentDigest>.*?)\\n"
Expand Down Expand Up @@ -219,11 +223,15 @@
},
{
"matchManagers": [
"regex"
"custom.regex"
],
"semanticCommitType": "chore",
"matchFileNames": ["dependencies.txt"],
"matchDatasources": ["maven"],
"matchFileNames": [
"dependencies.txt"
],
"matchDatasources": [
"maven"
],
"groupName": "Upper Bound Dependencies File",
"description": "Group all dependencies from the Upper Bound Dependencies File"
}
Expand Down