Skip to content

Conversation

@colindean
Copy link
Contributor

Expanded section on configuring Homebrew to use a caching proxy or mirror for both bottles and the Formulae API, including setup instructions.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

@colindean
Copy link
Contributor Author

In draft until I've proven it works once my Artifactory team livens the formulae API remote for me.

@colindean colindean marked this pull request as ready for review December 11, 2025 23:54
Copilot AI review requested due to automatic review settings December 11, 2025 23:54
Copy link
Contributor

Copilot AI left a 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_DOMAIN environment variable to the example configuration
  • Added documentation for using HOMEBREW_BREW_GIT_REMOTE to 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>
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a 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>
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 12, 2025
Merged via the queue into Homebrew:main with commit 35b96fd Dec 12, 2025
36 checks passed
@colindean colindean deleted the patch-1 branch December 12, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants