Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: refactor with aqua v2.13.0's new features #16112

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion pkgs/Azure/aks-engine/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ packages:
asset: aks-engine-{{.Version}}-{{.OS}}-{{.Arch}}.tar.gz
files:
- name: aks-engine
src: aks-engine-{{.Version}}-{{.OS}}-{{.Arch}}/aks-engine
src: "{{.AssetWithoutExt}}/aks-engine"
6 changes: 3 additions & 3 deletions pkgs/Azure/azure-dev/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ packages:
- type: github_release
repo_owner: Azure
repo_name: azure-dev
asset: azd-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
description: The Azure Developer CLI is a developer-centric command-line interface tool for creating Azure applications
asset: azd-{{.OS}}-{{.Arch}}
format: zip
overrides:
- goos: linux
format: tar.gz
files:
- name: azd
src: azd-{{.OS}}-{{.Arch}}
src: "{{.AssetWithoutExt}}"
supported_envs:
- darwin
- amd64
Expand Down
52 changes: 18 additions & 34 deletions pkgs/Boeing/config-file-validator/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ packages:
- goos: windows
goarch: amd64
asset: validator-{{trimV .Version}}
- goos: linux
goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
- goos: windows
goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
supported_envs:
- darwin
- amd64
build:
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
files:
- name: validator
replacements:
Expand All @@ -30,43 +28,29 @@ packages:
- goos: windows
goarch: amd64
asset: validator
- goos: linux
goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
- goos: windows
goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
- version_constraint: semver(">= 1.0.1")
asset: validator.{{.OS}}-{{.Arch}}
overrides:
- goos: windows
goarch: amd64
asset: validator
- goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
- goos: darwin
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
replacements: {}
supported_envs:
- linux/amd64
- windows/amd64
- version_constraint: Version == "v1.0.0"
asset: validator.{{.OS}}-{{.Arch}}
replacements: {}
supported_envs:
- linux/amd64
- windows/amd64
build:
type: go_build
files:
- name: validator
src: ./cmd/validator
dir: config-file-validator-{{trimV .Version}}
overrides:
- goos: windows
goarch: amd64
asset: validator
- goarch: arm64
type: go_build
files:
- name: validator
src: ./cmd/validator
dir: config-file-validator-{{trimV .Version}}
- goos: darwin
type: go_build
files:
- name: validator
src: ./cmd/validator
dir: config-file-validator-{{trimV .Version}}
4 changes: 2 additions & 2 deletions pkgs/BurntSushi/ripgrep/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ packages:
- type: github_release
repo_owner: BurntSushi
repo_name: ripgrep
asset: ripgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
description: ripgrep recursively searches directories for a regex pattern while respecting your gitignore
asset: ripgrep-{{.Version}}-{{.Arch}}-{{.OS}}
rosetta2: true
supported_envs:
- darwin
Expand All @@ -19,4 +19,4 @@ packages:
format: zip
files:
- name: rg
src: ripgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rg
src: "{{.AssetWithoutExt}}/rg"
8 changes: 4 additions & 4 deletions pkgs/Byron/dua-cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ packages:
repo_owner: Byron
repo_name: dua-cli
description: View disk space usage and delete unwanted data, fast
asset: dua-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
asset: dua-{{.Version}}-{{.Arch}}-{{.OS}}
files:
- name: dua
src: dua-{{.Version}}-{{.Arch}}-{{.OS}}/dua
src: "{{.AssetWithoutExt}}/dua"
format: tar.gz
overrides:
- goos: windows
Expand All @@ -22,7 +22,7 @@ packages:
rosetta2: true
version_constraint: semver(">= 2.20.1")
version_overrides:
- version_constraint: semver(">= 2.20.0")
- version_constraint: Version == "v2.20.0"
format: zip
overrides:
- goos: darwin
Expand All @@ -35,7 +35,7 @@ packages:
- darwin
- windows/amd64
- version_constraint: semver(">= 2.10.4")
- version_constraint: semver(">= 2.10.3")
- version_constraint: Version == "v2.10.3"
overrides: []
- version_constraint: semver(">= 2.6.0")
- version_constraint: semver("< 2.6.0")
Expand Down
6 changes: 3 additions & 3 deletions pkgs/CircleCI-Public/circleci-cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
repo_name: circleci-cli
description: Use CircleCI from the command line
rosetta2: true
asset: circleci-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
asset: circleci-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}
supported_envs:
- darwin
- linux
Expand All @@ -15,10 +15,10 @@ packages:
format: zip
files:
- name: circleci
src: circleci-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}/circleci
src: "{{.AssetWithoutExt}}/circleci"
version_constraint: semver(">= 0.1.17554")
version_overrides:
- version_constraint: "true"
- version_constraint: semver("< 0.1.17554")
supported_envs:
- darwin
- amd64
Expand Down
6 changes: 3 additions & 3 deletions pkgs/Dreamacro/clash/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ packages:
- type: github_release
repo_owner: Dreamacro
repo_name: clash
asset: clash-{{.OS}}-{{.Arch}}-{{.Version}}.{{.Format}}
description: A rule-based tunnel in Go
asset: clash-{{.OS}}-{{.Arch}}-{{.Version}}
supported_envs:
- windows
- darwin
- linux/amd64
description: A rule-based tunnel in Go
format: gz
files:
- name: clash
src: clash-{{.OS}}-{{.Arch}}-{{.Version}}
src: "{{.AssetWithoutExt}}"
overrides:
- goos: windows
format: zip
Expand Down
2 changes: 1 addition & 1 deletion pkgs/GoodwayGroup/gwvault/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages:
asset: gwvault_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
files:
- name: gwvault
src: gwvault_{{trimV .Version}}_{{.OS}}_{{.Arch}}/gwvault
src: "{{.AssetWithoutExt}}/gwvault"
format: tar.gz
overrides:
- goos: windows
Expand Down
9 changes: 2 additions & 7 deletions pkgs/PaddiM8/kalker/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ packages:
repo_owner: PaddiM8
repo_name: kalker
description: Kalker is a calculator program that supports user-defined variables, functions, differentiation, and integration
asset: kalker-{{.OS}}.{{.Format}}
asset: kalker-{{.OS}}
format: zip
overrides:
- goos: linux
format: raw
asset: kalker-{{.OS}}
replacements:
darwin: macOS
supported_envs:
Expand All @@ -21,11 +20,7 @@ packages:
version_constraint: semver(">= 1.0.0")
version_overrides:
- version_constraint: semver(">= 0.3.4")
asset: kalk-{{.OS}}.{{.Format}}
overrides:
- goos: linux
format: raw
asset: kalk-{{.OS}}
asset: kalk-{{.OS}}
files:
- name: kalker
src: target/release/kalk
Expand Down
5 changes: 3 additions & 2 deletions pkgs/XAMPPRocky/tokei/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ packages:
repo_owner: XAMPPRocky
repo_name: tokei
rosetta2: true
asset: tokei-{{.Arch}}-{{.OS}}.tar.gz
asset: tokei-{{.Arch}}-{{.OS}}
format: tar.gz
description: Count your code, quickly
supported_envs:
- darwin
Expand All @@ -12,9 +13,9 @@ packages:
replacements:
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
amd64: x86_64
arm64: aarch64
overrides:
- goos: windows
asset: tokei-{{.Arch}}-pc-windows-msvc.exe
format: raw
6 changes: 3 additions & 3 deletions pkgs/aristocratos/btop/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ packages:
repo_owner: aristocratos
repo_name: btop
description: A monitor of resources
asset: btop-{{.Arch}}-{{.OS}}.tbz
format: tar.bz2
asset: btop-{{.Arch}}-{{.OS}}
format: tbz
supported_envs:
- darwin
- linux
Expand All @@ -21,7 +21,7 @@ packages:
- name: btop
src: btop/bin/btop
version_overrides:
- version_constraint: "true"
- version_constraint: semver("< 1.2.13")
files:
- name: btop
src: bin/btop
4 changes: 2 additions & 2 deletions pkgs/babarot/gomi/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ packages:
repo_name: gomi
aliases:
- name: b4b4r07/gomi
asset: gomi_{{.OS}}_{{.Arch}}.tar.gz
description: Replacement for UNIX rm command
asset: gomi_{{.OS}}_{{.Arch}}
format: tar.gz
replacements:
amd64: x86_64
supported_envs:
Expand All @@ -19,7 +20,6 @@ packages:
- darwin
rosetta2: true
- version_constraint: "true"
asset: gomi_{{.OS}}_{{.Arch}}
format: raw
replacements: {}
supported_envs:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloudspannerecosystem/yo/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ packages:
- type: github_release
repo_owner: cloudspannerecosystem
repo_name: yo
asset: yo-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
asset: yo-{{trimV .Version}}-{{.OS}}-{{.Arch}}
format: tar.gz
description: yo is a command-line tool to generate Go code for Google Cloud Spanner
overrides:
- goos: windows
format: zip
files:
- name: yo
src: yo-{{trimV .Version}}-{{.OS}}-{{.Arch}}/yo
src: "{{.AssetWithoutExt}}/yo"
checksum:
type: github_release
asset: checksums.txt
Expand Down
30 changes: 9 additions & 21 deletions pkgs/josephburnett/jd/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,25 @@ packages:
description: JSON diff and patch
asset: jd-{{.Arch}}-{{.OS}}
format: raw
build:
type: go_install
version_constraint: semver(">= 1.6.1")
version_overrides:
- version_constraint: semver(">= 1.5.0")
complete_windows_ext: false
- version_constraint: Version == "v1.4.0"
complete_windows_ext: false
rosetta2: true
overrides:
- goos: linux
goarch: arm64
type: go_install
path: github.com/josephburnett/jd
- goos: windows
goarch: arm64
type: go_install
path: github.com/josephburnett/jd
supported_envs:
- darwin
- amd64
- version_constraint: semver(">= 1.2.0")
asset: jd
overrides:
- goarch: arm64
type: go_install
path: github.com/josephburnett/jd
- goos: darwin
goarch: amd64
type: go_install
path: github.com/josephburnett/jd
- goos: windows
goarch: amd64
type: go_install
path: github.com/josephburnett/jd
supported_envs:
- linux/amd64
- version_constraint: semver("< 1.2.0")
asset: jd
supported_envs:
- linux/amd64
build:
enabled: false
Loading