Pull Requests | Issues | v1.22.0...v1.23.0
Features
#441 #1330 #1336 Support filtering packages with tags
https://aquaproj.github.io/docs/tutorial-extras/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/tfcmt@v3.2.0
tags:
- test
- foo
- name: suzuki-shunsuke/github-comment@v4.0.0
- name: cli/cli@v2.0.0
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/tfcmt@v3.2.0 and suzuki-shunsuke/github-comment@v4.0.0 and cli/cli@v2.0.0
$ aqua i -t test # Install suzuki-shunsuke/tfcmt@v3.2.0
$ aqua i -t foo,bar # Install suzuki-shunsuke/tfcmt@v3.2.0 and cli/cli@v2.0.0
$ aqua i --exclude-tags test # Install suzuki-shunsuke/github-comment@v4.0.0 and cli/cli@v2.0.0
$ aqua i --exclude-tags test -t foo # Install cli/cli@v2.0.0
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!