brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula.mirror

Additional URLs for the {#stable} version of the formula.
These are only used if the {.url} fails to download. It's optional and
there can be more than one. Generally we add them when the main {.url}
is unreliable. If {.url} is really unreliable then we may swap the
{.mirror} and {.url}.

<pre>mirror "https://in.case.the.host.is.down.example.com"
mirror "https://in.case.the.mirror.is.down.example.com</pre>

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/formula.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Formula-mirror-for-pr


# Commit to git

git add Library/Homebrew/formula.rbgit commit -m "better docs for Formula.mirror"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Formula-mirror-for-pr

hub pull-request


# Celebrate!