repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/page_match.rb
Library/Homebrew/livecheck/strategy/page_match.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {PageMatch} strategy fetches content at a URL and scans it for # matching text using the provided regex. # # This strategy can be used in a `livecheck` block...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/github_latest.rb
Library/Homebrew/livecheck/strategy/github_latest.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {GithubLatest} strategy identifies versions of software at # github.com by checking a repository's "latest" release using the # GitHub API. # # GitHub ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/gnome.rb
Library/Homebrew/livecheck/strategy/gnome.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {Gnome} strategy identifies versions of software at gnome.org by # checking the available downloads found in a project's `cache.json` # file. # # GNOME...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/hackage.rb
Library/Homebrew/livecheck/strategy/hackage.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {Hackage} strategy identifies versions of software at # hackage.haskell.org by checking directory listing pages. # # Hackage URLs take one of the following f...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/cpan.rb
Library/Homebrew/livecheck/strategy/cpan.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {Cpan} strategy identifies versions of software at # cpan.metacpan.org by checking directory listing pages. # # CPAN URLs take the following formats: #...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/github_releases.rb
Library/Homebrew/livecheck/strategy/github_releases.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {GithubReleases} strategy identifies versions of software at # github.com by checking a repository's recent releases using the # GitHub API. # # GitHub...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/header_match.rb
Library/Homebrew/livecheck/strategy/header_match.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {HeaderMatch} strategy follows all URL redirections and scans # the resulting headers for matching text using the provided regex. # # This strategy is not ap...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/git.rb
Library/Homebrew/livecheck/strategy/git.rb
# typed: strict # frozen_string_literal: true require "addressable" require "livecheck/strategic" require "system_command" module Homebrew module Livecheck module Strategy # The {Git} strategy identifies versions of software in a Git repository # by checking the tags using `git ls-remote --tags`. ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/launchpad.rb
Library/Homebrew/livecheck/strategy/launchpad.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {Launchpad} strategy identifies versions of software at # launchpad.net by checking the main page for a project. # # Launchpad URLs take a variety of formats...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/npm.rb
Library/Homebrew/livecheck/strategy/npm.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {Npm} strategy identifies versions of software at # registry.npmjs.org by checking the latest version for a package. # # npm URLs take one of the following f...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/livecheck/strategy/electron_builder.rb
Library/Homebrew/livecheck/strategy/electron_builder.rb
# typed: strict # frozen_string_literal: true require "livecheck/strategic" module Homebrew module Livecheck module Strategy # The {ElectronBuilder} strategy fetches content at a URL and parses it # as an electron-builder appcast in YAML format. # # This strategy is not applied automatic...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/yard/docstring_parser.rb
Library/Homebrew/yard/docstring_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require_relative "../extend/module" # from https://github.com/lsegal/yard/issues/484#issuecomment-442586899 module Homebrew module YARD class DocstringParser < ::YARD::DocstringParser # Every `Object` has these methods. unless co...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/yard/templates/default/docstring/html/setup.rb
Library/Homebrew/yard/templates/default/docstring/html/setup.rb
# typed: strict # frozen_string_literal: true # This follows the docs at https://github.com/lsegal/yard/blob/main/docs/Templates.md#setuprb # rubocop:disable Style/TopLevelMethodDefinition sig { void } def init # `sorbet` is available transitively through the `yard-sorbet` plugin, but we're # outside of the standa...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/version/parser.rb
Library/Homebrew/version/parser.rb
# typed: strict # frozen_string_literal: true class Version class Parser extend T::Helpers abstract! sig { abstract.params(spec: Pathname).returns(T.nilable(String)) } def parse(spec); end end class RegexParser < Parser extend T::Helpers abstract! sig { params(regex: Regexp, bloc...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/prerequire.rb
Library/Homebrew/sorbet/tapioca/prerequire.rb
# typed: strict # frozen_string_literal: true # Don't start coverage tracking automatically ENV["SIMPLECOV_NO_DEFAULTS"] = "1"
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/utils.rb
Library/Homebrew/sorbet/tapioca/utils.rb
# typed: strict # frozen_string_literal: true module Homebrew module Tapioca module Utils sig { params(klass: T::Class[T.anything]).returns(T::Module[T.anything]) } def self.named_object_for(klass) return klass if klass.name attached_object = klass.attached_object case attach...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/require.rb
Library/Homebrew/sorbet/tapioca/require.rb
# typed: strict # frozen_string_literal: true # These should not be made constants or Tapioca will think they are part of a gem. dependency_require_map = { "ruby-macho" => "macho", }.freeze additional_requires_map = { "parser" => ["parser/current"], "rubocop-rspec" => ["rubocop/rspec/expect_offense"], }....
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb
Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb
# typed: strict # frozen_string_literal: true require "method_source" require "rubocop" require_relative "../../../rubocops" module Tapioca module Compilers class RuboCop < Tapioca::Dsl::Compiler # This should be a module whose singleton class contains RuboCop::AST::NodePattern::Macros, # but I do...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/api_structs.rb
Library/Homebrew/sorbet/tapioca/compilers/api_structs.rb
# typed: strict # frozen_string_literal: true require_relative "../../../global" require "api/formula_struct" require "api/cask_struct" module Tapioca module Compilers class ApiStructs < Tapioca::Dsl::Compiler ConstantType = type_member { { fixed: T.class_of(T::Struct) } } sig { override.returns(T:...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/tty.rb
Library/Homebrew/sorbet/tapioca/compilers/tty.rb
# typed: strict # frozen_string_literal: true require_relative "../../../global" require "utils/tty" module Tapioca module Compilers class Tty < Tapioca::Dsl::Compiler ConstantType = type_member { { fixed: T::Module[T.anything] } } sig { override.returns(T::Enumerable[T::Module[T.anything]]) } ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/args.rb
Library/Homebrew/sorbet/tapioca/compilers/args.rb
# typed: strict # frozen_string_literal: true require_relative "../../../global" require "cli/parser" module Tapioca module Compilers class Args < Tapioca::Dsl::Compiler GLOBAL_OPTIONS = T.let( Homebrew::CLI::Parser.global_options.map do |short_option, long_option, _| [short_option, long...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb
Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb
# typed: strict # frozen_string_literal: true require "method_source" require "rubocop" require_relative "../../../rubocops" module Tapioca module Compilers class Stanza < Tapioca::Dsl::Compiler ConstantType = type_member { { fixed: T::Module[T.anything] } } sig { override.returns(T::Enumerable[T::...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb
Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb
# typed: strict # frozen_string_literal: true require_relative "../../../global" require "sorbet/tapioca/utils" require "utils/ast" module Tapioca module Compilers class Forwardables < Tapioca::Dsl::Compiler FORWARDABLE_FILENAME = "forwardable.rb" ARRAY_METHODS = T.let(["to_a", "to_ary"].freeze, T::...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/env_config.rb
Library/Homebrew/sorbet/tapioca/compilers/env_config.rb
# typed: strict # frozen_string_literal: true require_relative "../../../global" require "env_config" module Tapioca module Compilers class EnvConfig < Tapioca::Dsl::Compiler ConstantType = type_member { { fixed: T::Module[T.anything] } } sig { override.returns(T::Enumerable[T::Module[T.anything]])...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb
Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb
# typed: strict # frozen_string_literal: true require_relative "../../../../global" require "cask/config" module Tapioca module Compilers class CaskConfig < Tapioca::Dsl::Compiler ConstantType = type_member { { fixed: T::Module[T.anything] } } sig { override.returns(T::Enumerable[T::Module[T.anythi...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-license-data.rb
Library/Homebrew/dev-cmd/update-license-data.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/spdx" require "system_command" module Homebrew module DevCmd class UpdateLicenseData < AbstractCommand include SystemCommand::Mixin cmd_args do description <<~EOS Update SPDX license data in th...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/unbottled.rb
Library/Homebrew/dev-cmd/unbottled.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "api" require "os/mac/xcode" module Homebrew module DevCmd class Unbottled < AbstractCommand PORTABLE_FORMULAE = T.let(%w[ portable-libffi portable-libxcrypt portable-libyaml ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/rubocop.rb
Library/Homebrew/dev-cmd/rubocop.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "shell_command" module Homebrew module DevCmd class Rubocop < AbstractCommand include ShellCommand cmd_args do description <<~EOS Installs, configures and runs Homebrew's `rubocop`. EOS ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/test.rb
Library/Homebrew/dev-cmd/test.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "extend/ENV" require "sandbox" require "timeout" module Homebrew module DevCmd class Test < AbstractCommand cmd_args do description <<~EOS Run the test method provided by an installed formula. Ther...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/extract.rb
Library/Homebrew/dev-cmd/extract.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/git" require "formulary" require "software_spec" require "tap" module Homebrew module DevCmd class Extract < AbstractCommand BOTTLE_BLOCK_REGEX = / bottle (?:do.+?end|:[a-z]+)\n\n/m cmd_args do usage_ba...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/install-bundler-gems.rb
Library/Homebrew/dev-cmd/install-bundler-gems.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class InstallBundlerGems < AbstractCommand cmd_args do description <<~EOS Install Homebrew's Bundler gems. EOS comma_array "--groups", description: "...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/contributions.rb
Library/Homebrew/dev-cmd/contributions.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class Contributions < AbstractCommand PRIMARY_REPOS = T.let(%w[ Homebrew/brew Homebrew/homebrew-core Homebrew/homebrew-cask ].freeze, T::Array[String]) CONTRIBUTION_TY...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bump-cask-pr.rb
Library/Homebrew/dev-cmd/bump-cask-pr.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "bump_version_parser" require "cask" require "cask/download" require "utils/tar" module Homebrew module DevCmd class BumpCaskPr < AbstractCommand cmd_args do description <<~EOS Create a pull request to updat...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/rubydoc.rb
Library/Homebrew/dev-cmd/rubydoc.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class Rubydoc < AbstractCommand cmd_args do description <<~EOS Generate Homebrew's RubyDoc documentation. EOS switch "--only-public", description: "Only g...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/generate-analytics-api.rb
Library/Homebrew/dev-cmd/generate-analytics-api.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class GenerateAnalyticsApi < AbstractCommand CATEGORIES = %w[ build-error install install-on-request core-build-error core-install core-install-on-request cask...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/release.rb
Library/Homebrew/dev-cmd/release.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class Release < AbstractCommand cmd_args do description <<~EOS Create a new draft Homebrew/brew release with the appropriate version number and release notes. By default, `br...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/verify.rb
Library/Homebrew/dev-cmd/verify.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "attestation" module Homebrew module DevCmd class Verify < AbstractCommand cmd_args do description <<~EOS Verify the build provenance of bottles using GitHub's attestation tools. This is done by fi...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-python-resources.rb
Library/Homebrew/dev-cmd/update-python-resources.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class UpdatePythonResources < AbstractCommand cmd_args do description <<~EOS Update versions for PyPI resource blocks in <formula>. EOS switch "-p", "--print-only", ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/generate-man-completions.rb
Library/Homebrew/dev-cmd/generate-man-completions.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "completions" require "manpages" require "system_command" module Homebrew module DevCmd class GenerateManCompletions < AbstractCommand include SystemCommand::Mixin cmd_args do description <<~E...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/pr-upload.rb
Library/Homebrew/dev-cmd/pr-upload.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "github_packages" require "github_releases" require "extend/hash/deep_merge" module Homebrew module DevCmd class PrUpload < AbstractCommand cmd_args do description <<~EOS Apply the bottle c...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/debugger.rb
Library/Homebrew/dev-cmd/debugger.rb
# typed: strict # frozen_string_literal: true module Homebrew module DevCmd class Debugger < AbstractCommand cmd_args do description <<~EOS Run the specified Homebrew command in debug mode. To pass flags to the command, use `--` to separate them from the `brew` flags. ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/livecheck.rb
Library/Homebrew/dev-cmd/livecheck.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "livecheck/livecheck" require "livecheck/strategy" module Homebrew module DevCmd class LivecheckCmd < AbstractCommand cmd_args do description <<~EOS Check for newer versions of formulae and...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/pr-pull.rb
Library/Homebrew/dev-cmd/pr-pull.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "utils/github" require "utils/github/artifacts" require "tmpdir" require "formula" module Homebrew module DevCmd class PrPull < AbstractCommand include FileUtils cmd_args do description <<~E...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-sponsors.rb
Library/Homebrew/dev-cmd/update-sponsors.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/github" require "system_command" module Homebrew module DevCmd class UpdateSponsors < AbstractCommand include SystemCommand::Mixin NAMED_MONTHLY_AMOUNT = 100 URL_MONTHLY_AMOUNT = 1000 cmd_args do ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/which-update.rb
Library/Homebrew/dev-cmd/which-update.rb
# typed: strict # frozen_string_literal: true # License: MIT # The license text can be found in Library/Homebrew/command-not-found/LICENSE require "abstract_command" require "executables_db" module Homebrew module DevCmd class WhichUpdate < AbstractCommand cmd_args do description <<~EOS ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/generate-cask-api.rb
Library/Homebrew/dev-cmd/generate-cask-api.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "cask/cask" require "fileutils" require "formula" module Homebrew module DevCmd class GenerateCaskApi < AbstractCommand CASK_JSON_TEMPLATE = <<~EOS --- layout: cask_json --- {{ content }} ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bump-unversioned-casks.rb
Library/Homebrew/dev-cmd/bump-unversioned-casks.rb
# typed: strict # frozen_string_literal: true require "timeout" require "cask/download" require "cask/installer" require "cask/cask_loader" require "system_command" require "tap" require "unversioned_cask_checker" module Homebrew module DevCmd class BumpUnversionedCasks < AbstractCommand include SystemCom...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/pr-automerge.rb
Library/Homebrew/dev-cmd/pr-automerge.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "tap" require "utils/github" module Homebrew module DevCmd class PrAutomerge < AbstractCommand cmd_args do description <<~EOS Find pull requests that can be automatically merged using `brew pr-publish`. ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/generate-formula-api.rb
Library/Homebrew/dev-cmd/generate-formula-api.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "formula" module Homebrew module DevCmd class GenerateFormulaApi < AbstractCommand FORMULA_JSON_TEMPLATE = <<~EOS --- layout: formula_json --- {{ content }} EOS ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-perl-resources.rb
Library/Homebrew/dev-cmd/update-perl-resources.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/cpan" module Homebrew module DevCmd class UpdatePerlResources < AbstractCommand cmd_args do description <<~EOS Update versions for CPAN resource blocks in <formula>. EOS switch "-p", "...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-test.rb
Library/Homebrew/dev-cmd/update-test.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class UpdateTest < AbstractCommand include FileUtils cmd_args do description <<~EOS Run a test of `brew update` with a new repository clone. If no o...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/irb.rb
Library/Homebrew/dev-cmd/irb.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "formulary" require "cask/cask_loader" class String # @!visibility private sig { params(args: Integer).returns(Formula) } def f(*args) Formulary.factory(self, *args) end # @!visibility private sig { par...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/prof.rb
Library/Homebrew/dev-cmd/prof.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class Prof < AbstractCommand cmd_args do description <<~EOS Run Homebrew with a Ruby profiler. For example, `brew prof readall`. EOS switch "--stackp...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/update-maintainers.rb
Library/Homebrew/dev-cmd/update-maintainers.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/github" require "manpages" require "system_command" module Homebrew module DevCmd class UpdateMaintainers < AbstractCommand include SystemCommand::Mixin cmd_args do description <<~EOS Update th...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/tap-new.rb
Library/Homebrew/dev-cmd/tap-new.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "erb" require "fileutils" require "tap" require "utils/uid" module Homebrew module DevCmd class TapNew < AbstractCommand include FileUtils cmd_args do usage_banner "`tap-new` [<options>] <user>`/`<repo>" ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/generate-cask-ci-matrix.rb
Library/Homebrew/dev-cmd/generate-cask-ci-matrix.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "tap" require "utils/github/api" require "cli/parser" require "system_command" module Homebrew module DevCmd class GenerateCaskCiMatrix < AbstractCommand MAX_JOBS = 256 # Weight for each arch must add up to 1.0. ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bump.rb
Library/Homebrew/dev-cmd/bump.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "bump_version_parser" require "livecheck/livecheck" require "utils/repology" module Homebrew module DevCmd class Bump < AbstractCommand NEWER_THAN_UPSTREAM_MSG = " (newer than upstream)" class VersionBumpInfo < T::Stru...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bottle.rb
Library/Homebrew/dev-cmd/bottle.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "formula" require "utils/bottles" require "tab" require "sbom" require "keg" require "formula_versions" require "utils/inreplace" require "erb" require "utils/gzip" require "api" require "extend/hash/deep_merge" requir...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
true
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/typecheck.rb
Library/Homebrew/dev-cmd/typecheck.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class Typecheck < AbstractCommand include FileUtils cmd_args do description <<~EOS Check for typechecking errors using Sorbet. EOS switch "--f...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/formula-analytics.rb
Library/Homebrew/dev-cmd/formula-analytics.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class FormulaAnalytics < AbstractCommand cmd_args do usage_banner <<~EOS `formula-analytics` Query Homebrew's analytics. EOS flag "--day...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/create.rb
Library/Homebrew/dev-cmd/create.rb
# typed: strict # frozen_string_literal: true require "formula" require "formula_creator" require "missing_formula" require "cask/cask_loader" module Homebrew module DevCmd class Create < AbstractCommand cmd_args do description <<~EOS Generate a formula or, with `--cask`, a cask for the ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/unpack.rb
Library/Homebrew/dev-cmd/unpack.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "stringio" require "formula" require "cask/download" require "unpack_strategy" module Homebrew module DevCmd class Unpack < AbstractCommand include FileUtils cmd_args do description <<~EOS ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb
Library/Homebrew/dev-cmd/dispatch-build-bottle.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "tap" require "utils/bottles" require "utils/github" module Homebrew module DevCmd class DispatchBuildBottle < AbstractCommand cmd_args do description <<~EOS Build bottles for these formulae with GitHub Acti...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/audit.rb
Library/Homebrew/dev-cmd/audit.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" require "formula_versions" require "utils/curl" require "utils/github/actions" require "utils/shared_audits" require "utils/spdx" require "extend/ENV" require "formula_cellar_checks" require "cmd/search" require "style" require ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/lgtm.rb
Library/Homebrew/dev-cmd/lgtm.rb
# typed: strict # frozen_string_literal: true require "tap" module Homebrew module DevCmd class Lgtm < AbstractCommand include SystemCommand::Mixin cmd_args do description <<~EOS Run `brew typecheck`, `brew style --changed` and `brew tests --changed` in one go. EOS ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/formula.rb
Library/Homebrew/dev-cmd/formula.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" module Homebrew module DevCmd class FormulaCmd < AbstractCommand cmd_args do description <<~EOS Display the path where <formula> is located. EOS named_args :formula, min: 1, withou...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bump-formula-pr.rb
Library/Homebrew/dev-cmd/bump-formula-pr.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "formula" require "utils/inreplace" require "utils/tar" module Homebrew module DevCmd class BumpFormulaPr < AbstractCommand cmd_args do description <<~EOS Create a pull request to update ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/bump-revision.rb
Library/Homebrew/dev-cmd/bump-revision.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" module Homebrew module DevCmd class BumpRevision < AbstractCommand cmd_args do description <<~EOS Create a commit to increment the revision of <formula>. If no revision is present, "revis...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/vendor-gems.rb
Library/Homebrew/dev-cmd/vendor-gems.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "utils/git" require "fileutils" require "utils/github" module Homebrew module DevCmd class VendorGems < AbstractCommand cmd_args do description <<~EOS Install and commit Homebrew's vendored gems. EOS...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/test-bot.rb
Library/Homebrew/dev-cmd/test-bot.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "test_bot" module Homebrew module Cmd class TestBotCmd < AbstractCommand cmd_args do usage_banner <<~EOS `test-bot` [<options>] [<formula>] Tests the full lifecycle of a Homebrew change to a tap (...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/pr-publish.rb
Library/Homebrew/dev-cmd/pr-publish.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "tap" require "utils/github" module Homebrew module DevCmd class PrPublish < AbstractCommand cmd_args do description <<~EOS Publish bottles for a pull request with GitHub Actions. Requires write ac...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/tests.rb
Library/Homebrew/dev-cmd/tests.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" require "hardware" require "system_command" module Homebrew module DevCmd class Tests < AbstractCommand include SystemCommand::Mixin cmd_args do description <<~EOS Run Homebrew's unit and ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/ruby.rb
Library/Homebrew/dev-cmd/ruby.rb
# typed: strict # frozen_string_literal: true require "abstract_command" module Homebrew module DevCmd class Ruby < AbstractCommand cmd_args do usage_banner "`ruby` [<options>] (`-e` <text>|<file>)" description <<~EOS Run a Ruby instance with Homebrew's libraries loaded. For exam...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/sh.rb
Library/Homebrew/dev-cmd/sh.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "extend/ENV" require "formula" require "utils/gems" require "utils/shell" module Homebrew module DevCmd class Sh < AbstractCommand cmd_args do description <<~EOS Enter an interactive shell for Homebrew's bui...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/linkage.rb
Library/Homebrew/dev-cmd/linkage.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "cache_store" require "linkage_checker" module Homebrew module DevCmd class Linkage < AbstractCommand cmd_args do description <<~EOS Check the library links from the given <formula> kegs. If no <formula> are...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/style.rb
Library/Homebrew/dev-cmd/style.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "json" require "open3" require "style" module Homebrew module DevCmd class StyleCmd < AbstractCommand cmd_args do description <<~EOS Check formulae or files for conformance to Homebrew style guidelines. ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/determine-test-runners.rb
Library/Homebrew/dev-cmd/determine-test-runners.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "test_runner_formula" require "github_runner_matrix" module Homebrew module DevCmd class DetermineTestRunners < AbstractCommand cmd_args do usage_banner <<~EOS `determine-test-runners` {<testing-formulae> [<...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/cat.rb
Library/Homebrew/dev-cmd/cat.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "fileutils" module Homebrew module DevCmd class Cat < AbstractCommand include FileUtils cmd_args do description <<~EOS Display the source of a <formula> or <cask>. EOS switch "--formul...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/dev-cmd/edit.rb
Library/Homebrew/dev-cmd/edit.rb
# typed: strict # frozen_string_literal: true require "abstract_command" require "formula" module Homebrew module DevCmd class Edit < AbstractCommand cmd_args do description <<~EOS Open a <formula>, <cask> or <tap> in the editor set by `$EDITOR` or `$HOMEBREW_EDITOR`, or open t...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/debrew/irb.rb
Library/Homebrew/debrew/irb.rb
# typed: strict # frozen_string_literal: true require "irb" module IRB sig { params(binding: Binding).void } def self.start_within(binding) old_stdout_sync = $stdout.sync $stdout.sync = true @setup_done ||= T.let(false, T.nilable(T::Boolean)) unless @setup_done setup(nil, argv: []) @s...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/download.rb
Library/Homebrew/cask/download.rb
# typed: strict # frozen_string_literal: true require "downloadable" require "fileutils" require "cask/cache" require "cask/quarantine" module Cask # A download corresponding to a {Cask}. class Download include Downloadable include Context sig { returns(::Cask::Cask) } attr_reader :cask sig...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/exceptions.rb
Library/Homebrew/cask/exceptions.rb
# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask # General cask error. class CaskError < RuntimeError; end # Cask error containing multiple other errors. class MultipleCaskErrors < CaskError def initialize(errors) super() @errors = errors end ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/denylist.rb
Library/Homebrew/cask/denylist.rb
# typed: strict # frozen_string_literal: true module Cask # List of casks which are not allowed in official taps. module Denylist sig { params(name: String).returns(T.nilable(String)) } def self.reason(name) case name when /^adobe-(after|illustrator|indesign|photoshop|premiere)/ "Adobe ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/reinstall.rb
Library/Homebrew/cask/reinstall.rb
# typed: strict # frozen_string_literal: true require "utils/output" module Cask class Reinstall extend ::Utils::Output::Mixin sig { params( casks: ::Cask::Cask, verbose: T::Boolean, force: T::Boolean, skip_cask_deps: T::Boolean, binaries: T::Boolean, require_sha: T::Boolean, quaranti...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/uninstall.rb
Library/Homebrew/cask/uninstall.rb
# typed: strict # frozen_string_literal: true require "cask_dependent" require "dependents_message" require "utils/output" module Cask class Uninstall extend ::Utils::Output::Mixin sig { params(casks: ::Cask::Cask, binaries: T::Boolean, force: T::Boolean, verbose: T::Boolean).void } def self.uninstall_...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/utils.rb
Library/Homebrew/cask/utils.rb
# typed: strict # frozen_string_literal: true require "utils/user" require "open3" require "utils/output" module Cask # Helper functions for various cask operations. module Utils extend ::Utils::Output::Mixin BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs" sig { params(p...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/artifact_set.rb
Library/Homebrew/cask/artifact_set.rb
# typed: strict # frozen_string_literal: true module Cask # Sorted set containing all cask artifacts. class ArtifactSet < ::Set extend T::Generic Elem = type_member(:out) { { fixed: Artifact::AbstractArtifact } } sig { params(block: T.nilable(T.proc.params(arg0: Elem).returns(T.untyped))).void } ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/macos.rb
Library/Homebrew/cask/macos.rb
# typed: strict # frozen_string_literal: true module OS module Mac SYSTEM_DIRS = T.let([ "/", "/Applications", "/Applications/Utilities", "/Incompatible Software", "/Library", "/Library/Application Support", "/Library/Audio", "/Library/Caches", "/Library/Colo...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/tab.rb
Library/Homebrew/cask/tab.rb
# typed: strict # frozen_string_literal: true require "tab" module Cask class Tab < ::AbstractTab sig { returns(T.nilable(T::Boolean)) } attr_accessor :uninstall_flight_blocks sig { returns(T.nilable(T::Array[T.untyped])) } attr_accessor :uninstall_artifacts sig { params(attributes: T.any(T::H...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/staged.rb
Library/Homebrew/cask/staged.rb
# typed: strict # frozen_string_literal: true require "utils/user" require "utils/output" module Cask # Helper functions for staged casks. module Staged include ::Utils::Output::Mixin extend T::Helpers requires_ancestor { ::Cask::DSL::Base } Paths = T.type_alias { T.any(String, Pathname, T::Arra...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/dsl.rb
Library/Homebrew/cask/dsl.rb
# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "autobump_constants" require "locale" require "lazy_object" require "livecheck" require "utils/output" require "cask/artifact" require "cask/artifact_set" require "cask/caskroom" require "cask/exceptions" require "cask/dsl/base" r...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/info.rb
Library/Homebrew/cask/info.rb
# typed: strict # frozen_string_literal: true require "json" require "cmd/info" require "utils/output" module Cask class Info extend ::Utils::Output::Mixin sig { params(cask: Cask).returns(String) } def self.get_info(cask) require "cask/installer" output = "#{title_info(cask)}\n" out...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/url.rb
Library/Homebrew/cask/url.rb
# typed: strict # frozen_string_literal: true require "source_location" require "utils/curl" module Cask # Class corresponding to the `url` stanza. class URL sig { returns(URI::Generic) } attr_reader :uri sig { returns(T.nilable(T::Hash[T.any(Symbol, String), String])) } attr_reader :revisions ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/artifact.rb
Library/Homebrew/cask/artifact.rb
# typed: strict # frozen_string_literal: true require "cask/artifact/app" require "cask/artifact/artifact" # generic 'artifact' stanza require "cask/artifact/audio_unit_plugin" require "cask/artifact/binary" require "cask/artifact/colorpicker" require "cask/artifact/dictionary" require "cask/artifact/font" require "ca...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/caskroom.rb
Library/Homebrew/cask/caskroom.rb
# typed: strict # frozen_string_literal: true require "utils/user" require "utils/output" module Cask # Helper functions for interacting with the `Caskroom` directory. # # @api internal module Caskroom extend ::Utils::Output::Mixin sig { returns(Pathname) } def self.path @path ||= T.let(HOM...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/upgrade.rb
Library/Homebrew/cask/upgrade.rb
# typed: strict # frozen_string_literal: true require "env_config" require "cask/config" require "utils/output" module Cask class Upgrade extend ::Utils::Output::Mixin sig { returns(T::Array[String]) } def self.greedy_casks if (upgrade_greedy_casks = Homebrew::EnvConfig.upgrade_greedy_casks.prese...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/installer.rb
Library/Homebrew/cask/installer.rb
# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "formula_installer" require "unpack_strategy" require "utils/topological_hash" require "utils/analytics" require "utils/output" require "cask/config" require "cask/download" require "cask/migrator" require "cask/quarantine" require ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/audit.rb
Library/Homebrew/cask/audit.rb
# typed: strict # frozen_string_literal: true require "cask/denylist" require "cask/download" require "cask/installer" require "cask/quarantine" require "digest" require "livecheck/livecheck" require "source_location" require "system_command" require "utils/backtrace" require "formula_name_cask_token_auditor" require ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
true
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/cask_loader.rb
Library/Homebrew/cask/cask_loader.rb
# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/cache" require "cask/cask" require "uri" require "utils/curl" require "utils/output" require "utils/path" require "extend/hash/keys" require "api" module Cask # Loads a cask from various sources. module CaskLoader exte...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/cask/list.rb
Library/Homebrew/cask/list.rb
# typed: strict # frozen_string_literal: true require "cask/artifact/relocated" require "utils/output" module Cask class List extend ::Utils::Output::Mixin sig { params(casks: Cask, one: T::Boolean, full_name: T::Boolean, versions: T::Boolean).void } def self.list_casks(*casks, one: false, full_name: f...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false