Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/renovatebot/renovate into f…
Browse files Browse the repository at this point in the history
…ix-auto-merge-if-plus-one
  • Loading branch information
felipecrs committed Dec 1, 2024
2 parents 6ffa5b6 + 23b379e commit 7877331
Show file tree
Hide file tree
Showing 114 changed files with 778 additions and 608 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/containerbase/devcontainer:13.0.22
FROM ghcr.io/containerbase/devcontainer:13.0.23
2 changes: 1 addition & 1 deletion docs/usage/getting-started/private-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ However if you do still use them, private modules should work if you configure `
It is strongly recommended not to use private modules on a private registry and a warning will be logged if that is found.
Credentials stored on disk (e.g. in `~/.npmrc`) are no longer supported.

The recommended way of using local presets is to configure then using "local" presets, e.g. `"extends": ["local>myorg/renovate-config"]`, and ensure that the platform token has access to that repo.
The recommended way of using local presets is to configure them using "local" presets, e.g. `"extends": ["local>myorg/renovate-config"]`, and ensure that the platform token has access to that repo.

It's not recommended that you use a private repository to host your config while then extending it from a public repository.
If your preset doesn't have secrets then you should make it public, while if it does have secrets then it's better to split your preset between a public one which all repos extend, and a private one with secrets which only other private repos extend.
Expand Down
12 changes: 12 additions & 0 deletions docs/usage/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ Renovate does not support:
- Catalogs with custom names that do not end in `.toml`
- Catalogs outside the `gradle` folder whose names do not end in `.versions.toml` (unless overridden via [`fileMatch`](./configuration-options.md#filematch) configuration)

### Gradle Plugin Support

Renovate can also update [Gradle plugins](https://docs.gradle.org/current/userguide/plugins.html).
It supports the `id(<pluginId>)` syntax as well as the `kotlin(<kotlinPluginId>)` shortcut for `id(org.jetbrains.kotlin.<kotlinPluginId>)`.

For specifying `packageRules` it is important to know how `depName` and `packageName` are defined for a Gradle plugin:

- The `depName` field is equal to `<pluginId>`
- The `packageName` field is equal to `<pluginId>:<pluginId>.gradle.plugin`

This is a direct consequence of the [Plugin Marker Artifact](https://docs.gradle.org/current/userguide/plugins.html#sec:plugin_markers) naming convention.

## Gradle Wrapper

Renovate can update the [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) of a project.
Expand Down
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ const options: RenovateOptions[] = [
description:
'Change this value to override the default Renovate sidecar image.',
type: 'string',
default: 'ghcr.io/containerbase/sidecar:13.0.22',
default: 'ghcr.io/containerbase/sidecar:13.0.23',
globalOnly: true,
},
{
Expand Down
2 changes: 2 additions & 0 deletions lib/data/monorepo.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@
"https://github.com/facebook/jest",
"https://github.com/jestjs/jest"
],
"jetty": "https://github.com/jetty/jetty.project",
"jna": "https://github.com/java-native-access/jna",
"json-smart-v2": "https://github.com/netplex/json-smart-v2",
"jsplumb": "https://github.com/jsplumb/jsplumb",
Expand Down Expand Up @@ -574,6 +575,7 @@
"patternGroups": {
"angularmaterial": ["/^@angular/material/", "/^@angular/cdk/"],
"apache-camel": "/^org.apache.camel:/",
"apache-poi": "/^org.apache.poi:/",
"aws-java-sdk": "/^com.amazonaws:aws-java-sdk-/",
"aws-java-sdk-v2": "/^software.amazon.awssdk:/",
"babel6": "/^babel6$/",
Expand Down
2 changes: 2 additions & 0 deletions lib/modules/manager/ansible-galaxy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { GithubTagsDatasource } from '../../datasource/github-tags';

export { extractPackageFile } from './extract';

export const url =
'https://docs.ansible.com/ansible/latest/galaxy/user_guide.html';
export const categories: Category[] = ['ansible', 'iac'];

export const defaultConfig = {
Expand Down
1 change: 1 addition & 0 deletions lib/modules/manager/ansible/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Category } from '../../../constants';
import { DockerDatasource } from '../../datasource/docker';
export { extractPackageFile } from './extract';

export const url = 'https://docs.ansible.com';
export const categories: Category[] = ['ansible', 'iac'];

export const defaultConfig = {
Expand Down
5 changes: 2 additions & 3 deletions lib/modules/manager/argocd/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ import { HelmDatasource } from '../../datasource/helm';
export { extractPackageFile } from './extract';

export const displayName = 'Argo CD';
export const url = 'https://argo-cd.readthedocs.io/';
export const url = 'https://argo-cd.readthedocs.io';
export const categories: Category[] = ['kubernetes', 'cd'];

export const defaultConfig = {
fileMatch: [],
};

export const categories: Category[] = ['kubernetes', 'cd'];

export const supportedDatasources = [
DockerDatasource.id,
GitTagsDatasource.id,
Expand Down
1 change: 1 addition & 0 deletions lib/modules/manager/asdf/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { RubyVersionDatasource } from '../../datasource/ruby-version';
export { extractPackageFile } from './extract';

export const displayName = 'asdf';
export const url = 'https://asdf-vm.com';

export const defaultConfig = {
fileMatch: ['(^|/)\\.tool-versions$'],
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/manager/azure-pipelines/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import { AzurePipelinesTasksDatasource } from '../../datasource/azure-pipelines-
import { GitTagsDatasource } from '../../datasource/git-tags';
export { extractPackageFile } from './extract';

export const url = 'https://learn.microsoft.com/azure/devops/pipelines';
export const categories: Category[] = ['ci'];

export const defaultConfig = {
fileMatch: ['(^|/).azuredevops/.+\\.ya?ml$', 'azure.*pipelines?.*\\.ya?ml$'],
enabled: false,
};

export const categories: Category[] = ['ci'];

export const supportedDatasources = [
AzurePipelinesTasksDatasource.id,
GitTagsDatasource.id,
Expand Down
4 changes: 2 additions & 2 deletions lib/modules/manager/batect-wrapper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { id as versioning } from '../../versioning/semver';
export { extractPackageFile } from './extract';
export { updateArtifacts } from './artifacts';

export const categories: Category[] = ['batect'];

export const defaultConfig = {
fileMatch: ['(^|/)batect$'],
versioning,
};

export const categories: Category[] = ['batect'];

export const supportedDatasources = [GithubReleasesDatasource.id];
5 changes: 3 additions & 2 deletions lib/modules/manager/batect/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import { extractAllPackageFiles, extractPackageFile } from './extract';

export { extractAllPackageFiles, extractPackageFile };

export const url = 'https://batect.dev/docs';
export const categories: Category[] = ['batect'];

export const defaultConfig = {
fileMatch: ['(^|/)batect(-bundle)?\\.ya?ml$'],
};

export const categories: Category[] = ['batect'];

export const supportedDatasources = [GitTagsDatasource.id];
5 changes: 3 additions & 2 deletions lib/modules/manager/bazel-module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const url = 'https://bazel.build/external/module';
export const categories: Category[] = ['bazel'];

export const defaultConfig = {
fileMatch: ['(^|/)MODULE\\.bazel$'],
};

export const categories: Category[] = ['bazel'];

export const supportedDatasources = [
BazelDatasource.id,
GithubTagsDatasource.id,
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/manager/bazel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { extractPackageFile } from './extract';

export { extractPackageFile, updateArtifacts };

export const url = 'https://bazel.build/docs';
export const categories: Category[] = ['bazel'];

export const defaultConfig = {
fileMatch: [
'(^|/)WORKSPACE(|\\.bazel|\\.bzlmod)$',
Expand All @@ -16,8 +19,6 @@ export const defaultConfig = {
],
};

export const categories: Category[] = ['bazel'];

export const supportedDatasources = [
DockerDatasource.id,
GithubReleasesDatasource.id,
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/manager/bazelisk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import * as semverVersioning from '../../versioning/semver';

export { extractPackageFile } from './extract';

export const url = 'https://github.com/bazelbuild/bazelisk';
export const categories: Category[] = ['bazel'];

export const defaultConfig = {
fileMatch: ['(^|/)\\.bazelversion$'],
pinDigests: false,
versioning: semverVersioning.id,
};

export const categories: Category[] = ['bazel'];

export const supportedDatasources = [GithubReleasesDatasource.id];
6 changes: 4 additions & 2 deletions lib/modules/manager/bicep/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import { AzureBicepResourceDatasource } from '../../datasource/azure-bicep-resou

export { extractPackageFile } from './extract';

export const url =
'https://docs.microsoft.com/azure/azure-resource-manager/bicep/overview';
export const categories: Category[] = ['iac'];

export const defaultConfig = {
fileMatch: ['\\.bicep$'],
};

export const categories: Category[] = ['iac'];

export const supportedDatasources = [AzureBicepResourceDatasource.id];
13 changes: 7 additions & 6 deletions lib/modules/manager/bitbucket-pipelines/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const url =
'https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines';
export const categories: Category[] = ['ci'];
export const urls = [
'https://support.atlassian.com/bitbucket-cloud/docs/bitbucket-pipelines-configuration-reference',
];

export const defaultConfig = {
fileMatch: ['(^|/)\\.?bitbucket-pipelines\\.ya?ml$'],
};

export const categories: Category[] = ['ci'];

export const supportedDatasources = [DockerDatasource.id];

export const urls = [
'https://support.atlassian.com/bitbucket-cloud/docs/bitbucket-pipelines-configuration-reference/',
];
14 changes: 6 additions & 8 deletions lib/modules/manager/bitrise/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const url = 'https://devcenter.bitrise.io';
export const categories: Category[] = ['ci'];
export const urls = [
'https://devcenter.bitrise.io/en/steps-and-workflows/introduction-to-steps.html',
];

export const defaultConfig = {
fileMatch: ['(^|/)bitrise\\.ya?ml$'],
};

export const displayName = 'Bitrise';

export const categories: Category[] = ['ci'];

export const supportedDatasources = [
BitriseDatasource.id,
GitTagsDatasource.id,
];

export const urls = [
'https://devcenter.bitrise.io/en/steps-and-workflows/introduction-to-steps.html',
];
5 changes: 3 additions & 2 deletions lib/modules/manager/buildkite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const url = 'https://buildkite.com/docs';
export const categories: Category[] = ['ci'];

export const defaultConfig = {
fileMatch: ['buildkite\\.ya?ml', '\\.buildkite/.+\\.ya?ml$'],
commitMessageTopic: 'buildkite plugin {{depName}}',
commitMessageExtra:
'to {{#if isMajor}}{{{prettyNewMajor}}}{{else}}{{{newValue}}}{{/if}}',
};

export const categories: Category[] = ['ci'];

export const supportedDatasources = [
GithubTagsDatasource.id,
BitbucketTagsDatasource.id,
Expand Down
4 changes: 2 additions & 2 deletions lib/modules/manager/bun-version/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { id, isValid } from '../../versioning/npm';

import type { PackageDependency, PackageFileContent } from '../types';

export const supportedDatasources = [NpmDatasource.id];
export const categories: Category[] = ['js'];

export const defaultConfig = {
fileMatch: ['(^|/)\\.bun-version$'],
versioning: id,
};

export const categories: Category[] = ['js'];
export const supportedDatasources = [NpmDatasource.id];

export function extractPackageFile(content: string): PackageFileContent | null {
if (!content) {
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/manager/bun/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export { updateArtifacts } from './artifacts';
export { extractAllPackageFiles } from './extract';
export { getRangeStrategy, updateDependency } from '../npm';

export const url = 'https://bun.sh/docs/cli/install';
export const categories: Category[] = ['js'];

export const supersedesManagers = ['npm'];
export const supportsLockFileMaintenance = true;

Expand All @@ -23,6 +26,4 @@ export const defaultConfig = {
},
};

export const categories: Category[] = ['js'];

export const supportedDatasources = [GithubTagsDatasource.id, NpmDatasource.id];
5 changes: 3 additions & 2 deletions lib/modules/manager/bundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ export {
updateLockedDependency,
};

export const url = 'https://bundler.io/docs.html';
export const categories: Category[] = ['ruby'];

export const defaultConfig = {
fileMatch: ['(^|/)Gemfile$'],
versioning: rubyVersioning.id,
};

export const categories: Category[] = ['ruby'];

export const supportedDatasources = [
RubygemsDatasource.id,
RubyVersionDatasource.id,
Expand Down
7 changes: 4 additions & 3 deletions lib/modules/manager/cake/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ import { regEx } from '../../../util/regex';
import { NugetDatasource } from '../../datasource/nuget';
import type { PackageDependency, PackageFileContent } from '../types';

export const url = 'https://cakebuild.net/docs';
export const categories: Category[] = ['dotnet'];

export const defaultConfig = {
fileMatch: ['\\.cake$'],
};

export const categories: Category[] = ['dotnet'];
export const supportedDatasources = [NugetDatasource.id];

const lexer = moo.states({
main: {
Expand Down Expand Up @@ -73,5 +76,3 @@ export function extractPackageFile(content: string): PackageFileContent {
}
return { deps };
}

export const supportedDatasources = [NugetDatasource.id];
5 changes: 3 additions & 2 deletions lib/modules/manager/cargo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ export const supportsLockFileMaintenance = true;

export { extractPackageFile, updateArtifacts };

export const url = 'https://doc.rust-lang.org/cargo';
export const categories: Category[] = ['rust'];

export const defaultConfig = {
commitMessageTopic: 'Rust crate {{depName}}',
fileMatch: ['(^|/)Cargo\\.toml$'],
versioning: cargoVersioning.id,
};

export const categories: Category[] = ['rust'];

export const supportedDatasources = [CrateDatasource.id];
5 changes: 3 additions & 2 deletions lib/modules/manager/cdnurl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const displayName = 'CDN URL';
export const categories: Category[] = ['cd'];

export const defaultConfig = {
fileMatch: [],
versioning: semverVersioning.id,
};

export const categories: Category[] = ['cd'];

export const supportedDatasources = [CdnjsDatasource.id];
3 changes: 1 addition & 2 deletions lib/modules/manager/circleci/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ export { extractPackageFile };

export const displayName = 'CircleCI';
export const url = 'https://circleci.com/docs/configuration-reference';
export const categories: Category[] = ['ci'];

export const defaultConfig = {
fileMatch: ['(^|/)\\.circleci/.+\\.ya?ml$'],
};

export const categories: Category[] = ['ci'];

export const supportedDatasources = [DockerDatasource.id, OrbDatasource.id];
Loading

0 comments on commit 7877331

Please sign in to comment.