Skip to content

Commit

Permalink
docs(managers): add missing url and displayName (#32621)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
  • Loading branch information
risu729 and viceice authored Dec 1, 2024
1 parent ade4e10 commit 397ab49
Show file tree
Hide file tree
Showing 100 changed files with 354 additions and 236 deletions.
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];
6 changes: 4 additions & 2 deletions lib/modules/manager/cloudbuild/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import { extractPackageFile } from './extract';

export { extractPackageFile };

export const displayName = 'Cloud Build';
export const url = 'https://cloud.google.com/build/docs';
export const categories: Category[] = ['ci'];

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

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

export const supportedDatasources = [DockerDatasource.id];
3 changes: 1 addition & 2 deletions lib/modules/manager/cocoapods/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ export { updateArtifacts } from './artifacts';

export const displayName = 'CocoaPods';
export const url = 'https://cocoapods.org';
export const categories: Category[] = ['swift'];

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

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

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

export const url = 'https://getcomposer.org/doc';
export const categories: Category[] = ['php'];

export const defaultConfig = {
fileMatch: ['(^|/)([\\w-]*)composer\\.json$'],
versioning: composerVersioningId,
};

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

export const supportedDatasources = [
BitbucketTagsDatasource.id,
GitTagsDatasource.id,
Expand Down
Loading

0 comments on commit 397ab49

Please sign in to comment.