brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula.url=

The URL used to download the source for the {#stable} version of the formula.
We prefer `https` for security and proxy reasons.
Optionally specify the download strategy with `:using => ...`
    `:git`, `:hg`, `:svn`, `:bzr`, `:cvs`,
    `:curl` (normal file download. Will also extract.)
    `:nounzip` (without extracting)
    `:post` (download via an HTTP POST)
    `S3DownloadStrategy` (download from S3 using signed request)

<pre>url "https://packed.sources.and.we.prefer.https.example.com/archive-1.2.3.tar.bz2"</pre>
<pre>url "https://some.dont.provide.archives.example.com", :using => :git, :tag => "1.2.3", :revision => "db8e4de5b2d6653f66aea53094624468caad15d2"</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-url--for-pr


# Commit to git

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


# 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-url--for-pr

hub pull-request


# Celebrate!