Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency aquaproj/aqua to v2.29.0 #494

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.24.1 -> v2.29.0

Release Notes

aquaproj/aqua (aquaproj/aqua)

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 completion

You can source the output to enable the completion.

aqua completion fish | source

Or you can write the output to a file.

https://fishshell.com/docs/current/completions.html#where-to-put-completions

aqua completion fish > ~/.config/fish/completions/aqua.fish

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 field packages
#​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.

module github.com/aquaproj/aqua/v2

go 1.22.3

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.

packages:
- name: golang/go
  go_version_file: go.mod

Then you can define go version only in go.mod or go.work.

[!CAUTION]
The version of Go must be a semver x.y.z.
You can't omit a patch version.

#​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

    {
      "id": "",
      "checksum": "C4D72E482B85570A1A73776EEF47E993B5F8FA6C204E0B1CAA794E4DF4F13521",
      "algorithm": "sha256"
    }

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 @​ryota2357

ref. https://github.com/aquaproj/homebrew-aqua/blob/c4731da7c66a797e93b5efbcc5340b39f86f559b/aqua.rb#L19

⚠️ To enable shell completion, you have to configure FPATH and so on.

#​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 and AQUA_ENFORCE_REQUIRE_CHECKSUM.

export AQUA_ENFORCE_CHECKSUM=true
export AQUA_ENFORCE_REQUIRE_CHECKSUM=true

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 file

e.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 command

Note that this command remove files from AQUA_ROOT_DIR/pkgs, but doesn't remove packages from aqua.yaml and doesn't remove files from AQUA_ROOT_DIR/bin and AQUA_ROOT_DIR/bat.

v2.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 of aqua update and aqua generate commands

Others

#​2756 Update the template of aqua.yaml generated by aqua init to follow a yamllint comment rule @​bhundven

v2.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

packages:
  - name: golang/vuln/[email protected]
    update:

##### If enabled is false, aqua up command ignores the package.
##### If the package name is passed to aqua up command explicitly, enabled is ignored.

##### By default, enabled is true.
      enabled: false
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 and aqua 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.


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Tokyo, 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.25.1 Update dependency aquaproj/aqua to v2.25.2 Mar 31, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 2 times, most recently from 2163cca to 27c46e7 Compare April 5, 2024 14:56
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.25.2 Update dependency aquaproj/aqua to v2.26.0 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 27c46e7 to a0971df Compare April 6, 2024 12:49
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.26.0 Update dependency aquaproj/aqua to v2.27.0 Apr 6, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from a0971df to c4452a3 Compare April 20, 2024 08:23
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.27.0 Update dependency aquaproj/aqua to v2.27.1 Apr 20, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from c4452a3 to 6fbe316 Compare April 22, 2024 14:45
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.27.1 Update dependency aquaproj/aqua to v2.27.2 Apr 22, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 6fbe316 to f80f819 Compare April 24, 2024 01:04
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.27.2 Update dependency aquaproj/aqua to v2.27.3 Apr 24, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from f80f819 to 640f7e9 Compare May 10, 2024 08:25
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.27.3 Update dependency aquaproj/aqua to v2.27.4 May 10, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 640f7e9 to 4d6c3e0 Compare May 11, 2024 05:13
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.27.4 Update dependency aquaproj/aqua to v2.28.0 May 11, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 4d6c3e0 to ac22711 Compare May 19, 2024 01:22
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.28.0 Update dependency aquaproj/aqua to v2.28.1 May 19, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from ac22711 to 1a0fcd2 Compare May 31, 2024 15:04
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.28.1 Update dependency aquaproj/aqua to v2.29.0 May 31, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 5 times, most recently from 08d0e91 to aafecfc Compare June 17, 2024 09:28
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from aafecfc to e31a10b Compare June 17, 2024 09:38
@zoetrope zoetrope merged commit 5fe9296 into main Jun 17, 2024
8 checks passed
@zoetrope zoetrope deleted the renovate/aquaproj-aqua-2.x branch June 17, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant