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

chore(deps): update dependency aquaproj/aqua to v2.43.0 #598

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2025

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.42.2 -> v2.43.0

Release Notes

aquaproj/aqua (aquaproj/aqua)

v2.43.0

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.42.2...v2.43.0

Features

#​3467 #​3478 Support vacuuming unused packages

https://aquaproj.github.io/docs/guides/vacuum

Now you can remove unused packages by aqua vacuum command, which is useful to save storage and keep your machine clean.

aqua vacuum

This command removes installed packages which haven't been used for over the expiration days.
The default expiration days is 60, but you can change it by the environment variable $AQUA_VACUUM_DAYS or the command line option aqua vacuum -days <expiration days>.

e.g.

export AQUA_VACUUM_DAYS=90
aqua vacuum -d 30

[!CAUTION]
aqua vacuum command doesn't remove links from the bin directory and doesn't remove packages from aqua.yaml

As of aqua v2.43.0, aqua records packages' last used date times.
Date times are updated when packages are installed or executed.
Packages installed by aqua v2.42.2 or older don't have records of last used date times, so aqua can't remove them.
To solve the problem, aqua vacuum --init is available.

aqua vacuum --init

aqua vacuum --init searches installed packages from aqua.yaml including $AQUA_GLOBAL_CONFIG and records the current date time as the last used date time of those packages if their last used date times aren't recorded.

aqua vacuum --init can't record date times of install packages which are not found in aqua.yaml.
If you want to record their date times, you need to remove them by aqua rm command and re-install them.


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) January 25, 2025 01:29
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.12%. Comparing base (aae07c3) to head (bd1a1ac).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #598   +/-   ##
=======================================
  Coverage   56.12%   56.12%           
=======================================
  Files           8        8           
  Lines         155      155           
=======================================
  Hits           87       87           
  Misses         52       52           
  Partials       16       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 34beeed into master Jan 25, 2025
6 checks passed
@renovate renovate bot deleted the renovate/aquaproj-aqua-2.x branch January 25, 2025 01:31
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