You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release includes several improvement of Registry settings.
This updates affect Registry developers including aqua-registry's contributors.
There is no direct change for almost all aqua users.
To keep the compatibility and minimize the effect to users, we won't use new features in aqua-registry for at least one month after v2.13.0 is released.
If we apply new features to existing packages of aqua-registry, this requires a major update of aqua-registry because this is a breaking change.
Features
#2318#2320 Add a new field envs to overrides instead of goos and goarch #2132#2317 Support using go_install or go_build if the platform isn't included in supported_envs #1774#2314 Support omitting .{{.Format}} in asset and url #1876#2313 Support short file extensions in format #1774#2310 Add the template variable AssetWithoutExt to files[].src
Add a new field envs to overrides instead of goos and goarch
A new field build is added to Registry settings.
This enables to install packages by go_install or go_build on platforms where prebuilt binaries aren't published.
Pull Requests | Issues | v2.12.2...main
This release includes several improvement of Registry settings.
This updates affect Registry developers including aqua-registry's contributors.
There is no direct change for almost all aqua users.
To keep the compatibility and minimize the effect to users, we won't use new features in aqua-registry for at least one month after v2.13.0 is released.
If we apply new features to existing packages of aqua-registry, this requires a major update of aqua-registry because this is a breaking change.
Features
#2318 #2320 Add a new field
envs
tooverrides
instead ofgoos
andgoarch
#2132 #2317 Support using
go_install
orgo_build
if the platform isn't included insupported_envs
#1774 #2314 Support omitting
.{{.Format}}
inasset
andurl
#1876 #2313 Support short file extensions in
format
#1774 #2310 Add the template variable
AssetWithoutExt
tofiles[].src
Add a new field
envs
tooverrides
instead ofgoos
andgoarch
#2318 #2320
Add a new field
envs
tooverrides
.The syntax of
envs
is same withsupported_envs
.The syntax of
envs
is more flexible than the combination ofgoos
andgoarch
.In some cases we can simplify the code.
For example, the combination of
goos
andgoarch
can't express the pair oflinux/arm64
andwindows/arm64
.envs
can simplify the code.Support using
go_install
orgo_build
if the platform isn't included insupported_envs
#2132 #2317
A new field
build
is added to Registry settings.This enables to install packages by
go_install
orgo_build
on platforms where prebuilt binaries aren't published.This is an example usage of the new field
build
.supported_envs
islinux
, so on platforms other than linux aqua installs tfcmt bygo_build
.go_install
is also available.If
go_build
failed on windows/arm64 and you'd like to exclude windows/arm64,excluded_envs
is available.If you'd like to disable
build
in version_overrides,enabled
is available.Why not
overrides
?Of course, we can do the same thing with
overrides
.But
build
makes the intension of the code clear and simplify the code.Support omitting
.{{.Format}}
inasset
andurl
#1774 #2314
The file extension is complemented if it isn't included in
asset
andurl
.e.g.
The benefit is that you can unify the setting of
raw
format and nonraw
format.Before
After
You can disable the complementation by setting
append_ext: false
.Support short file extensions in
format
#1876 #2313
The following short file extensions can be available in
format
.e.g.
Add the template variable
AssetWithoutExt
tofiles[].src
#1774 #2310
The new template variable
AssetWithoutExt
is a string that a file extension is removed fromAsset
.e.g.
The text was updated successfully, but these errors were encountered: