Skip to content

Commit

Permalink
feat(manager/asdf): add additional asdf supported tools (#32214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos authored Oct 30, 2024
1 parent a471762 commit 712910a
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
32 changes: 32 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ direnv 2.32.1
dotnet-core 8.0.303
dprint 0.32.2
ecspresso 2.1.0
editorconfig-checker 3.0.2
elixir 1.14.1
elm 0.19.1
erlang 25.1.2
flutter 3.7.6-stable
flux2 0.41.2
gauche 0.9.12
github-cli 2.32.1
gitleaks 8.21.1
gleam 1.3.1
gohugo extended_0.104.3
golang 1.19.2
Expand All @@ -88,6 +90,7 @@ kotlin 1.7.20
kubectl 1.26.3
kustomize 4.5.7
lua 5.4.4
markdownlint-cli2 0.13.0
maven 3.9.6
mimirtool 2.11.0
minikube 1.33.1
Expand Down Expand Up @@ -116,6 +119,7 @@ tflint 0.44.1
tfsec 1.28.1
trivy 0.33.0
vault 1.15.1
yamllint 1.35.0
yq 4.40.5
zig 0.9.1
maestro 1.24.0
Expand Down Expand Up @@ -247,6 +251,13 @@ dummy 1.2.3
depName: 'ecspresso',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.0.2',
datasource: 'github-releases',
packageName: 'editorconfig-checker/editorconfig-checker',
depName: 'editorconfig-checker',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.14.1',
datasource: 'hexpm-bob',
Expand Down Expand Up @@ -292,6 +303,13 @@ dummy 1.2.3
depName: 'github-cli',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '8.21.1',
datasource: 'github-releases',
packageName: 'gitleaks/gitleaks',
depName: 'gitleaks',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.3.1',
datasource: 'github-tags',
Expand Down Expand Up @@ -423,6 +441,13 @@ dummy 1.2.3
depName: 'lua',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '0.13.0',
datasource: 'github-tags',
packageName: 'DavidAnson/markdownlint-cli2',
depName: 'markdownlint-cli2',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.9.6',
datasource: 'github-releases',
Expand Down Expand Up @@ -611,6 +636,13 @@ dummy 1.2.3
depName: 'vault',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.35.0',
datasource: 'github-tags',
packageName: 'adrienverge/yamllint',
depName: 'yamllint',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '4.40.5',
datasource: 'github-releases',
Expand Down
33 changes: 33 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
'editorconfig-checker': {
asdfPluginUrl: 'https://github.com/gabitchov/asdf-editorconfig-checker',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'editorconfig-checker/editorconfig-checker',
extractVersion: '^v(?<version>\\S+)',
},
},
elixir: {
asdfPluginUrl: 'https://github.com/asdf-vm/asdf-elixir',
config: {
Expand Down Expand Up @@ -236,6 +244,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
gitleaks: {
asdfPluginUrl: 'https://github.com/jmcvetta/asdf-gitleaks',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'gitleaks/gitleaks',
extractVersion: '^v(?<version>\\S+)',
},
},
gleam: {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-gleam.git',
config: {
Expand Down Expand Up @@ -440,6 +456,15 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
'markdownlint-cli2': {
asdfPluginUrl:
'https://github.com/paulo-ferraz-oliveira/asdf-markdownlint-cli2',
config: {
datasource: GithubTagsDatasource.id,
packageName: 'DavidAnson/markdownlint-cli2',
extractVersion: '^v(?<version>\\S+)',
},
},
maven: {
asdfPluginUrl: 'https://github.com/halcyon/asdf-maven',
config: {
Expand Down Expand Up @@ -686,6 +711,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
yamllint: {
asdfPluginUrl: 'https://github.com/ericcornelissen/asdf-yamllint',
config: {
datasource: GithubTagsDatasource.id,
packageName: 'adrienverge/yamllint',
extractVersion: '^v(?<version>\\S+)',
},
},
yq: {
asdfPluginUrl: 'https://github.com/sudermanjr/asdf-yq',
config: {
Expand Down

0 comments on commit 712910a

Please sign in to comment.