Skip to main content

homebrew

Parameters

Configuration of the cache for homebrew operations.

OperationTypeDescription
update_expiredurationHow long to cache the fact that brew update has been run. This allows to avoid running it on each omni up call.
install_update_expiredurationHow long to cache the fact that brew upgrade has been run for a given formulae or cask. This allows to avoid running it on each omni up call.
install_check_expiredurationHow long to cache that we have seen a given formulae or cask as installed. This allows to avoid checking it on each omni up call.
cleanup_afterdurationThe grace period before cleaning up the resources that are no longer needed.

Example

cache:
homebrew:
update_expire: 1d
install_update_expire: 1d
install_check_expire: 12h
cleanup_after: 1w