v1.23.0
Pull Requests | Issues | v1.22.0...v1.23.0
Features
#441 #1330 #1336 Support filtering packages with tags
https://aquaproj.github.io/docs/guides/package-tag/
Add the optional field tags
to aqua.yaml
's package.
This field is a string list of tags.
e.g.
---
registries:
- type: standard
ref: v3.79.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/[email protected]
tags:
- test
- foo
- name: suzuki-shunsuke/[email protected]
- name: cli/[email protected]
tags:
- bar
- foo
And add the following command line options to the commands aqua install
and aqua cp
.
--tags (-t)
(string): When this option is set, only packages that have specifed tags are installed. You can specify multiple tags joining with,
(e.g.-t ci,test
)--exclude-tags
(string): When this option is set, packages that have specifed tags aren't installed. You can specify multiple tags joining with,
(e.g.-exclude-tags ci,test
)
$ aqua i # Install suzuki-shunsuke/[email protected] and suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i -t test # Install suzuki-shunsuke/[email protected]
$ aqua i -t foo,bar # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test -t foo # Install cli/[email protected]
Note that symbolic links of all packages are created regardless tags, so that you can execute all tools by Lazy Install and assure that tools are managed by aqua.
Others
#1367 docs: Fix JSON Schema
#1377 chore: update Go to v1.19.3
Contributors
Regarding #441 , @uesyn and @sheldonhull propose the feature and gave us the feedback.
Thanks a lot!