brew/Library/Homebrew/official_taps.rb
Mike McQuaid a31fb2a6c2
Add additional brew contributions functionality.
- Add an `--organisation` flag to search a specific organisation.
- Wait for the GitHub API rate limit to reset before automatically
  retrying.
- Use (much) fewer API calls by using organisation-wide API PR searches
  rather than per-repository. This makes the rate limit easier to avoid
  and also makes things much faster (with the trade-off of showing a max
  PR count per-user rather than per-repository).
- Improve output to clarify when the max PR/commit count is reached.
- Move more logic and add more Sorbet signatures to the `GitHub` and
  `Utils::Git` modules.
- Rename a few GitHub API methods.
- Remove a lot of (now unused) `GitHub` module methods.
- Add, use a `Tap#full_repository` method.
- Add `formula-analytics` as a deprecated tap.
2025-09-10 15:32:06 +01:00

42 lines
627 B
Ruby

# typed: strict
# frozen_string_literal: true
OFFICIAL_CASK_TAPS = %w[
cask
].freeze
OFFICIAL_CMD_TAPS = T.let({
"homebrew/command-not-found" => ["command-not-found-init", "which-formula", "which-update"],
"homebrew/test-bot" => ["test-bot"],
}.freeze, T::Hash[String, T::Array[String]])
DEPRECATED_OFFICIAL_TAPS = %w[
aliases
apache
binary
bundle
cask-drivers
cask-eid
cask-fonts
cask-versions
completions
devel-only
dupes
emacs
formula-analytics
fuse
games
gui
head-only
linux-fonts
livecheck
nginx
php
python
science
services
tex
versions
x11
].freeze