github aquaproj/aqua v1.27.0

latest releases: v2.37.2, v2.37.1, v2.37.0...
22 months ago

Pull Requests | Issues | v1.26.2...v1.27.0

Features

#1466 #1468 #1486 Support a new field private for private packages and registries

You can set private: true to private packages and registries.
By default, private is false.
If private is true, aqua skips sending HTTP requests to download assets, because the requests always fail.
Even if the value of private attribute is wrong, you can install the registry and package.

e.g. aqua.yaml

registries:
- name: foo
  type: github_content
  repo_owner: aquaproj
  repo_name: private-repository
  ref: v3.90.0
  private: true # Private Registry
  path: registry.yaml

e.g. registry.yaml

packages:
# init: a
- type: github_release
  repo_owner: aquaproj
  repo_name: private-repository
  asset: 'foo_{{trimV .Version}}_{{title .OS}}_{{.Arch}}.tar.gz'
  private: true # Private Package

#1084 #1487 Support template in go_install package's path attribute

Go Module path includes the major version.
We have ever had to define version_constraint per major version.
Using template, you can define the package more simply.

e.g.

packages:
  - type: go_install
    repo_owner: volatiletech
    repo_name: sqlboiler
    description: Generate a Go ORM tailored to your database schema
    path: github.com/volatiletech/sqlboiler/v{{(semver .Version).Major}}

Bug Fixes

#1482 generate-registry: Remove slsa_provenance: null from the output of aqua gr

Don't miss a new aqua release

NewReleases is sending notifications on new releases.