brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Homebrew.current_versions_from_info_external

Get current formula versions without loading formula definition in this process
Returns info as a hash (type => version), for pull.rb's internal use
Uses special key :nonexistent => true for nonexistent formulae

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/dev-cmd/pull.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Homebrew-current_versions_from_info_external-for-pr


# Commit to git

git add Library/Homebrew/dev-cmd/pull.rbgit commit -m "better docs for Homebrew.current_versions_from_info_external"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Homebrew-current_versions_from_info_external-for-pr

hub pull-request


# Celebrate!