-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
docs/Tips-and-Tricks: Include Formulae API in Homebrew caching proxy instructions #21212
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
Conversation
|
In draft until I've proven it works once my Artifactory team livens the formulae API remote for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR expands the documentation for configuring Homebrew to use a caching proxy or mirror. The changes add instructions for proxying the Formulae API (in addition to bottles), update the section heading, and include guidance for setting up an internal Git mirror of Homebrew/brew.
Key changes:
- Added configuration instructions for the Formulae API alongside existing bottle caching instructions
- Added the
HOMEBREW_API_DOMAINenvironment variable to the example configuration - Added documentation for using
HOMEBREW_BREW_GIT_REMOTEto mirror the Homebrew/brew repository
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…instructions Expanded section on configuring Homebrew to use a caching proxy or mirror for both bottles and the Formulae API, including setup instructions. Include HOMEBREW_BREW_GIT_REMOTE in caching proxy/mirror instructions. This is specifically _not_ included in the Artifactory example because I cannot confirm that Artifactory can mirror VCS repos itself. It can only act as effectively an API to its refs; it doesn't provide a clone-able URL. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good with a few tweaks.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Expanded section on configuring Homebrew to use a caching proxy or mirror for both bottles and the Formulae API, including setup instructions.
brew lgtm(style, typechecking and tests) with your changes locally?