chore(deps): update dependency aquaproj/aqua to v2 #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.32.0
->v2.9.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
aquaproj/aqua
v2.9.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.8.0...v2.9.0
Features
#2058 #2063 Support disabling Lazy Install
#2027 #2062 Add
-detail
option to "generate" commandSupport disabling Lazy Install
#2058 #2063
Lazy Install is enabled by default, but you can disable it with the environment variable
AQUA_DISABLE_LAZY_INSTALL
.e.g.
export AQUA_DISABLE_LAZY_INSTALL=true
If Lazy Install is disabled, the command would fail if the package isn't installed in advance.
e.g.
Disabling Lazy Install is useful to improve the security and keep the governance. You can prevent malicious commands from being installed and executed via Lazy Install. And you can also prevent aqua.yaml from being overwritten.
This is especially useful for CI of Monorepo.
The purpose is same with aqua's Policy, but disabling Lazy Install is simpler than Policy.
Add
-detail
option to "generate" command#2027 #2062
With -detail (-d) option, aqua outputs additional information such as description and link.
The environment variable
AQUA_GENERATE_WITH_DETAIL
is also available.export AQUA_GENERATE_WITH_DETAIL=true
Others
#2046 Update Go 1.20.4 to 1.20.5
v2.8.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.7.1...v2.8.0
Features
#2016 #2019 Support a new package type
cargo
, installing packages bycargo install
#2023 Support a new command
root-dir
, outputting the aqua-root directoryAQUA_ROOT_DIR
to the standard outputSupport a new package type
cargo
#2016 #2019 Document
The package is installed by cargo install command.
You can manage tools written in Rust with aqua, which means you can manage them and their versions declaratively in the consistent way. You can switch tool versions per project and update them continuously by Renovate!
For details, please see Document
Support a new command
root-dir
#2023
v2.7.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.7.0...v2.7.1
Bug Fixes
#2003 #2006 Fix a bug that the progress bar doesn't work well if some verification such as checksum, SLSA, and Cosign are enabled
#2013 #2015 Convert
files[].src
with filepath.FromSlash for WindowsOthers
#2014 Support the character
tab
as a separator of the default checksum parserv2.7.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.6.0...v2.7.0
Features
#1803 #2002 Support unarchiving
PKG
format on macOSOthers
#1996 Update slsa-verifier to v2.3.0
#1997 #2001 Refactoring
v2.6.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.5.2...v2.6.0
Features
#1984 generate-registry: Enable to parse tags not conforming to semver
If you don't develop Registry or don't contribute to Standard Registry, you can ignore this release.
generate-registry command couldn't parse tags not conforming to semver.
This release enables aqua to parse those tags and extract prefixes and versions.
For example, this release enables aqua to parse the tag version_112 and extracts the prefix
version_
and the version112
.v2.5.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.5.1...v2.5.2
Fixes
#1983 generate-registry: Use the default checksum parser
v2.5.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.5.0...v2.5.1
Fixes
#1979 generate-registry: Add
unknown-linux
andpc-windows
to patterns ofreplacements
#1872 #1976 Move the symbolic link of
aqua-proxy
from$AQUA_ROOT_DIR/bin/aqua-proxy
to$AQUA_ROOT_DIR/aqua-proxy
v2.5.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.4.3...v2.5.0
Features
#1925 #1926 Execute commands by
execve(2)
by defaulthttps://aquaproj.github.io/docs/reference/execve-2
#710 #729 #1597 #1925
In Windows, aqua creates small shell scripts and bat scripts instead of
aqua-proxy
and symbolic links.And Windows doesn't support
execve(2)
, so the environment variableAQUA_X_SYS_EXEC
is ignored.When a command
x
is executed via aqua, the command is executed as the following.aqua exec -- x
x
So the command
x
is executed viaaqua-proxy
andaqua
.Until aqua v2.5.0,
aqua-proxy
andaqua
executed commands as subprocess. You can confirm it by checking the process tree bypstree
command.e.g.
Sometimes this behaviour caused trouble. #710 #1597
From aqua v2.5.0,
aqua-proxy
andaqua
execute commands by execve(2) in Linux and macOS by default.So extra subprocess isn't raised.
If you feel aqua becomes unstable due to this feature, you can disable this feature by the environment variable
AQUA_X_SYS_EXEC
.export AQUA_X_SYS_EXEC=false
Others
#1926 Update aqua-proxy to v1.2.0
#1964 Improve error messages when it failed to install aqua-proxy, cosign, and slsa-verifier
v2.4.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.4.2...v2.4.3
Bug Fixes
#1961 #1963 Fix the hardcoded checksum of slsa-verifier windows/amd64
The checksum of slsa-verifier v2.2.0 windows/amd64 was wrong.
So it failed to install slsa-verifier internally.
This bug affects only windows/amd64.
This bug affects aqua >= 2.3.7, aqua <= 2.4.2
v2.4.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.4.1...v2.4.2
Bug Fixes
#1956 #1957 checksum verification: Fix a bug the default checksum parser can't extract the checksum if the checksum has a prefix "*"
If you don't enable the checksum verification, you can ignore this bug.
If you enable the checksum verification and use aqua-registry v4, please update aqua to v2.4.2 or later.
v2.4.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.4.0...v2.4.1
Features
#1947 generate-registry: Remove emojis from description @ponkio-o 🎉 First contribution
v2.4.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.7...v2.4.0
Fixes
#1904 #1919 List a package contents if the executable file isn't found in Windows
Others
#1914 generate-registry: Use the default checksum parser
v2.3.7
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.6...v2.3.7
Fixes
#1905 Retry slsa-verifier and cosign regardless command outputs
Others
#1912 update slsa-verifier v2.1.0 to v2.2.0
#1910 Update google/go-github v51 to v52
v2.3.6
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.5...v2.3.6
Bug Fixes
#1889 #1890 Fix a bug that the log is outputted to not stderr but stdout on Windows
Thank you for reporting this issue, @knqyf263 https://github.com/aquasecurity/trivy/pull/4058#issuecomment-1511250055
v2.3.5
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.4...v2.3.5
Fixes
#1883 Change the function semver to return false against commit hash
e.g.
version_constraint
version:
a209843d8ea9db383ce1a1976e43c8e95f831c61
The evaluation result:
true
false
v2.3.4
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.3...v2.3.4
Bug Fixes
#1875 Fix a panic
fatal error: concurrent map writes
v2.3.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.2...v2.3.3
Others
#1873 Change the install path of aqua and aqua-proxy
This is an internal change, so you don't have to care of this basically.
aqua and aqua-proxy are installed in
$AQUA_ROOT_DIR/internal
instead of$AQUA_ROOT_DIR/pkgs
.By this change aqua and aqua-proxy are kept even if you remove
$AQUA_ROOT_DIR/pkgs
for cleaning up.#1868 Update JSONSchema
v2.3.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.1...v2.3.2
Bug Fixes
#1864 Fix the bug that it fails to install a package if a version_constraint can't be evaluated
From this release, if a version_constraint can't be evaluated, aqua treats as the version doesn't match with the version_constraint.
#1863 generate-registry: Fix typo of the file format
.tbz2
v2.3.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.3.0...v2.3.1
Bug Fixes
#1844 Fix a bug that
aqua i -a
andaqua cp -a
don't read policy files properlyThis bug was caused by aqua v2.3.0.
This bug affected the following versions.
v2.3.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.2.3...v2.3.0
Features
#1789 #1808 Support policy commands and
Git Repository root's Policy file
💡 If you use only Standard Registry, you don't have to care of Policy.
The following commands have been added.
And
Git Repository root's Policy file
has been introduced.Please see the document too.
See also
Why is this feature needed?
To improve the user experience of non Standard Registries.
To set up Policy easily keeping the security.
To use non Standard Registries, you had to set the environment variable
AQUA_POLICY_CONFIG
.But it is bothersome, especially in the team development because all members have to set the environment variable
AQUA_POLICY_CONFIG
.Some tools such as
direnv
are useful to set environment variables, but it is undesirable to ask users to install additional tools for aqua.By policy commands and
Git Repository root's Policy file
, you don't have to set the environment variableAQUA_POLICY_CONFIG
.Instead of setting
AQUA_POLICY_CONFIG
, you can allow Policy files by runningaqua policy allow
command according to the guide.This change improves the user experience keeping the security.
v2.2.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.2.2...v2.2.3
Others
#1818 #1840 Add a link to the document "command is not found"
https://aquaproj.github.io/docs/reference/codes/004
v2.2.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.2.1...v2.2.2
Bug Fixes
#1813 Fix a bug that aqua.yaml in the directory
\.?aqua
isn't read on WindowsOthers
#1822 Update Go 1.20.2 to 1.20.3
v2.2.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.2.0...v2.2.1
Others
#1809 Fix aqua's Go Module Path. We forgot to fix Go Module Path when we released aqua v2.
#1801 #1806 Remove code regarding go type package. We abandoned
go
type package since aqua v2v2.2.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.1.0...v2.2.0
Features
#1706 #1798 Support Apple Disk Image (.dmg) format @u-yas
aqua has supported installing tools from Apple Disk Image.
hdiutil
is required.Fixes
#1794 #1795 Fix a bug that a checksum file content isn't outputted even if the checksum isn't found in the checksum file
v2.1.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.0.0...v2.1.0
Features
#1790 #1791 Support disabling Policy by environment variable
AQUA_DISABLE_POLICY
$ export AQUA_DISABLE_POLICY=true
If the environment variable
AQUA_DISABLE_POLICY
is true,AQUA_POLICY_CONFIG
is ignored and Policy is disabled, which means every Registry and Package are available.About Policy, please see the following documents too.
Why this feature is needed
This feature is introduced to enable users using non Standard Registries to upgrade aqua to v2 easily.
We don't recommend this feature basically because Policy is important in terms of security.
You shouldn't use this feature in CI.
v2.0.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.38.0...v2.0.0
🎉 aqua v2 has been released 🎉
Please see the document.
v1.38.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.2...v1.38.0
Features
#1781 #1783 Support configuring
require_checksum
by the environment variableIf
require_checksum
is configured in a configuration file, the environment variable is ignored.If
checksum
isn't enabled in a configuration file, the environment variable is ignored.Why is the feature needed?
To combine security and convenience.
In CI we would like to enable
require_checksum
for security.On the other hand, we don't want to enable
require_checksum
in your laptops for convenience.If
require_checksum
is enabled, you have to runaqua update-checksum
when you change the package version.Otherwise, it fails to run the package. This is a bad experience.
v1.37.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.1...v1.37.2
Fixes
#1777 init, init-policy: remove broken links
aqua.yaml
andaqua-policy.yaml
generated byaqua init
andaqua init-policy
commands contained broken links.So we removed them.
v1.37.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.0...v1.37.1
Bug Fixes
#1771 #1772 Fixed a bug that
update-checksum --deep
command fails ifgo_install
package is usedv1.37.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.36.1...v1.37.0
Features
#1762 Support default checksum parser
aqua supported two checksum file format
raw
andregexp
and the file format is mandatory.This pull request supports a default file format and the file format becomes optional.
If a checksum file contains only one line and doesn't contain a space
, a file content is treated as checksum.
e.g.
Each line is split by a space
.
The first element is treated as a checksum
The second element is treated as a file path, and the base name is treated as the asset name.
e.g.
Why this feature is needed
This feature works well flexibly and we don't have to fix checksum configuration when the checksum file format is changed.
We don't have to write complicated regular expressions.
This feature improves the maintainability of checksum configuration.
Others
#1764 Update Go from v1.20.1 to v1.20.2
v1.36.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.36.0...v1.36.1
Bug Fixes
#1742 #1752 install: install command succeeded unexpectedly even if unknown packages are included
This bug was caused by aquaproj/aqua@40154d3 v1.19.5 (2022-10-01).
#1746 #1757 Clear unrelated fields if package type is changed by
overrides
orversion_overrides
Others
#1718 #1721 #1755 #1756 Use slsa-verifier as CLI instead of Go library to separate slsa-verifier from aqua itself
#1753 update google/go-github from v45 to v50
Use slsa-verifier as CLI instead of Go library to separate slsa-verifier from aqua itself
#1718 #1721
From aqua v1.26.0, aqua has supported verifing packages by slsa-verifier. aqua used slsa-verifier as a Go library, but then some issues occured because slsa-verifier is so large.
go mod tidy
andgo get
Especially, #1717 was critical.
To solve these issues, we decided to use slsa-verifer as CLI instead of Go library.
v1.36.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.35.0...v1.36.0
Features
#1668 #1710 Show files in a package if an executable file isn't found
#1704 #1705 Output HTTP status code when it fails to install a
http
packageShow files in a package if an executable file isn't found
#1668 #1710
e.g.
v1.35.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.34.2...v1.35.0
Features
#1692 #1699 Output the content of a checksum file when it fails to parse a checksum file
#1684 #1687 Support outputting error messages when a package is installed
#1693 #1695 Add a field
no_asset
to package configuration for returing an error because there is no assetOutput the content of a checksum file when it fails to parse a checksum file
#1692 #1699
This is useful to fix the package's checksum configuration.
e.g.
Support outputting error messages when a package is installed
#1684 #1687
e.g.
registry.yaml
Add a field
no_asset
to package configuration for returing an error because there is no asset#1693 #1695
e.g.
registry.yaml
Fixes
#1700 #1701 Remove
exe_path
from logexe_path
isn't helpful in many cases.exe_path
is long, so this is a bit noisy.v1.34.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.34.1...v1.34.2
Bug Fixes
#1682 #1685 generate-registry: Fix
--deep
option to handle GitHub Releases not conforming to semantic versioningv1.34.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.34.0...v1.34.1
Bug Fixes
#1092 #1675 #1677 #1678 generate-registry: Refactoring and fix some bugs
v1.34.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.33.0...v1.34.0
Features
#1655 #1662 generate-registry: Support generating
version_overrides
and testdatahttps://aquaproj.github.io/docs/reference/scaffold-registry/#generate-version_overrides-by---deep-option
Add command line options
--deep
and--out-testdata
toaqua gr
command.--deep
: Generateversion_overrides
--out-testdata
: Output testdata to a file--deep
option calls GitHub API per GitHub Release. So if there are a lot of GitHub Releases, many GitHub API are called and GitHub API rate limiting may occur.Fixes
#1639 generate-registry: Support md5 and sha1
#1640 generate-registry: Fix checksum asset names
#1611 Use the default configuration if the package version doesn't match any
version_constraint
Others
#1638 generate-registry: Refactoring
v1.33.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.32.3...v1.33.0
Features
#1595 #1615 #1626 Support keeping configuration files in one directory
https://aquaproj.github.io/docs/tutorial-extras/keep-in-one-dir
aqua has several configuration files such as
aqua.yaml
, aqua-checksums.json, policy file, and imported files.e.g.
From aqua v1.33.0, aqua supports keeping configuration files in one directory.
e.g.
This is useful to keep the working directory clean.
How to migrate
v1.32.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.32.2...v1.32.3
Bug Fixes
#1610 fix a bug Registry's checksums are compared without normalization
This bug occurs when a Registry is installed and the Registry's checksum in
aqua-checksums.json
is uppercase,because the calculated checksum is lowercase.
This bug raised by https://github.com/aquaproj/aqua/releases/tag/v1.32.2 , because the release made checksums uppercase.
e.g.
v1.32.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.32.1...v1.32.2
Bug Fixes
#1599 #1600 Skip setting checksum if the key already exists
Fixes
#1601 Normalize checksum when a newly added
v1.32.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.32.0...v1.32.1
Fixes
#1585 #1588 Retry slsa-verifier when slsa-verifier failed due to timeout
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.