From 8a124d3ed8fcab4f959872a0b03022f1a0931631 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Dec 2024 16:39:33 +0100 Subject: [PATCH] chore(config): migrate renovate config (#3442) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed. You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon. 🔕 **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid. ❓ Got questions? Does something look wrong to you? Please don't hesitate to [request help here](https://redirect.github.com/renovatebot/renovate/discussions). --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/sdk-platform-java). --- renovate.json | 166 ++++++++++++++++++++++++++------------------------ 1 file changed, 87 insertions(+), 79 deletions(-) diff --git a/renovate.json b/renovate.json index e6be04fa03..02a90af7ad 100644 --- a/renovate.json +++ b/renovate.json @@ -6,7 +6,9 @@ "ignoreDeps": [ "rules_pkg" ], - "ignorePaths": ["^library_generation/requirements\\.txt$"], + "ignorePaths": [ + "^library_generation/requirements\\.txt$" + ], "customManagers": [ { "customType": "regex", @@ -44,9 +46,13 @@ }, { "customType": "regex", - "fileMatch": ["^.kokoro/presubmit/graalvm-native.*.cfg$"], - "matchStrings": ["value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?.*?)\"", - "value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm17:(?.*?)\""], + "fileMatch": [ + "^.kokoro/presubmit/graalvm-native.*.cfg$" + ], + "matchStrings": [ + "value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?.*?)\"", + "value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm17:(?.*?)\"" + ], "depNameTemplate": "ghcr.io/graalvm/graalvm-ce", "datasourceTemplate": "docker" }, @@ -77,7 +83,9 @@ ], "packageRules": [ { - "matchPackageNames": ["com.google.cloud:google-cloud-shared-config"], + "matchPackageNames": [ + "com.google.cloud:google-cloud-shared-config" + ], "registryUrls": [ "https://repo.maven.apache.org/maven2/", "https://repo1.maven.org/maven2" @@ -87,114 +95,114 @@ "matchUpdateTypes": [ "major" ], - "matchPackagePatterns": [ + "enabled": false, + "matchPackageNames": [ "*" - ], - "enabled": false + ] }, { - "matchPackagePatterns": [ - "^com.google.protobuf:" - ], - "enabled": false + "enabled": false, + "matchPackageNames": [ + "/^com.google.protobuf:/" + ] }, { - "matchPackagePatterns": [ - "^com.google.guava:" - ], - "versioning": "docker" + "versioning": "docker", + "matchPackageNames": [ + "/^com.google.guava:/" + ] }, { - "matchPackagePatterns": [ - "*" - ], "semanticCommitType": "deps", - "semanticCommitScope": null + "semanticCommitScope": null, + "matchPackageNames": [ + "*" + ] }, { - "matchPackagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], "semanticCommitType": "build", "semanticCommitScope": "deps", - "enabled": true + "enabled": true, + "matchPackageNames": [ + "/^org.apache.maven/", + "/^org.jacoco:/", + "/^org.codehaus.mojo:/", + "/^org.sonatype.plugins:/", + "/^com.coveo:/", + "/^com.google.cloud:google-cloud-shared-config/" + ] }, { - "matchPackagePatterns": [ - "^{{metadata['repo']['distribution_name']}}", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], "semanticCommitType": "chore", - "semanticCommitScope": "deps" + "semanticCommitScope": "deps", + "matchPackageNames": [ + "/^{{metadata['repo']['distribution_name']}}/", + "/^com.google.cloud:libraries-bom/", + "/^com.google.cloud.samples:shared-configuration/" + ] }, { - "matchPackagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis", - "^com.google.cloud:google-cloud-conformance-tests" - ], "semanticCommitType": "test", - "semanticCommitScope": "deps" + "semanticCommitScope": "deps", + "matchPackageNames": [ + "/^junit:junit/", + "/^com.google.truth:truth/", + "/^org.mockito:mockito-core/", + "/^org.objenesis:objenesis/", + "/^com.google.cloud:google-cloud-conformance-tests/" + ] }, { - "matchPackagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false + "ignoreUnstable": false, + "matchPackageNames": [ + "/^com.google.cloud:google-cloud-/" + ] }, { - "matchPackagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" + "groupName": "jackson dependencies", + "matchPackageNames": [ + "/^com.fasterxml.jackson.core/" + ] }, { - "matchPackagePatterns": [ - "^io.grpc" - ], - "groupName": "gRPC dependencies" + "groupName": "gRPC dependencies", + "matchPackageNames": [ + "/^io.grpc/" + ] }, { - "matchPackagePatterns": [ - "^com.google.auth" - ], - "groupName": "Google Auth Library dependencies" + "groupName": "Google Auth Library dependencies", + "matchPackageNames": [ + "/^com.google.auth/" + ] }, { - "matchPackagePatterns": [ - "com.google.api.grpc:grpc-google-common-protos", - "com.google.api.grpc:grpc-google-iam-v1", - "com.google.api.grpc:proto-google-common-protos", - "com.google.api.grpc:proto-google-iam-v1", - "com.google.api:api-common" - ], - "groupName": "Google API dependencies" + "groupName": "Google API dependencies", + "matchPackageNames": [ + "/com.google.api.grpc:grpc-google-common-protos/", + "/com.google.api.grpc:grpc-google-iam-v1/", + "/com.google.api.grpc:proto-google-common-protos/", + "/com.google.api.grpc:proto-google-iam-v1/", + "/com.google.api:api-common/" + ] }, { - "matchPackagePatterns": [ - "^com.google.http-client" - ], - "groupName": "Google HTTP Client dependencies" + "groupName": "Google HTTP Client dependencies", + "matchPackageNames": [ + "/^com.google.http-client/" + ] }, { - "matchPackagePatterns": [ - "^io.opencensus" - ], - "groupName": "OpenCensus dependencies" + "groupName": "OpenCensus dependencies", + "matchPackageNames": [ + "/^io.opencensus/" + ] }, { - "matchPackagePatterns": [ - "^io.netty" - ], - "groupName": "Netty dependencies" + "groupName": "Netty dependencies", + "matchPackageNames": [ + "/^io.netty/" + ] } ] }