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.14.1 #84

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

cybozu-neco
Copy link
Collaborator

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.13.0 -> v2.14.1

Release Notes

aquaproj/aqua (aquaproj/aqua)

v2.14.1

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.14.0...v2.14.1

Fixes

#​2354 #​2356 versiongetter: Fix getting the latest version

Use GetLatestRelease API before using ListReleases API

#​2245 #​2358 Get string values from *ast.StringNode.Value instead of ast.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

[!NOTE]
You can update registries and packages by Renovate too.
Please see Update packages by Renovate.

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"

aqua up

This command

  • gets the latest version from GitHub Releases, GitHub Tags, and crates.io and updates aqua.yaml
  • doesn't install packages

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.

aqua -c foo/aqua.yaml update

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.

aqua update <command name> [<command name> ...]

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 ignored

This command doesn't update packages if the version field is used.

packages:
  - name: cli/cli@v2.0.0 # Update
  - name: gohugoio/hugo
    version: v0.118.0 # Doesn't update

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.

packages:
  - name: google/pprof@d04f2422c8a17569c14e84da0fae252d9529826b # Doesn't update

⚠️ Known Issues

There are some known issues related to the third party library goccy/go-yaml.

null is set to packages wrongly if registries are updated and packages is empty

This issue is because of the third party library goccy/go-yaml.

Before

registries:
- ref: v4.60.0
  type: standard
packages:

Run aqua up.

$ aqua up
INFO[0000] updating a registry                           aqua_version= env=darwin/arm64 new_version=v4.65.0 old_version=v4.60.0 program=aqua registry_name=standard

After

registries:
- ref: v4.65.0
  type: standard
packages: null
Newlines are removed wrongly

This issue is because of the third party library goccy/go-yaml.

Before

registries:
- ref: v4.60.0
  type: standard

packages:
- name: suzuki-shunsuke/mkghtag@v0.1.1

Run aqua up.

$ aqua up
INFO[0000] updating a registry                           aqua_version= env=darwin/arm64 new_version=v4.65.0 old_version=v4.60.0 program=aqua registry_name=standard

After

registries:
- ref: v4.65.0
  type: standard
packages:
- name: suzuki-shunsuke/mkghtag@v0.1.1

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


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 Renovate Bot.

@zoetrope zoetrope merged commit 5658943 into main Oct 17, 2023
2 checks passed
@zoetrope zoetrope deleted the renovate/aquaproj-aqua-2.x branch October 17, 2023 09:27
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.

None yet

2 participants