This repository was archived by the owner on Nov 13, 2023. It is now read-only.
chore(deps): update dependency aquaproj/aqua to v1.38.0 #22
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.19.3->v1.38.0Release Notes
aquaproj/aqua (aquaproj/aqua)
v1.38.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.2...v1.38.0
Features
#1781 #1783 Support configuring
require_checksumby the environment variableIf
require_checksumis configured in a configuration file, the environment variable is ignored.If
checksumisn'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_checksumfor security.On the other hand, we don't want to enable
require_checksumin your laptops for convenience.If
require_checksumis enabled, you have to runaqua update-checksumwhen you change the package version.Otherwise, it fails to run the package. This is a bad experience.
v1.37.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.1...v1.37.2
Fixes
#1777 init, init-policy: remove broken links
aqua.yamlandaqua-policy.yamlgenerated byaqua initandaqua init-policycommands contained broken links.So we removed them.
v1.37.1Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.37.0...v1.37.1
Bug Fixes
#1771 #1772 Fixed a bug that
update-checksum --deepcommand fails ifgo_installpackage is usedv1.37.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.36.1...v1.37.0
Features
#1762 Support default checksum parser
aqua supported two checksum file format
rawandregexpand 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.1Compare 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
overridesorversion_overridesOthers
#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 tidyandgo getEspecially, #1717 was critical.
To solve these issues, we decided to use slsa-verifer as CLI instead of Go library.
v1.36.0Compare 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
httppackageShow files in a package if an executable file isn't found
#1668 #1710
e.g.
v1.35.0Compare 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_assetto 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_assetto package configuration for returing an error because there is no asset#1693 #1695
e.g.
registry.yaml
Fixes
#1700 #1701 Remove
exe_pathfrom logexe_pathisn't helpful in many cases.exe_pathis long, so this is a bit noisy.v1.34.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.34.1...v1.34.2
Bug Fixes
#1682 #1685 generate-registry: Fix
--deepoption to handle GitHub Releases not conforming to semantic versioningv1.34.1Compare 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.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.33.0...v1.34.0
Features
#1655 #1662 generate-registry: Support generating
version_overridesand testdatahttps://aquaproj.github.io/docs/reference/scaffold-registry/#generate-version_overrides-by---deep-option
Add command line options
--deepand--out-testdatatoaqua grcommand.--deep: Generateversion_overrides--out-testdata: Output testdata to a file--deepoption 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_constraintOthers
#1638 generate-registry: Refactoring
v1.33.0Compare 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.3Compare 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.jsonis 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.2Compare 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.1Compare 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
v1.32.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.31.0...v1.32.0
Features
generate-registry: Support specifying version
e.g.
$ aqua gr suzuki-shunsuke/[email protected]v1.31.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.30.4...v1.31.0
Features
#1545 #1552 Add the attribute
version_prefixto Registry Configurationversion_prefixto Registry ConfigurationSemVerto expr expressions and template variablesversion_filtertoversion_prefixin many casesVersion, the parameterSemveris used in the functionsemverYou can filter versions with a specific prefix and trim the prefix from versions by
version_prefix.For example, kubernetes-sigs/kustomize has a prefix
kustomize/.Bug Fixes
Fixed bugs regarding to Cosign.
#1554 #1557 Retry the verification by Cosign
#1555 #1558 Get a lock before executing Cosign to prevent Cosign from being executing in parallel
#1559 Get a Lock before installing Cosign
#1559 Fix a bug that options of Cosign could be wrong if the same package's multiple versions are installed at the same time
v1.30.4Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.30.3...v1.30.4
Bug Fixes
#1541 generate: remove a newline
From aqua v1.25.2, a newline was inserted unnecessarily.
e.g.
By this release, the newline is removed.
#1548 #1549 Return error if version doesn't match with all version_constraints
v1.30.3Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.30.2...v1.30.3
Features
#1539 Verify checksums of aqua-proxy to prevent aqua-proxy from being tampered. Checksums are hardcoded to aqua.
Others
#1540 Update aqua-proxy from v1.1.2 to v1.1.4
v1.30.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.30.2-1...v1.30.2
Bug Fixes
#1528 #1530 Fix a bug that Cosign isn't installed properly if
AQUA_GOOSandAQUA_GOARCHare setOthers
#1391 #1526 Sign checksum files by Cosign
v1.30.1Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.30.0...v1.30.1
Bug Fixes
#1521 #1523 update-checksum: Fix a bug that registries' checksums are removed by
-pruneoptionv1.30.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.29.0...v1.30.0
Features
#1490 #1511 Install cosign lazily to avoid installing Cosign unnecessarily
#1510 Prevent Cosign from being tampered by hardcoding checksums of Cosign
#1491 #1508 Support verifying Registries' checksums
#1512 #1514 Add
darwin/arm64tosupported_envsifrosetta2is enabledSupport verifying Registries' checksums
#1491 #1508
aqua verifies checksums of Registries if Checksum Verification is enabled.
aqua.yaml
aqua-checksums.json
{ "checksums": [ { "id": "registries/github_content/github.com/aquaproj/aqua-registry/v3.114.0/registry.yaml", "checksum": "b5b922c4d64609e536daffec6e480d0fed3ee56b16320a10c38ae12df7f045e8b20a0c05ec66eb28146cee42559e5e6c4e4bc49ce89ffe48a5640999cc6248bd", "algorithm": "sha512" } ] }If the checksum is invalid, it would fail to install Registries.
Others
#1509 init: add
.checksum.supported_envstoaqua init's templatev1.29.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.28.0...v1.29.0
Features
#1230 #1498 checksum: Support excluding unneeded os/arch checksum from aqua-checksums.json
#1216 #1500 checksum: Support an algorithm
sha1Support excluding unneeded os/arch checksum from aqua-checksums.json
#1230 #1498
Make
aqua-checksums.jsonslim and avoid unneeded API call and failure.Prevent
aqua update-checksum -deepfrom downloading unused platform's assets.e.g. Exclude Windows
aqua.yaml
Support an algorithm
sha1#1216 #1500
v1.28.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.27.0...v1.28.0
Features
Improved
aqua update-checksumcommand. https://aquaproj.github.io/docs/tutorial-extras/checksum/#1489 #1492 Ignore unrelated files' checksums in checksum files
#1257 #1495 Support pruning unused checksums in
aqua-checksums.jsonIgnore unrelated files' checksums in checksum files
#1489 #1492
aqua update-checksumadded all checksums in checksum files.But some checksum files include unrelated checksums.
For example, gh_2.21.1_checksums.txt includes a checksum of Debian package, which is unneeded for aqua.
From aqua v1.28.0, aqua ignores these unrelated checksums.
Support pruning unused checksums in
aqua-checksums.json#1257 #1495
When tools are updated, checksums for old versions are basically unneeded.
Or when we remove some tools from
aqua.yaml, checksums for those tools would be unneeded.You can remove unused checksums by setting
-pruneoption.v1.27.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.26.2...v1.27.0
Features
#1466 #1468 #1486 Support a new field
privatefor private packages and registriesYou can set
private: trueto private packages and registries.By default,
privateisfalse.If
privateis true, aqua skips sending HTTP requests to download assets, because the requests always fail.Even if the value of
privateattribute is wrong, you can install the registry and package.e.g. aqua.yaml
e.g. registry.yaml
#1084 #1487 Support template in
go_installpackage'spathattributeGo 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.
Bug Fixes
#1482 generate-registry: Remove
slsa_provenance: nullfrom the output ofaqua grv1.26.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.26.1...v1.26.2
Bug Fixes
#1477 Install and execute Cosign with correct runtime
Fixed a bug that when
AQUA_GOOSorAQUA_GOARCHwere set Cosign for wrong runtime was installed.v1.26.1Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.26.0...v1.26.1
Bug Fixes
#1471 Skip installing Cosign and verify with Cosign in windows/arm64
#1473 Check if Cosign is supported
Others
#1474 Update Go to 1.19.4
v1.26.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.25.2...v1.26.0
Features
#1449 #1454 Support package verification by Cosign and slsa-verifier
We provide aqua's SLSA Provenance multiple.intoto.jsonl.
v1.25.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.25.0...v1.25.2
📝 It failed to release v1.25.1 by CI, so we released v1.25.2. This is why the release v1.25.1 doesn't exist.
Fixes
#1462 #1463 generate: fix a bug of
--pinoptionv1.25.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.24.0...v1.25.0
Features
#901 #1416 Replace
$HOMEto the home directory in local registry pathe.g. aqua.yaml
$HOMEis gotten by os.UseHomeDir.v1.24.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.23.1...v1.24.0
Features
#1306 #1308 Support defining the policy of package installation and execution for security
https://aquaproj.github.io/docs/tutorial-extras/policy-as-code
We strongly recommend setting Policy to protect your laptop and CI from threat.
We consider to disable registries other than standard Registry by default.
Please see the issue and give your feedback. #1404
v1.23.1Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.23.0...v1.23.1
Bug Fixes
#1388 #1389 generate: Fix a panic when unknown packages are specified
This bug came from aquaproj/aqua@0c87e2c .
Affected versions: v1.23.0
v1.23.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.22.0...v1.23.0
Features
#441 #1330 #1336 Support filtering packages with tags
https://aquaproj.github.io/docs/guides/package-tag/
Add the optional field
tagstoaqua.yaml's package.This field is a string list of tags.
e.g.
And add the following command line options to the commands
aqua installandaqua 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)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!
v1.22.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.21.0...v1.22.0
Features
#1041 #1060 #1363 Add
update-aquacommand#1352 #1358 generate: Support specifying version
Add
update-aquacommand#1041 #1060 #1363
$ aqua update-aqua [version]aqua is installed in
$AQUA_ROOT_DIR/bin/aqua.By default, the latest version is installed, but you can also specify the version with an argument.
You can't specify the install path. We think you don't have to change the install path.
e.g.
generate: Support specifying version
#1352 #1358
aqua generatesupports specifying the package version. The package version is optional.e.g.
The option
-pinis added toaqua generatecommand.This option is useful to prevent the package from being updated by Renovate.
Others
#1353 #1356 #1357 #1362 Refactoring
v1.21.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.20.2...v1.21.0
Features
#1323 Support changing
typeinoverridesv1.20.2Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.20.1...v1.20.2
Bug Fixes
#1304 cp: Skip creating links
aqua cpis a command to copy executable files to a directory, so symbolic links don't have to be created.v1.20.1Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.20.0...v1.20.1
Bug Fixes
#1299 #1300 update-checksum: Fix the checksum of
httppackage calculated by-deepoptionv1.20.0Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.19.5...v1.20.0
Features
#427 Support the checksum verification 🎉
#1173 #1247 cp: Support coping all packages
Support the checksum verification 🎉
#427
aqua supports the Checksum Verification 🎉
For the detail, please see the document. https://aquaproj.github.io/docs/reference/checksum
cp: Support coping all packages
#1173 #1247
You had to specify copied command names as arguments of
aqua cpcommand.This update allows you to copy all packages without arguments.
$ aqua cp [-a]aqua cpcopies all commands.If the option
-ais specified, all commands including global configuration files are copied.Others
#1281 update Go to 1.19.2
#1284 golangci-lint: disable deprecated linters
v1.19.5Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.19.4...v1.19.5
Bug Fixes
#1244 #1245 nil check to avoid panic
Others
#1225 Improve error log: Output download url when it failed to download a file
v1.19.4Compare Source
Pull Requests | Issues | aquaproj/aqua@v1.19.3...v1.19.4
Bug Fixes
#1166 #1213
generate-registry: setcomplete_windows_extOthers
#1184 #1210 Support MD5 for the checksum verification
#1214 Improve a log creating a symbolic link
Replace log fields
link_fileandnewtocommand.AS IS
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.