This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency aquaproj/aqua to v2 #98
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/aquaproj-aqua-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
March 27, 2023 03:41
236ee22
to
f88e274
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
May 17, 2023 22:11
f88e274
to
d99a7d1
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
May 29, 2023 00:07
d99a7d1
to
429a66f
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
June 18, 2023 02:34
429a66f
to
68730e2
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
3 times, most recently
from
July 24, 2023 02:43
7a66438
to
963703d
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
September 18, 2023 09:00
f064c37
to
944737c
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
September 28, 2023 05:10
944737c
to
6637e85
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
3 times, most recently
from
October 11, 2023 05:54
cb1b3e3
to
d5a93af
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
4 times, most recently
from
October 22, 2023 05:50
d022f24
to
cccd52d
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
3 times, most recently
from
November 3, 2023 05:48
5b62c96
to
27c831e
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
6 times, most recently
from
November 19, 2023 05:50
f13c405
to
55af90f
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
3 times, most recently
from
November 26, 2023 05:49
16a8af9
to
ff85014
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
December 20, 2023 05:27
ff85014
to
ca23b54
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
March 2, 2024 11:25
ca23b54
to
3bf8685
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
March 15, 2024 08:47
9617fc6
to
875b429
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
March 22, 2024 05:54
437266e
to
c4a4a2b
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
April 7, 2024 11:50
8bf8c75
to
0d0e4ab
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
3 times, most recently
from
April 24, 2024 18:01
dcbc660
to
fcb306c
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
2 times, most recently
from
May 11, 2024 23:42
d3398fe
to
44ebeff
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
May 22, 2024 20:49
44ebeff
to
e432961
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
June 1, 2024 17:41
e432961
to
1a304c4
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
July 14, 2024 20:58
1a304c4
to
1282d1b
Compare
renovate
bot
force-pushed
the
renovate/aquaproj-aqua-2.x
branch
from
July 18, 2024 06:01
1282d1b
to
527fad4
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
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:
v0.8.9
->v2.30.0
v0.8.7
->v2.30.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
aquaproj/aqua (aquaproj/aqua)
v2.30.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.29.2...v2.30.0
Features
#2918 #3005 Use aqua-proxy and hard links instead of shell scripts and bat scripts on Windows
Document: https://github.com/aquaproj/aquaproj.github.io/pull/1049 https://aquaproj.github.io/docs/reference/lazy-install#on-windows
aqua doesn't use symbolic links on Windows because symbolic links have several issues on Windows.
aqua v2.29.2 or older used shell scripts and bat scripts instead of symbolic links and aqua-proxy.
#885 #892 #893 aqua >= v1.12.0, aqua <= v2.29.2
But using shell scripts and bat scripts also had several issues.
So aqua v2.30.0 or later uses hard links and aqua-proxy instead of shell scripts and bat scripts. #2918
aqua installs
aqua-proxy
and creates hard links toaqua-proxy
on$(aqua root-dir)/bin
directory.When aqua updates
aqua-proxy
, aqua recreates hard links.From aqua v2.30.0, aqua doesn't use bat scripts so you can remove
$(aqua root-dir)/bat
directory and remove$(aqua root-dir)/bat
fromPATH
.Others
#3004 Update slsa-verifier to v2.6.0
#3008 Update module github.com/goccy/go-yaml to v1.12.0
v2.29.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.29.1...v2.29.2
Bug Fixes
#3001 Fix checksums of Cosign
Fixed a bug of aqua v2.29.1
v2.29.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.29.0...v2.29.1
Features
#2965 list: Add an alias of command line option
-installed
Fixes
#2981 Fix a bug that the shell completion of specific tools doesn't work
For detail, please see the following issues and pull request.
Others
Update Go to 1.22.5
v2.29.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.28.1...v2.29.0
Features
#2929 Support fish completion
Added a sub command
aqua completion fish
, which outputs scripts for fish completionYou can source the output to enable the completion.
Or you can write the output to a file.
https://fishshell.com/docs/current/completions.html#where-to-put-completions
v2.28.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.28.0...v2.28.1
Bug Fixes
#2904 generate: Fix a bug that
aqua g -i
fails if aqua.yaml doesn't have the fieldpackages
#2902 info: Fix a bug that user names aren't masked on Windows @sapphi-red
v2.28.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.27.4...v2.28.0
Features
#2609 #2730 #2632 Support getting a package version from go directive in go.mod or go.work
From Go 1.21, the version of Go is decided by go directive in go.mod or go.work.
https://go.dev/doc/toolchain
e.g.
This can cause an issue that the version of Go may be different from the version defined in aqua.yaml.
And we need to define go version in two places.
To solve the issue, this pull request enables aqua to get the version of go from go directive in go.mod or go.work.
You can specify the path to go.mod or go.work by a field
go_version_file
.e.g.
Then you can define go version only in go.mod or go.work.
#2880 Ignore invalid packages and continue working
When reading aqua.yaml, aqua ignores invalid packages and continues working.
This improves the robustness.
v2.27.4
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.27.3...v2.27.4
Bug Fixes
#2144 #2510 #2871 Fix a bug that update-aqua fails on Windows
Others
Update Go 1.22.2 to 1.22.3
v2.27.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.27.2...v2.27.3
Bug Fixes
#2833 #2834 Fix a bug that a checksum id of go_build type package is empty
aqua-checksums.json
v2.27.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.27.1...v2.27.2
Bug Fixes
#2830 Improve handling of broken registry JSON files
When aqua reads Standard Registry and github_content Registries, aqua converts them to JSON once and saves them.
And aqua reads JSON files instead of YAML files from the next time.
This improves the performance a bit. #2517
But if a JSON file got broken, aqua got not working.
In that case, you had to remove the file yourself.
This issue rarely occurs, but this release resolves it.
If a JSON file gets broken, aqua removes and recreates the file.
So aqua continues working and you don't have to remove the file yourself.
v2.27.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.27.0...v2.27.1
Others
#2824 #2825 Generate shell completion on
brew install
@ryota2357ref. https://github.com/aquaproj/homebrew-aqua/blob/c4731da7c66a797e93b5efbcc5340b39f86f559b/aqua.rb#L19
#2809 chore: update aqua-proy to v1.2.6
🎉 New Contributors
Thank you for your contribution!
@ryota2357 #2825
v2.27.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.26.0...v2.27.0
Features
#2702 #2806 checksum: Support enforcing checksum verification via environment variables
You can enforce checksum verification by environment variables
AQUA_ENFORCE_CHECKSUM
andAQUA_ENFORCE_REQUIRE_CHECKSUM
.This is useful for both CI and local development.
Checksum verification is disabled by default, and you can disable checksum verification by setting.
If you manage a Monorepo and want to make checksum verification mandatory in CI, you can set these environment variables in CI. Then checksum verification is enabled regardless of the setting of aqua.yaml.
And if you want to enforce checksum verification on your laptop, you can set these environment variables in your shell configuration files such as .bashrc and .zshrc.
v2.26.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.25.2...v2.26.0
Features
#2782 #2804 generate: add
-g
option to add packages to a global configuration filee.g.
$ aqua g -g cli/cli
You can add packages to a global configuration file with
-g
and-i
option.e.g.
$ aqua g -g -i cli/cli
If there are multiple global configuration files, a first global configuration file is used.
Others
#2803 Update the help message of
remove
commandv2.25.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.25.1...v2.25.2
Bug Fixes
#2781 #2786 list: Fix a bug that packages in that same aqua.yaml is outputted by
aqua list --installed
Others
#2779 #2788 Update slsa-verifier to v2.5.1
#2787 Update go directive to 1.22 and refactor codes with Go new features
v2.25.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.25.0...v2.25.1
Bug Fixes
#1665 #2757 Fix the verification error of Cosign
#2764 #2765 Fix
SIGSEGV: segmentation violation
ofaqua update
andaqua generate
commandsOthers
#2756 Update the template of aqua.yaml generated by
aqua init
to follow a yamllint comment rule @bhundvenv2.25.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.24.1...v2.25.0
Features
#2749 #2752 Support excluding some packages from the target of
aqua update
e.g. aqua.yaml
Fixes
#2747 #2354 #2750 #2751 Improve the logic to get the latest version
We've changed the logic to get the latest version in some commands such as
aqua update
andaqua generate
.The original logic was to call GitHub API
Get a latest release
, but a latest release wan't necessarily a latest version.So we changed the logic to list the recent releases and get a latest version by semver.
v2.24.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.24.0...v2.24.1
Bug Fixes
#2742 #2744 fix a bug that
aqua g
andaqua gr
commands don't work for cargo packageThis bug was due to crates.io crawler policy.
We could resolve the issue by setting the User-Agent header.
v2.24.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.23.2...v2.24.0
Features
#2709 #2733 Support listing installed packages
Command line options
-installed
and-all [-a]
were added toaqua list
command.If
-installed
is set, installed packages are outputted.e.g.
By default, global configuration files are ignored.
To output packages in global configuration files too, please set the option
-all [-a]
.$ aqua list -a -installed
v2.23.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.23.1...v2.23.2
Fixes
#2714 Fix a bug that it fails to download large files from GitHub repositories
Use the API RepositoriesService.DownloadContents instead of RepositoriesService.GetContents to download large files from GitHub.
https://pkg.go.dev/github.com/google/go-github/v60/github#RepositoriesService.DownloadContents
If you use old aqua and face the following error, please update aqua to v2.23.2 or newer.
Others
Update Go 1.21.6 to 1.22.0
v2.23.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.23.0...v2.23.1
Bug Fixes
#2661 #2662 update-checksum: Fix a bug that
update-checksum
doesn't work well if packages use bothcargo
orgo_install
types and other typesFor example, the package
eza-community/eza
usescargo
type for darwin and windows/arm64 andgithub_relaese
type for other platforms. In this case, aqua update-checksum didn't work well.https://github.com/aquaproj/aqua-registry/blob/15d67414625ea37e68ea8436dba9413d9bd9b540/pkgs/eza-community/eza/registry.yaml#L2
https://github.com/aquaproj/aqua-registry/blob/15d67414625ea37e68ea8436dba9413d9bd9b540/pkgs/eza-community/eza/registry.yaml#L54-L57
This release fixed the issue.
v2.23.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.22.0...v2.23.0
Features
#2649 #2652 cargo: Trim a prefix from
cargo
package's versionBug Fixes
#2642 info: Output
AQUA_DISABLE_COSIGN
andAQUA_DISABLE_SLSA
https://aquaproj.github.io/docs/reference/security/cosign-slsa/#disable-the-verification-with-cosign-and-slsa-provenance
#2654 generate-registry: Fix a bug that same version_overrides aren't merged properly
Others
#2644 Update aqua-proxy to v1.2.5
#2653 Update JSON Schema
v2.22.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.21.3...v2.22.0
Features
#2631 #2633 #2634 Support disabling the verification with Cosign and SLSA Provenance
You can disable the verification with Cosign and SLSA Provenance if you can't use them.
Why is the feature needed?
Cosign and sla-verifier access some endpoints such as
oauth2.sigstore.dev
andfulcio.sigstore.dev
.So to use them you need to allow the access to these endpoints.
But in some use cases you can't or don't want to do that.
For example, your company's network policy might not allow the access to these endpoints.
To resolve the issue, this issue proposes to support disabling the verification with Cosign and slsa-verifier.
How to use
You can use command line options
-disable-cosign
and-disable-slsa
or environment variablesAQUA_DISABLE_COSIGN
andAQUA_DISABLE_SLSA
.e.g.
Update dependencies
v2.21.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.21.2...v2.21.3
Bug Fixes
#2585 #2586 Update checksums of cosign
v2.21.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.21.1...v2.21.2
The bug was already fixed at v2.21.3
Others
#2582 Fix a bug of release workflow
v2.21.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.21.0...v2.21.1
https://github.com/aquaproj/aqua/actions/runs/7260967360/job/19781204828#step:10:147
We fixed the bug and release v2.21.2.
Bug Fixes
#2534 Fix a bug of root dir on Windows
#2580 #2581 Fix a bug that validation fails even if no_asset or error_message is set https://github.com/aquaproj/aqua-registry/pull/18326#issuecomment-1862164476
v2.21.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.20.0...v2.21.0
Features
#2517 #2518 perf: Convert Standard Registry and github_content Registries from YAML to JSON when installing them
This update improves the performance to read Registries.
Stanard registry is a huge YAML file over 30,000 lines so it has a little overhead to read it.
By this update, aqua converts Standard Registry and github_content Registries from YAML to JSON.
JSON format decreases the overhead.
aqua converts them internally, so we don't need to do anything.
v2.20.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.19.0...v2.20.0
Features
#2514 #2515 Add a field
windows_arm_emulation
for Windows ARM EmulationARM based Windows 11 supports the emulation to run x64 Windows apps.
https://learn.microsoft.com/en-us/windows/arm/add-arm-support#emulation-on-arm-based-devices-for-x86-or-x64-windows-apps
If the field
windows_arm_emulation
istrue
, aqua uses pre built binaries for Windows amd64 on Windows arm64.windows_arm_emulation
must be boolean. By default,windows_arm_emulation
is false.windows_arm_emulation
is similar with rosetta2.v2.19.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.18.0...v2.19.0
Features
#2506 #2507 which: Add the command line option
--version
e.g.
Bug Fixes
#2508 #2512 Fix a bug of bash scripts for Git Bash
https://www.shellcheck.net/wiki/SC2086
Bash scripts generated by aqua had a bug that command line arguments having spaces were separated to multiple arguments incorrectly.
v2.18.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.17.4...v2.18.0
Features
#2494 update: Support specifying new package versions
e.g.
#2461 Add debug logs of
update
andgenerate
commands @dreamjzBug Fixes
#2493 #2495 generate-registry: Fix the pagination of GitHub API List Releases
v2.17.4
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.17.3...v2.17.4
Others
#2401 #2483 Release aqua to Winget 🎉
https://github.com/microsoft/winget-pkgs/pull/127174
v2.17.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.17.2...v2.17.3
Bug Fixes 🐞
#2476 #2479 policy: fix a bug that the Git Repository root's policy file doesn't work well in working trees
Others
#2470 #2472 Replace the third party library github.com/codingsince1985/checksum with standard libraries
This library caused the bug #2467 and we can replace the library with standard libraries easily.
We should use standard libraries as much as possible.
#2473 Revert #2469
#2469 was required to resolve #2467 , but #2467 was resolved by #2472 so #2469 is unnecessary anymore.
https://github.com/aquaproj/aqua/pull/2472#issuecomment-1812023515
v2.17.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.17.1...v2.17.2
Bug Fixes
#2457 #2458 update: Fix a panic when trying to update commands unmanaged by aqua @dreamjz
#2468 policy init: Fix typo in CLI output @ka2n
#2467 #2469 update-checksum: Copy an asset to a temporal file to calculate the checksum correctly
update-checksum: Copy an asset to a temporal file to calculate the checksum correctly
#2467 #2469
This fixes a bug that the checksum verification of aws/aws-cli fails because the expected checksum of aws/aws-cli is wrong.
If you face the issue already, please remove checksums of aws/aws-cli from aqua-checksums.json and run
aqua update-checksum
with aqua v2.17.2 or newer.aqua-checksums.json
🎉 New Contributors
Thank you for your contribution!
@ka2n #2468
v2.17.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.17.0...v2.17.1
Bug Fixes 🐞
#2456 generate-registry: Fix a bug that the order of versions in pkg.yaml is wrong
v2.17.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.16.4...v2.17.0
Features
#2355 #2447 Limit the number of versions retrieved by command
generate
andupdate
@dreamjzWith aqua v2.16.4 or earlier,
aqua generate -s
andaqua update -s
retrieved all versions and these commands couldn't change the number of versions.This release adds the command line option
--limit/-l
to these commands.The value of this option is the number of versions.
The default value is
30
.If the value is less than zero, all versions are retrieved.
This change would reduced useless GitHub API calls and make these commands faster.
e.g.
#2445 Change the default checksum algorithm from
sha512
tosha256
sha256 is enough.
We don't need to use sha512.
#2428 Add an alias of
update-checksum
command#2105 #2425 #2413 generate-registry: Improve the format of
version_overrides
and improve the logic to generateversion_overrides
Bug Fixes 🐞
#2444 generate-registry: Fix checksum filename for sha1
Others
#2436 chore(deps): update dependency slsa-framework/slsa-verifier to v2.4.1
#2395 change the format of prebuilt binaries for Windows to zip
Before:
aqua_windows_amd64.tar.gz
aqua_windows_arm64.tar.gz
After:
aqua_windows_amd64.zip
aqua_windows_arm64.zip
On Windows zip is more user friendly than tar.gz.
And to support Winget for Windows, it seems we need to change the format to zip.
e.g.
New Contributors 🎉
Thank you for your contribution!
@dreamjz #2447
v2.16.4
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.16.3...v2.16.4
Bug Fixes
#2420 generate-registry: Get latest versions of cargo packages
v2.16.3
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.16.2...v2.16.3
Bug Fixes
#2414 #2415 fix a bug that AQUA_DISABLE_POLIDY doesn't work
#2412 generate-registry: Improve the judgement of OS by file extensions such as
.exe
,.pkg
, and.dmg
Others
Refactoring
v2.16.2
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.16.1...v2.16.2
Others
#2399 #2400 Support Scoop 🎉
You can install aqua by Scoop on Windows.
v2.16.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.16.0...v2.16.1
Bug Fixes
#2393 generate-registry: Fix the usage of
-cmd
optionOthers
#2394 #2396 Change the format to zip on Windows at aqua v2.17.0
This is a preparation for the future change.
At aqua v2.17.0, the format of prebuilt binaries for Windows will be changed from
tar.gz
tozip
.This is because
zip
is more user friendly for Windows Users and some tools such as Winget expects zip.https://github.com/goreleaser/goreleaser/blob/b1271d2559e05711e31c6d39c9cbf9eb3e808d5a/internal/pipe/winget/winget.go#L41
To upgrade aqua to v2.17.0 or later on Windows, you need to upgrade aqua to v2.16.1 or later first.
aqua can't upgrade aqua from v2.16.0 or earlier to v2.17.0 or later on Windows.
v2.16.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.15.1...v2.16.0
Features
#2380 Support removing packages by command names
e.g.
aqua rm tfcmt # Remove suzuki-shunsuke/tfcmt
v2.15.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.15.0...v2.15.1
Bug Fixes
#2376 Fix a bug that aqua stops searching configuration files if files are located in either aqua or .aqua directory
How to reproduce the issue
Directory structure
Run
aqua i
.Expected behaviour
aqua installs packages with
/workspace/aqua.yaml
and/workspace/foo/aqua/aqua.yaml
.Actual behaviour
aqua installs packages with only
/workspace/foo/aqua/aqua.yaml
, and ignores/workspace/aqua.yaml
.v2.15.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.14.1...v2.15.0
Overview
-cmd
upa
to the commandgenerate-registry: Get all GitHub Releases by default
#2351 #2366
The behaviour of
generate-registry
command was changed.The command gets all GitHub Releases by default to generate
version_overrides
.The option
--deep
is deprecated. The option has no meaning anymore. The option is kept only for the compatibility.The option will be removed at aqua v3.
The option
--limit (-l)
is added. This option takes an integer, which is the maximum number of releases.e.g.
generate-registry: Add an option
-cmd
#2349 #2362
If
-cmd
is set,files
is set.e.g.
$ aqua gr -cmd gh cli/cli
You can specify multiple commands with commas
,
.e.g.
$ aqua gr -cmd age,age-keygen FiloSottile/age
update-aqua: Add an alias
upa
to the command#2359
update-aqua
is too long.$ aqua upa # update-aqua
v2.14.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.14.0...v2.14.1
Fixes
#2354 #2356 generate: Fixed a bug that sometimes
aqua g
outputs non latest versionversiongetter: Fix getting the latest version
Use GetLatestRelease API before using ListReleases API
#2245 #2358 generate: Fixed a bug that
aqua g -i
fails when a comment exists in the same line withpackages:
Get string values from
*ast.StringNode.Value
instead ofast.MapKeyNode.String()
Others
#2340 fix(deps): update module github.com/google/go-github/v55 to v56
v2.14.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.13.1...v2.14.0
#1657 #2329 Update registries and packages by update command
Finally
aqua update
command is supported 🎉You can update all packages and registries, or select updated packages.
You can also select packages and versions with fuzzy finder.
Document
You can update registries and packages by
aqua update (up)
command.If no argument is passed, all registries and packages are updated to the latest.
##### Update all packages and registries to the latest versions aqua update
This command has an alias "up"
This command
Updated configuration file paths
This command finds a configuration file
aqua.yaml
according to the rule and updates only one file.Once this command finds one file, it stops searching other aqua.yaml.
So if you want to update other files, please change the current directory or specify the configuration file path with the option
-c
.Update only registries
If you want to update only registries, please use the
--only-registry [-r]
option.##### Update only registries aqua update -r
Update only packages
If you want to update only packages, please use the
--only-package [-p]
option.##### Update only packages aqua update -p
Update only specific commands
You can specify packages with command names. aqua finds packages that have these commands and updates them.
e.g.
##### Update cli/cli aqua update gh
Select packages with Fuzzy Finder
If you want to update only specific packages, please use the
-i
option.You can select packages with the fuzzy finder.
If
-i
option is used, registries aren't updated.##### Select updated packages with fuzzy finder aqua update -i
Select the package version with Fuzzy Finder
If you want to select versions, please use the
-s
option.You can select versions with the fuzzy finder. You can not only update but also downgrade packages.
##### Select updated packages and versions with fuzzy finder aqua update -i -s
The field
version
is ignoredThis command doesn't update packages if the
version
field is used.So if you don't want to update specific packages, the
version
field is useful.commit hashes are ignored
This command doesn't update commit hashes.
There are some known issues related to the third party library goccy/go-yaml.
null
is set topackages
wrongly if registries are updated andpackages
is emptyThis issue is because of the third party library goccy/go-yaml.
Before
Run
aqua up
.After
Newlines are removed wrongly
This issue is because of the third party library goccy/go-yaml.
Before
Run
aqua up
.After
Discord Channel was open 🎉
This has nothing to do with this release, but we opened a Discord channel 🎉
https://discord.com/channels/1141777454164365382/1162444533959757955
v2.13.1
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.13.0...v2.13.1
Others
#2332 chore(deps): update dependency golang/go to v1.21.3
#2335 fix(deps): update module github.com/google/go-cmp to v0.6.0
v2.13.0
Compare Source
Pull Requests | Issues | aquaproj/aqua@v2.12.2...v2.13.0
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.