github aquaproj/aqua v1.22.0-0

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

v1.21.0...v1.22.0-0

Features

#441 #1336 Support filtering installed packages with tags

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)
  • --ignore-tags (boolean): When this option is set, package tags are ignored and all packages are installed or copied
$ aqua i # Install suzuki-shunsuke/github-comment@v4.0.0
$ aqua i -t test # Install suzuki-shunsuke/tfcmt@v3.2.0
$ aqua i --ignore-tags # Install suzuki-shunsuke/github-comment@v4.0.0 and suzuki-shunsuke/tfcmt@v3.2.0 and cli/cli@v2.0.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.

Don't miss a new aqua release

NewReleases is sending notifications on new releases.