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.13.1 #137

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.12.1 -> v2.13.1

Release Notes

aquaproj/aqua (aquaproj/aqua)

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 to overrides instead of goos and goarch
#​2132 #​2317 Support using go_install or go_build if the platform isn't included in supported_envs
#​1774 #​2314 Support omitting .{{.Format}} in asset and url
#​1876 #​2313 Support short file extensions in format
#​1774 #​2310 Add the template variable AssetWithoutExt to files[].src

Add a new field envs to overrides instead of goos and goarch

#​2318 #​2320

Add a new field envs to overrides.
The syntax of envs is same with supported_envs.

The syntax of envs is more flexible than the combination of goos and goarch.
In some cases we can simplify the code.

For example, the combination of goos and goarch can't express the pair of linux/arm64 and windows/arm64.

overrides:
  - goos: windows
    goarch: arm64

##### ...
  - goos: linux
    goarch: arm64

##### ...

envs can simplify the code.

overrides:
  - envs:
      - windows/arm64
      - linux/arm64

##### ...
Support using go_install or go_build if the platform isn't included in supported_envs

#​2132 #​2317

A new field build is added to Registry settings.
This enables to install packages by go_install or go_build on platforms where prebuilt binaries aren't published.

This is an example usage of the new field build.

packages:
  - type: github_release
    repo_owner: suzuki-shunsuke
    repo_name: tfcmt
    asset: tfcmt_{{.OS}}_{{.Arch}}.{{.Format}}
    format: tar.gz
    supported_envs:
      - linux
    build:
      type: go_build
      files:
        - name: tfcmt
          src: ./cmd/tfcmt
          dir: tfcmt-{{trimV .Version}}

supported_envs is linux, so on platforms other than linux aqua installs tfcmt by go_build.

go_install is also available.

    build:
      type: go_install
      path: github.com/suzuki-shunsuke/tfcmt/v4/cmd/tfcmt

If go_build failed on windows/arm64 and you'd like to exclude windows/arm64, excluded_envs is available.

    build:
      type: go_build
      excluded_envs:
        - windows/arm64
      files:
        - name: tfcmt
          src: ./cmd/tfcmt
          dir: tfcmt-{{trimV .Version}}

If you'd like to disable build in version_overrides, enabled is available.

build:
  enabled: false
Why not overrides?

Of course, we can do the same thing with overrides.
But build makes the intension of the code clear and simplify the code.

Support omitting .{{.Format}} in asset and url

#​1774 #​2314

The file extension is complemented if it isn't included in asset and url.

e.g.

asset: foo # This is same with `foo.tar.gz` and `foo.{{.Format}}`
format: tar.gz

The benefit is that you can unify the setting of raw format and non raw format.

Before

asset: kalker-{{.OS}}.{{.Format}}
format: zip
overrides:
  - goos: linux
    format: raw
    asset: kalker-{{.OS}}

After

asset: kalker-{{.OS}}
format: zip
overrides:
  - goos: linux
    format: raw

You can disable the complementation by setting append_ext: false.

append_ext: false
Support short file extensions in format

#​1876 #​2313

The following short file extensions can be available in format.

  • tbr
  • tbz
  • tbz2
  • tgz
  • tlz4
  • tsz
  • txz

e.g.

format: tbz2
Add the template variable AssetWithoutExt to files[].src

#​1774 #​2310

The new template variable AssetWithoutExt is a string that a file extension is removed from Asset.

e.g.

    asset: aks-engine-{{.Version}}-{{.OS}}-{{.Arch}}.tar.gz
    files:
      - name: aks-engine
        src: "{{.AssetWithoutExt}}/aks-engine" # "{{.AssetWithoutExt}}" == "aks-engine-{{.Version}}-{{.OS}}-{{.Arch}}"

v2.12.2

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.12.1...v2.12.2

Bug Fixes

#​2303 Fix a bug that path isn't overriden by overrides

Others

#​2304 Update aqua-proxy to v1.2.4
#​2302 Update Go to v1.21.2
#​2286 #​2287 #​2289 #​2290 #​2291 Refactoring


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.


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

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

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

⚠️ If you need to release this change, create a next release after merge.

@renovate renovate bot requested review from a team and panicboat and removed request for a team October 6, 2023 03:22
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.12.2 Update dependency aquaproj/aqua to v2.13.0 Oct 10, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 26b078c to b711b67 Compare October 10, 2023 00:54
@github-actions
Copy link

⚠️ If you need to release this change, create a next release after merge.

@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.13.0 Update dependency aquaproj/aqua to v2.13.1 Oct 11, 2023
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from b711b67 to ee30bb2 Compare October 11, 2023 04:02
@github-actions
Copy link

⚠️ If you need to release this change, create a next release after merge.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from ee30bb2 to 3f65117 Compare October 16, 2023 08:52
@github-actions
Copy link

⚠️ If you need to release this change, create a next release after merge.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 3f65117 to 86c498b Compare October 16, 2023 08:53
@github-actions
Copy link

⚠️ If you need to release this change, create a next release after merge.

@int128 int128 merged commit 27c2893 into main Oct 16, 2023
@int128 int128 deleted the renovate/aquaproj-aqua-2.x branch October 16, 2023 09:21
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