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.21.0 #194

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.16.4 -> v2.21.0

Release Notes

aquaproj/aqua (aquaproj/aqua)

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 Emulation

ARM 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

Windows 11 extends that emulation to run unmodified x64 Windows apps on Arm-powered devices.

If the field windows_arm_emulation is true, 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.

$ aqua which --version yq
v4.40.2
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.

$  curl -sSfL https://jsonplaceholder.typicode.com/todos | jq '.[] | .id'
jq: error: Could not open file |: Invalid argument
jq: error: Could not open file .id: No such file or directory

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.

aqua up gh@v2.27.0

#​2461 Add debug logs of update and generate commands @​dreamjz

Bug 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

    // Delete this element
    {
      "id": "http/awscli.amazonaws.com/AWSCLIV2-2.13.35.pkg",
      "checksum": "520E1CB49004ECED7DB1CFE70E6FA73EFC6EDDF1CDB38AF535D126F1DB6574C8",
      "algorithm": "sha256"
    },

🎉 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 and update @​dreamjz

With aqua v2.16.4 or earlier, aqua generate -s and aqua 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.

aqua g -s # Retrieve 30 versions
aqua g -s -l 10 # Retrieve 10 versions
aqua g -s -l -1 # Retrieve all versions

#​2445 Change the default checksum algorithm from sha512 to sha256

sha256 is enough.
We don't need to use sha512.

#​2428 Add an alias of update-checksum command

aqua upc

#​2105 #​2425 #​2413 generate-registry: Improve the format of version_overrides and improve the logic to generate version_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.

  • winget
  ⨯ release failed after 1m11s               error=no zip archives found matching goos=[windows] goarch=[amd64 386] goamd64=v1 ids=[]
Error: Process completed with exit code 1.

⚠️ To upgrade aqua to v2.17.0 or newer on Windows, you need to upgrade aqua to v2.16.1 ~ v2.16.4 once.

e.g.

aqua upa v2.16.4
aqua upa
New Contributors 🎉

Thank you for your contribution!

@​dreamjz #​2447


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.17.0 Update dependency aquaproj/aqua to v2.17.1 Nov 13, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 259996a to b929069 Compare November 13, 2023 14:45
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.17.1 Update dependency aquaproj/aqua to v2.17.2 Nov 15, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from b929069 to ada2e71 Compare November 15, 2023 06:59
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.17.2 Update dependency aquaproj/aqua to v2.17.3 Nov 17, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from ada2e71 to 913a0a8 Compare November 17, 2023 04:19
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.17.3 Update dependency aquaproj/aqua to v2.17.4 Nov 18, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 913a0a8 to 2076582 Compare November 18, 2023 01:44
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.17.4 Update dependency aquaproj/aqua to v2.18.0 Nov 18, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 2076582 to 44ffb10 Compare November 18, 2023 16:47
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.18.0 Update dependency aquaproj/aqua to v2.19.0 Nov 23, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 44ffb10 to ffb15b0 Compare November 23, 2023 01:03
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.19.0 Update dependency aquaproj/aqua to v2.20.0 Nov 23, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from ffb15b0 to d5409dd Compare November 23, 2023 13:21
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.20.0 Update dependency aquaproj/aqua to v2.21.0 Nov 26, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 3 times, most recently from 62d833e to 122de47 Compare November 30, 2023 04:07
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 122de47 to 7b20367 Compare November 30, 2023 04:08
@little-forest little-forest merged commit ad0087d into main Nov 30, 2023
2 checks passed
@renovate renovate bot deleted the renovate/aquaproj-aqua-2.x branch November 30, 2023 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant