github aquaproj/aqua v1.19.0-4

latest releases: v2.37.2, v2.37.1, v2.37.0...
pre-release2 years ago

Pull Requests | Issues | v1.18.0...v1.19.0-4

Features

#1086 #1087 aqua g: Support inserting packages to an imported file
#1083 #1088 aqua g: Skip adding a package when the same version of package is already added

aqua g: Support inserting packages to an imported file

#1086 #1087

aqua supports importing files.

e.g. aqua.yaml

registries:
- type: standard
  ref: v3.22.0
packages:
- import: aqua/*.yaml

You can insert packages to an imported file with -o option.

$ aqua g -o aqua/tfcmt.yaml suzuki-shunsuke/tfcmt

-o option implies -i.

aqua g: Skip adding a package when the same version of package is already added

#1083 #1088

e.g.

$ aqua init
$ aqua g -i suzuki-shunsuke/tfcmt
$ aqua g -i suzuki-shunsuke/tfcmt
WARN[0000] skip adding a dupliated package               aqua_version= env=darwin/arm64 package_name=suzuki-shunsuke/tfcmt@v3.3.0 package_registry=standard package_version= program=aqua

$ cat aqua.yaml 
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
  ref: v3.22.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/tfcmt@v3.3.0
$ cat aqua.yaml 
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
  ref: v3.22.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/tfcmt@v3.2.0

$ aqua g -i suzuki-shunsuke/tfcmt
WARN[0000] same package already exists                   aqua_version= env=darwin/arm64 package_name=suzuki-shunsuke/tfcmt@v3.3.0 package_registry=standard program=aqua

$ cat aqua.yaml 
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
  ref: v3.22.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/tfcmt@v3.2.0
- name: suzuki-shunsuke/tfcmt@v3.3.0

Don't miss a new aqua release

NewReleases is sending notifications on new releases.