
























Today, I’d like to announce Homebrew 4.0.0. The most significant change since 3.6.0 enables significantly faster Homebrew-maintained tap updates by migrating from Git-cloned taps to JSON downloads.
Major changes and deprecations since 3.6.0:
HOMEBREW_NO_AUTO_UPDATE, HOMEBREW_NO_INSTALL_FROM_API or HOMEBREW_AUTO_UPDATE_SECS to work around bugs or annoyances: please consider unsetting these and tweaking the values based on the new behaviour.brew untap homebrew/core and brew untap homebrew/cask to save some space.brew update will now be run automatically less often (every 24 hours rather than every 5 minutes) and these auto-updates will be much faster as they no longer need to perform the slow git fetch of the huge homebrew/core and homebrew/cask taps’ Git repositories.HOMEBREW_INSTALL_FROM_API variable has been removed and is a no-op.export HOMEBREW_NO_INSTALL_FROM_API=1. Please investigate HOMEBREW_API_AUTO_UPDATE_SECS first.HOMEBREW_API_DOMAIN can be set to use mirrors for formulae.brew.sh.HOMEBREW_NO_ANALYTICS because you didn’t like Google Analytics and/or data being sent to the USA: please consider unsetting this and setting HOMEBREW_NO_GOOGLE_ANALYTICS instead, allowing analytics data to be sent to our new InfluxDB host..pkg files are generated for each Homebrew release. You can help us test this beta feature by downloading the generated package artifact from the relevant GitHub Actions release events.homebrew/ubuntu16.04:master image has been deprecated.Other changes since 3.6.0 I’d like to highlight are the following:
brew test sets PYTHONDONTWRITEBYTECODE to improve performance.brew install --adopt allows taking ownership of existing installed cask artifacts.brew install --dry-run allows viewing what brew install will do before it is run.brew docs opens docs.brew.sh.--cask is never required on Linux.service do blocks allow defining a run command per platform.brew install uses the local cache while installing dependencies from pip.brew doctor no longer complains about BitDefender.brew install will also suggest casks rather than just formulae when it fails to find the requested package.brew readall simulates all architecture and OS configurations for better reliability.git partial clones with sparse checkouts are supported when downloading using git.brew doctor --quiet prints no output on success.brew gist-logs better detects missing permissions.brew update uses the GitHub API token if available to avoid hitting rate limits.brew fetch and brew install can automatically determine mirrors for glibc-bootstrap and PyPI resources.Finally:

Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。