language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
Homebrew
brew
f4d81fee1c57b0e152876ea8bb57115807b3c223.json
Add flowchart for managing pull requests - Add flowchart for handling ready-to-merge pull requests - Add diagram guidelines Many thanks to Sean Molenaar for the idea and initial version of the chart. CC: Sean Molenaar <smillernl@me.com>
docs/README.md
@@ -46,6 +46,7 @@ - [Building Against Non-Homebrew Dependencies](Building-Against-Non-Homebrew-Dependencies.md) - [How To Create (And Maintain) A Tap](How-to-Create-and-Maintain-a-Tap.md) - [Brew Test Bot](Brew-Test-Bot.md) +- [Diagram Guidelines](Diagram-Guidelines.md) - [Prose Style Guidelines](Prose-Style-Guidel...
true
Other
Homebrew
brew
f4d81fee1c57b0e152876ea8bb57115807b3c223.json
Add flowchart for managing pull requests - Add flowchart for handling ready-to-merge pull requests - Add diagram guidelines Many thanks to Sean Molenaar for the idea and initial version of the chart. CC: Sean Molenaar <smillernl@me.com>
docs/assets/img/docs/managing-pull-requests.drawio.svg
@@ -0,0 +1,498 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="759px" height="936px" viewBox="-0.5 -0.5 759 936" content="&lt;mxfile host=&quot;bc6f822c-9eee-4864-9965-eff809b251a4&quot; modified=&quot;2020-09-06T12:53:34.431Z&quot; agent=&quot;5.0 (Macintosh;...
true
Other
Homebrew
brew
184c80b16df08901689897383e73c8811289cb9a.json
Improve detection of GitLab tag.
Library/Homebrew/dev-cmd/audit.rb
@@ -784,8 +784,14 @@ def audit_specs owner = Regexp.last_match(1) repo = Regexp.last_match(2) + tag = url.match(%r{^https://gitlab\.com/[\w-]+/[\w-]+/-/archive/([^/]+)/}) + .to_a + .second + tag ||= stable.specs[:tag] + tag ||= stable.version + ...
false
Other
Homebrew
brew
803234d381661d99ff50c4802148b128092f4f6c.json
Ignore URLs protected by CloudFlare when auditing.
Library/Homebrew/utils/curl.rb
@@ -128,6 +128,13 @@ def curl_check_http_content(url, user_agents: [:default], check_content: false, end unless http_status_ok?(details[:status]) + # The URL is protected by CloudFlare. + if details[:status].to_i == 503 && + details[:file].include?("set-cookie: __cfduid=") && + details[:file]....
false
Other
Homebrew
brew
5cb3b1d428d39d74e30b8b5f81438d4495a1ccb1.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -5483,22 +5483,8 @@ class Cask::Audit def online?(); end def strict?(); end -end - -class Cask::Auditor - def audit_appcast?(); end - - def audit_download?(); end - - def audit_new_cask?(); end - def audit_online?(); end - - def audit_strict?(); end - - def audit_token_conflicts?(); end - - def quar...
false
Other
Homebrew
brew
b3c991a6742d3cd662bed687bad5242216509d5e.json
search: use https for fink query url
Library/Homebrew/cmd/search.rb
@@ -13,7 +13,7 @@ module Homebrew PACKAGE_MANAGERS = { macports: ->(query) { "https://www.macports.org/ports.php?by=name&substr=#{query}" }, - fink: ->(query) { "http://pdb.finkproject.org/pdb/browse.php?summary=#{query}" }, + fink: ->(query) { "https://pdb.finkproject.org/pdb/browse.php?summary...
false
Other
Homebrew
brew
f1bf6c03c3f6585cdcc648ccc387ef933ab9a446.json
Add tests for implications.
Library/Homebrew/cask/audit.rb
@@ -16,7 +16,7 @@ class Audit attr_reader :cask, :download - attr_predicate :appcast?, :new_cask?, :strict?, :online? + attr_predicate :appcast?, :new_cask?, :strict?, :online?, :token_conflicts? def initialize(cask, appcast: nil, download: nil, quarantine: nil, token_conflicts...
true
Other
Homebrew
brew
f1bf6c03c3f6585cdcc648ccc387ef933ab9a446.json
Add tests for implications.
Library/Homebrew/test/cask/audit_spec.rb
@@ -30,17 +30,52 @@ def include_msg?(messages, msg) end let(:cask) { instance_double(Cask::Cask) } - let(:download) { false } - let(:token_conflicts) { false } - let(:strict) { false } - let(:new_cask) { false } + let(:new_cask) { nil } + let(:online) { nil } + let(:strict) { nil } + let(:token_conflict...
true
Other
Homebrew
brew
bfea8621d08fabefb48f0808d6ba70d6731c5f74.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -8100,6 +8100,8 @@ module Homebrew::EnvConfig def self.curlrc?(); end + def self.debug?(); end + def self.developer?(); end def self.disable_load_formula?(); end
false
Other
Homebrew
brew
8fb769e60c1ec4aa04582f640e426fd9a4d09c66.json
Ignore `FormulaUnreadableError` in `Formula.each`.
Library/Homebrew/formula.rb
@@ -1460,14 +1460,12 @@ def self.full_names # @private def self.each files.each do |file| - yield begin - Formulary.factory(file) - rescue FormulaUnavailableError => e - # Don't let one broken formula break commands. But do complain. - onoe "Failed to import: #{file}" - ...
true
Other
Homebrew
brew
8fb769e60c1ec4aa04582f640e426fd9a4d09c66.json
Ignore `FormulaUnreadableError` in `Formula.each`.
Library/Homebrew/formulary.rb
@@ -42,7 +42,7 @@ def self.load_formula(name, path, contents, namespace, flags:) # access them from within the formula's class scope. mod.const_set(:BUILD_FLAGS, flags) mod.module_eval(contents, path) - rescue NameError, ArgumentError, ScriptError => e + rescue NameError, ArgumentError, Scrip...
true
Other
Homebrew
brew
9ac31942fbf56518dc9bdf84748b3450265a1acb.json
audit: allow pre-releases in cask-versions
Library/Homebrew/cask/audit.rb
@@ -452,6 +452,8 @@ def check_appcast_contains_version end def check_github_prerelease_version + return if cask.tap == "homebrew/cask-versions" + odebug "Auditing GitHub prerelease" user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*}) if @online return if user.n...
false
Other
Homebrew
brew
d900b8e81fe624da4301d3a18dbfa3e6514d3c21.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -13385,6 +13385,7 @@ class Object HOMEBREW_PULL_API_REGEX = ::T.let(nil, ::T.untyped) HOMEBREW_PULL_OR_COMMIT_URL_REGEX = ::T.let(nil, ::T.untyped) HOMEBREW_REPOSITORY = ::T.let(nil, ::T.untyped) + HOMEBREW_REQUIRED_RUBY_VERSION = ::T.let(nil, ::T.untyped) HOMEBREW_SHIMS_PATH = ::T.let(nil, ::T.untyped)...
false
Other
Homebrew
brew
09d7889ed8f6eee000c523a7ada42b850ec64e04.json
Extract constant IO_DEFAULT_BUFFER_SIZE
Library/Homebrew/utils/popen.rb
@@ -1,6 +1,9 @@ # frozen_string_literal: true module Utils + IO_DEFAULT_BUFFER_SIZE = 4096 + private_constant :IO_DEFAULT_BUFFER_SIZE + def self.popen_read(*args, **options, &block) popen(args, "rb", options, &block) end @@ -18,7 +21,7 @@ def self.popen_write(*args, **options) # Before we yiel...
false
Other
Homebrew
brew
0279dda595248d6e0bc288387619d4784a1b8704.json
add cask pre-release check
Library/Homebrew/cask/audit.rb
@@ -54,8 +54,12 @@ def run! check_latest_with_auto_updates check_stanza_requires_uninstall check_appcast_contains_version - check_github_repository check_gitlab_repository + check_gitlab_repository_archived + check_gitlab_prerelease_version + check_github_repository + ...
true
Other
Homebrew
brew
0279dda595248d6e0bc288387619d4784a1b8704.json
add cask pre-release check
Library/Homebrew/dev-cmd/audit.rb
@@ -701,6 +701,8 @@ def get_repo_data(regex) "libepoxy" => "1.5", }.freeze + GITLAB_PRERELEASE_ALLOWLIST = {}.freeze + GITHUB_PRERELEASE_ALLOWLIST = { "cbmc" => "5.12.6", "elm-format" => "0.8.3", @@ -802,6 +804,17 @@ def audit_specs return if stable_url_...
true
Other
Homebrew
brew
0279dda595248d6e0bc288387619d4784a1b8704.json
add cask pre-release check
Library/Homebrew/utils/shared_audits.rb
@@ -17,6 +17,16 @@ def github_repo_data(user, repo) nil end + def github_release_data(user, repo, tag) + id = "#{user}/#{repo}/#{tag}" + @github_release_data ||= {} + @github_release_data[id] ||= GitHub.open_api("#{GitHub::API_URL}/repos/#{user}/#{repo}/releases/tags/#{tag}") + + @github_release_...
true
Other
Homebrew
brew
3fdab5a24d66330c6fd22b384b8cb4e8b2fde02d.json
Update cask/installer.rb: check dependencies before download
Library/Homebrew/cask/installer.rb
@@ -62,10 +62,10 @@ def fetch odebug "Cask::Installer#fetch" verify_has_sha if require_sha? && !force? + satisfy_dependencies + download verify - - satisfy_dependencies end def stage
false
Other
Homebrew
brew
9d57bfc9ba34c91817b1740432924e4600d33c5c.json
Adjust RuboCop formatter on CI.
Library/Homebrew/style.rb
@@ -118,6 +118,12 @@ def run_rubocop(files, output_type, case output_type when :print args << "--debug" if debug + + if ENV["CI"] + # Don't show the default formatter's progress dots on CI. + args << "--format" << "clang" + end + args << "--color" if Tty.c...
false
Other
Homebrew
brew
98248a44a499dc3d55f4ed64eb773f76643bd65e.json
cask/installer: fix reference to opt_linked/optlinked
Library/Homebrew/cask/installer.rb
@@ -332,7 +332,7 @@ def missing_cask_and_formula_dependencies else cask_or_formula.try(:installed?) end - installed && (cask_or_formula.respond_to?(:opt_linked?) ? cask_or_formula.opt_linked? : true) + installed && (cask_or_formula.respond_to?(:optlinked?) ? cask_or_formula.op...
false
Other
Homebrew
brew
8ac3cd0e7078055a92e27c0f2e98138e1f2bfab4.json
Add note about vendoring dependencies
docs/Acceptable-Formulae.md
@@ -77,6 +77,11 @@ Clang is the default C/C++ compiler on macOS (and has been for a long time). Sof ### Stuff that requires heavy manual pre/post-install intervention We're a package manager so we want to do things like resolve dependencies and set up applications for our users. If things require too much manual inte...
false
Other
Homebrew
brew
d9135c5a57f38c578cb7c9c7ba8eaab63b6d7651.json
CPU: add ability to check for Rosetta When running within an Intel terminal, `uname -m` and friends return Intel-based values for compatibility. An Intel shell will also prefer to launch Intel slices of programs unless the program is ARM-only. It's an open question how Homebrew should manage running in Intel mode. Sh...
Library/Homebrew/extend/os/mac/hardware/cpu.rb
@@ -63,6 +63,14 @@ def universal_archs [arch_64_bit, arch_32_bit].extend ArchitectureListExtension end + # True when running under an Intel-based shell via Rosetta on an + # Apple Silicon Mac. This can be detected via seeing if there's a + # conflict between what `uname` report and the ...
true
Other
Homebrew
brew
d9135c5a57f38c578cb7c9c7ba8eaab63b6d7651.json
CPU: add ability to check for Rosetta When running within an Intel terminal, `uname -m` and friends return Intel-based values for compatibility. An Intel shell will also prefer to launch Intel slices of programs unless the program is ARM-only. It's an open question how Homebrew should manage running in Intel mode. Sh...
Library/Homebrew/hardware.rb
@@ -154,6 +154,10 @@ def arch_flag(arch) "-march=#{arch}" end + + def running_under_rosetta? + false + end end end
true
Other
Homebrew
brew
64a533bfdd786556436f80d5fe50d4e33f5e4901.json
Fix useless assignment.
Library/Homebrew/.simplecov
@@ -19,15 +19,15 @@ SimpleCov.start do command_name "#{SimpleCov.command_name} (#{pid})" # be quiet, the parent process will be in charge of output and checking coverage totals - print_error_status = false + SimpleCov.print_error_status = false end if ENV["HOMEBREW_INTEGRATION_TEST"] # Th...
false
Other
Homebrew
brew
21d57a0c443cd3675bee25fb69a7228539f6b9e6.json
Move RuboCop rules into top-level `.rubocop.yml`.
Library/.rubocop.yml
@@ -2,11 +2,19 @@ require: ./Homebrew/rubocops.rb +inherit_mode: + merge: + - Include + - Exclude + AllCops: TargetRubyVersion: 2.6 DisplayCopNames: false # enable all pending rubocops NewCops: enable + Exclude: + - 'Homebrew/bin/*' + - 'Homebrew/**/vendor/**/*' Cask/Desc: Descript...
true
Other
Homebrew
brew
21d57a0c443cd3675bee25fb69a7228539f6b9e6.json
Move RuboCop rules into top-level `.rubocop.yml`.
Library/.rubocop_cask.yml
@@ -1,4 +1,4 @@ # TODO: This file can be deleted once https://github.com/Homebrew/brew/pull/8542 # is in a stable release and `rubocop.yml` has been removed from all cask taps. -inherit_from: ./Homebrew/.rubocop.yml +inherit_from: ./.rubocop.yml
true
Other
Homebrew
brew
21d57a0c443cd3675bee25fb69a7228539f6b9e6.json
Move RuboCop rules into top-level `.rubocop.yml`.
Library/Homebrew/.rubocop.yml
@@ -2,27 +2,11 @@ inherit_from: - ../.rubocop_rspec.yml - .rubocop_todo.yml -AllCops: - Include: - - '**/*.rb' - - 'Library/Homebrew/.simplecov' - Exclude: - - 'bin/*' - - '**/vendor/**/*' - -# messes up system formatting for formulae but good for Homebrew/brew -Layout/ArgumentAlignment: - Enable...
true
Other
Homebrew
brew
2b029b2744c1a008b17c588313963051a291f13c.json
Remove need for separate `.rubocop_cask.yml`.
Library/.rubocop.yml
@@ -8,6 +8,30 @@ AllCops: # enable all pending rubocops NewCops: enable +Cask/Desc: + Description: 'Ensure that the desc stanza conforms to various content and style checks.' + Enabled: true + +Cask/HomepageMatchesUrl: + Description: 'Ensure that the homepage and url match, otherwise add a comment. More info...
true
Other
Homebrew
brew
2b029b2744c1a008b17c588313963051a291f13c.json
Remove need for separate `.rubocop_cask.yml`.
Library/.rubocop_cask.yml
@@ -1,35 +1,4 @@ -inherit_from: ./Homebrew/.rubocop.yml - -Cask/Desc: - Description: 'Ensure that the desc stanza conforms to various content and style checks.' - Enabled: true - -Cask/HomepageMatchesUrl: - Description: 'Ensure that the homepage and url match, otherwise add a comment. More info at https://github.com...
true
Other
Homebrew
brew
2b029b2744c1a008b17c588313963051a291f13c.json
Remove need for separate `.rubocop_cask.yml`.
Library/Homebrew/cask/cmd/style.rb
@@ -27,7 +27,7 @@ def self.rubocop(*paths, auto_correct: false, debug: false, json: false) args = [ "--force-exclusion", - "--config", "#{HOMEBREW_LIBRARY}/.rubocop_cask.yml" + "--config", HOMEBREW_LIBRARY/".rubocop.yml" ] if json
true
Other
Homebrew
brew
2bac0d802a1ec456b77be7c5cc5a8a6e6cce4fff.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/files.yaml
@@ -635,7 +635,7 @@ false: - ./test/rubocops/components_redundancy_spec.rb - ./test/rubocops/conflicts_spec.rb - ./test/rubocops/dependency_order_spec.rb - - ./test/rubocops/deprecate_disable_spec.rb + - ./test/rubocops/deprecate_spec.rb - ./test/rubocops/formula_desc_spec.rb - ./test/rubocops/homepage...
true
Other
Homebrew
brew
2bac0d802a1ec456b77be7c5cc5a8a6e6cce4fff.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -8140,6 +8140,8 @@ module Homebrew::EnvConfig def self.install_badge(); end + def self.livecheck_watchlist(); end + def self.logs(); end def self.no_analytics?(); end @@ -20275,6 +20277,10 @@ class RuboCop::Cop::FormulaAudit::DependencyOrder def uses_from_macos_node?(node=T.unsafe(nil)); end end ...
true
Other
Homebrew
brew
e7cf1f4497431ed80dfefb3cb2c8082c66365b20.json
fix deprecate! and disable! message
Library/Homebrew/formula_installer.rb
@@ -218,7 +218,7 @@ def check_install_sanity reason = if deprecate_disable_reasons.key? formula.deprecation_reason deprecate_disable_reasons[formula.deprecation_reason] else - deprecate_disable_reasons + formula.deprecation_reason end opoo "#{formula.fu...
false
Other
Homebrew
brew
4d0a1ff775baa02f66d61ce949d6fe32d776f2be.json
deprecate!, disable!: allow symbols for reason
Library/Homebrew/formula.rb
@@ -1151,7 +1151,7 @@ def link_overwrite?(path) # The reason this {Formula} is deprecated. # Returns `nil` if no reason is specified or the formula is not deprecated. # @method deprecation_reason - # @return [String] + # @return [String, Symbol] delegate deprecation_reason: :"self.class" # Whether th...
true
Other
Homebrew
brew
4d0a1ff775baa02f66d61ce949d6fe32d776f2be.json
deprecate!, disable!: allow symbols for reason
Library/Homebrew/formula_installer.rb
@@ -202,15 +202,38 @@ def verify_deps_exist def check_install_sanity raise FormulaInstallationAlreadyAttemptedError, formula if self.class.attempted.include?(formula) + deprecate_disable_reasons = { + does_not_build: "does not build", + no_license: "has no license", + repo_arch...
true
Other
Homebrew
brew
4d0a1ff775baa02f66d61ce949d6fe32d776f2be.json
deprecate!, disable!: allow symbols for reason
Library/Homebrew/rubocops/deprecate_disable.rb
@@ -46,6 +46,8 @@ def audit_formula(_node, _class_node, _parent_class_node, body_node) reason_found = false reason(node) do |reason_node| reason_found = true + next if reason_node.sym_type? + offending_node(reason_node) reason_string = ...
true
Other
Homebrew
brew
4d0a1ff775baa02f66d61ce949d6fe32d776f2be.json
deprecate!, disable!: allow symbols for reason
Library/Homebrew/test/rubocops/deprecate_disable_spec.rb
@@ -211,6 +211,15 @@ class Foo < Formula RUBY end + it "deprecation reason is acceptable as a symbol" do + expect_no_offenses(<<~RUBY) + class Foo < Formula + url 'https://brew.sh/foo-1.0.tgz' + deprecate! because: :does_not_build + end + RUBY + end + i...
true
Other
Homebrew
brew
6162799d63aa1853fb9675b68972f108f5aa96a6.json
style: check deprecate! reason
Library/Homebrew/rubocops/deprecate.rb
@@ -32,6 +32,43 @@ def autocorrect(node) (pair (sym :date) $str) EOS end + + # This cop audits deprecate! reason + class DeprecateReason < FormulaCop + def audit_formula(_node, _class_node, _parent_class_node, body_node) + deprecate_node = find_node_method_by_name(bo...
true
Other
Homebrew
brew
6162799d63aa1853fb9675b68972f108f5aa96a6.json
style: check deprecate! reason
Library/Homebrew/test/.rubocop_todo.yml
@@ -21,7 +21,7 @@ RSpec/InstanceVariable: - 'utils/git_spec.rb' - 'version_spec.rb' -# Offense count: 75 +# Offense count: 76 RSpec/MultipleDescribes: Exclude: - 'ENV_spec.rb' @@ -93,6 +93,7 @@ RSpec/MultipleDescribes: - 'patch_spec.rb' - 'rubocops/checksum_spec.rb' - 'rubocops/class...
true
Other
Homebrew
brew
6162799d63aa1853fb9675b68972f108f5aa96a6.json
style: check deprecate! reason
Library/Homebrew/test/rubocops/deprecate_spec.rb
@@ -101,3 +101,145 @@ class Foo < Formula end end end + +describe RuboCop::Cop::FormulaAudit::DeprecateReason do + subject(:cop) { described_class.new } + + context "When auditing formula for deprecate! because:" do + it "deprecation reason is acceptable" do + expect_no_offenses(<<~RUBY) + cla...
true
Other
Homebrew
brew
13f0b4706f96e5e8d34ac21dc1d70494ba8dec7f.json
pypi: add pulumi to the blocklist
Library/Homebrew/utils/pypi.rb
@@ -18,6 +18,7 @@ module PyPI dxpy ipython molecule + pulumi salt xonsh ].freeze
false
Other
Homebrew
brew
246db8a134f162b764c36cd0050c8303a2197615.json
Capture stdout during `popen_write` Fix tests and fulfill intended semantics by having `popen_write` transparently capture standard output.
Library/Homebrew/utils/popen.rb
@@ -12,8 +12,25 @@ def self.safe_popen_read(*args, **options, &block) raise ErrorDuringExecution.new(args, status: $CHILD_STATUS, output: [[:stdout, output]]) end - def self.popen_write(*args, **options, &block) - popen(args, "wb", options, &block) + def self.popen_write(*args, **options) + popen(args...
false
Other
Homebrew
brew
81510165311b8ef4a59cdad02626edec291d915f.json
livecheck: remove test for livecheck_formulae
Library/Homebrew/test/livecheck/livecheck_spec.rb
@@ -145,16 +145,4 @@ .to eq("https://github.com/Homebrew/brew.git") end end - - describe "::livecheck_formulae", :needs_network do - it "checks for the latest versions of the formulae" do - allow(args).to receive(:debug?).and_return(true) - allow(args).to receive(:newer_only?).and_return(...
false
Other
Homebrew
brew
772032f18a174d2cd5982800ebc0682eb569d0e1.json
Add failing tests for `popen_write` When using `popen_write`, the expectation is to return the standard output of the child process. This expectation is evident in how `safe_popen_write` is written: ``` def self.safe_popen_write(*args, **options, &block) output = popen_write(*args, **options, &block) retur...
Library/Homebrew/test/utils/popen_spec.rb
@@ -26,11 +26,49 @@ end describe "::popen_write" do - it "with supports writing to a command's standard input" do + let(:foo) { mktmpdir/"foo" } + + before { foo.write "Foo\n" } + + it "supports writing to a command's standard input" do subject.popen_write("grep", "-q", "success") do |pipe| -...
false
Other
Homebrew
brew
24e7f55a4c046463b3f2b8ae2c0383a67897c20d.json
Create check_broken_dependents method
Library/Homebrew/upgrade.rb
@@ -120,11 +120,8 @@ def upgrade_formula(f, args:) end private_class_method :upgrade_formula - def check_installed_dependents(args:) - installed_formulae = FormulaInstaller.installed.to_a - return if installed_formulae.empty? - - already_broken_dependents = CacheStoreDatabase.use(:linkage)...
false
Other
Homebrew
brew
687c87d74d76b4b7f6264f7508f92f3521327ebb.json
formulary: use formula path when installing bottle
Library/Homebrew/formulary.rb
@@ -175,7 +175,7 @@ def initialize(bottle_name) def get_formula(spec, force_bottle: false, flags: [], **) contents = Utils::Bottles.formula_contents @bottle_filename, name: name formula = begin - Formulary.from_contents(name, @bottle_filename, contents, spec, force_bottle: force_bottle, flags:...
false
Other
Homebrew
brew
d72bdd7efe7cfc37c7feda735bbe0aa87eb5e912.json
docs/Interesting-Taps-and-Forks.md: remove unsupported taps
docs/Interesting-Taps-and-Forks.md
@@ -6,7 +6,7 @@ Homebrew has the capability to add (and remove) multiple taps to your local inst Your taps are Git repositories located at `$(brew --repository)/Library/Taps`. ## Unsupported interesting taps -* [homebrew-ffmpeg/ffmpeg](https://github.com/homebrew-ffmpeg/homebrew-ffmpeg): A tap for FFmpeg with add...
false
Other
Homebrew
brew
f2e425f27c62778fec2e5ab9ad7688fa937ecfc2.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/parallel_tests@3.1.0.rbi
@@ -1,95 +0,0 @@ -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `parallel_tests` gem. -# Please instead update this file by running `tapioca generate --exclude json`. - -# typed: true - -module ParallelTests - class << self - def bundler_enabled?; end - def delta; end - d...
true
Other
Homebrew
brew
f2e425f27c62778fec2e5ab9ad7688fa937ecfc2.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/parallel_tests@3.2.0.rbi
@@ -0,0 +1,8 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `parallel_tests` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
true
Other
Homebrew
brew
f2e425f27c62778fec2e5ab9ad7688fa937ecfc2.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -7257,10 +7257,14 @@ class Formula def deprecated_options(*args, &block); end + def deprecation_reason(*args, &block); end + def deps(*args, &block); end def desc(*args, &block); end + def disable_reason(*args, &block); end + def disabled?(*args, &block); end def downloader(*args, &block);...
true
Other
Homebrew
brew
c92c78d1af49ccc676d73605dd7cb80a886a1812.json
metafiles: copy license files with hyphens
Library/Homebrew/metafiles.rb
@@ -22,7 +22,7 @@ def list?(file) def copy?(file) file = file.downcase - return true if LICENSES.include? file.split(".").first + return true if LICENSES.include? file.split(/\.|-/).first ext = File.extname(file) file = File.basename(file, ext) if EXTENSIONS.include?(ext)
false
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/colorize@0.8.1.rbi
@@ -0,0 +1,40 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `colorize` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +module Colorize +end + +module Colorize::ClassMethods + def color_codes; end + def color_matrix(_ = T.unsafe(nil)); en...
true
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi
@@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `elftools` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -12,7 +12,9 @@ module ELFTools::Consta...
true
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi
@@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `patchelf` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -32,13 +32,17 @@ module PatchELF::Logg...
true
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/spoom@1.0.4.rbi
@@ -0,0 +1,414 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `spoom` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +module Spoom +end + +module Spoom::Cli +end + +module Spoom::Cli::Commands +end + +class Spoom::Cli::Commands::Base < ::Th...
true
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.4.rbi
@@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `tapioca` gem. -# Please instead update this file by running `tapioca sync --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -104,11 +104,11 @@ class Tapioca::Compilers...
true
Other
Homebrew
brew
360968285c71e5c5e99fffadd585ec45415eedcf.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -6480,7 +6480,6 @@ class Date def to_default_s(); end def to_formatted_s(format=T.unsafe(nil)); end - DATE_FORMATS = ::T.let(nil, ::T.untyped) end @@ -6734,7 +6733,6 @@ end class Dir def self.exists?(_); end - end module Docile @@ -6903,7 +6901,6 @@ class ERB def def_method(mod, methodname...
true
Other
Homebrew
brew
f5cd15fa1893d58676a005c54dcaded3cdf61729.json
add odeprecated comments
Library/Homebrew/formula.rb
@@ -2780,6 +2780,9 @@ def pour_bottle?(&block) # will not be deprecated. # <pre>deprecate! date: "2020-08-27", because: "it is no longer maintained"</pre> def deprecate!(date: nil, because: nil) + # TODO: enable for next major/minor release + # odeprecated "`deprecate!` without a reason", "`dep...
false
Other
Homebrew
brew
669ae5c0771e037454c21f345e47f8384427051a.json
dev-cmd/sh.rb: fix usage banner
Library/Homebrew/dev-cmd/sh.rb
@@ -10,7 +10,7 @@ module Homebrew def sh_args Homebrew::CLI::Parser.new do usage_banner <<~EOS - `sh` [<options>] [<script>] + `sh` [<options>] [<SCRIPT>] Homebrew build environment that uses years-battle-hardened build logic to help your `./configure && make && make ins...
true
Other
Homebrew
brew
669ae5c0771e037454c21f345e47f8384427051a.json
dev-cmd/sh.rb: fix usage banner
docs/Manpage.md
@@ -1106,7 +1106,7 @@ Run a Ruby instance with Homebrew's libraries loaded, e.g. * `-e`: Execute the given text string as a script. -### `sh` [*`options`*] [<script>] +### `sh` [*`options`*] [*`SCRIPT`*] Homebrew build environment that uses years-battle-hardened build logic to help your `./configure && make &...
true
Other
Homebrew
brew
669ae5c0771e037454c21f345e47f8384427051a.json
dev-cmd/sh.rb: fix usage banner
manpages/brew.1
@@ -1522,5 +1522,851 @@ Load a library using \fBrequire\fR\. \fB\-e\fR Execute the given text string as a script\. . -.SS "\fBsh\fR [\fIoptions\fR] [<script>] <p>Homebrew build environment that uses years\-battle\-hardened build logic to help your \fB\./configure && make && make install\fR and even your \fBgem insta...
true
Other
Homebrew
brew
ee5a2017c75ffeff75b4e768c4fb242339e326cd.json
dev-cmd/sh.rb: update usage banner
Library/Homebrew/dev-cmd/sh.rb
@@ -10,7 +10,7 @@ module Homebrew def sh_args Homebrew::CLI::Parser.new do usage_banner <<~EOS - `sh` [<options>] [<commands>] + `sh` [<options>] [<script>] Homebrew build environment that uses years-battle-hardened build logic to help your `./configure && make && make i...
true
Other
Homebrew
brew
ee5a2017c75ffeff75b4e768c4fb242339e326cd.json
dev-cmd/sh.rb: update usage banner
docs/Manpage.md
@@ -1106,7 +1106,7 @@ Run a Ruby instance with Homebrew's libraries loaded, e.g. * `-e`: Execute the given text string as a script. -### `sh` [*`options`*] [*`commands`*] +### `sh` [*`options`*] [<script>] Homebrew build environment that uses years-battle-hardened build logic to help your `./configure && make...
true
Other
Homebrew
brew
ee5a2017c75ffeff75b4e768c4fb242339e326cd.json
dev-cmd/sh.rb: update usage banner
manpages/brew.1
@@ -1522,851 +1522,5 @@ Load a library using \fBrequire\fR\. \fB\-e\fR Execute the given text string as a script\. . -.SS "\fBsh\fR [\fIoptions\fR] [\fIcommands\fR]" -Homebrew build environment that uses years\-battle\-hardened build logic to help your \fB\./configure && make && make install\fR and even your \fBgem ...
true
Other
Homebrew
brew
6f311852d6a80e36b1dada514869dc3bd28b98e0.json
Fix unvendored RubyGems - Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in future. - Run `brew doctor` in GitHub Actions `tests.yml` after installing RubyGems to catch this in future. - Ignore relevant RubyGems (and fix outdated comments) - Never auto-`require` RubyGems that aren't vendored. -...
.github/workflows/tests.yml
@@ -32,23 +32,16 @@ jobs: - run: brew config - - run: brew doctor - - - name: Cache Bundler RubyGems - id: cache - uses: actions/cache@v1 - with: - path: ${{ steps.set-up-homebrew.outputs.gems-path }} - key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-has...
true
Other
Homebrew
brew
6f311852d6a80e36b1dada514869dc3bd28b98e0.json
Fix unvendored RubyGems - Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in future. - Run `brew doctor` in GitHub Actions `tests.yml` after installing RubyGems to catch this in future. - Ignore relevant RubyGems (and fix outdated comments) - Never auto-`require` RubyGems that aren't vendored. -...
.gitignore
@@ -133,18 +133,17 @@ **/vendor/bundle/ruby/*/gems/ruby-progressbar-*/ **/vendor/bundle/ruby/*/gems/simplecov-*/ **/vendor/bundle/ruby/*/gems/simplecov-html-*/ +**/vendor/bundle/ruby/*/gems/sorbet-*/ +**/vendor/bundle/ruby/*/gems/sorbet-runtime-*/ +**/vendor/bundle/ruby/*/gems/spoom-*/ **/vendor/bundle/ruby/*/gems/...
true
Other
Homebrew
brew
6f311852d6a80e36b1dada514869dc3bd28b98e0.json
Fix unvendored RubyGems - Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in future. - Run `brew doctor` in GitHub Actions `tests.yml` after installing RubyGems to catch this in future. - Ignore relevant RubyGems (and fix outdated comments) - Never auto-`require` RubyGems that aren't vendored. -...
Library/Homebrew/Gemfile
@@ -2,20 +2,20 @@ source "https://rubygems.org" -# installed gems -gem "byebug" +# installed gems (should all be require: false) +gem "byebug", require: false gem "codecov", require: false -gem "parallel_tests" +gem "parallel_tests", require: false gem "ronn", require: false -gem "rspec" +gem "rspec", require: f...
true
Other
Homebrew
brew
6f311852d6a80e36b1dada514869dc3bd28b98e0.json
Fix unvendored RubyGems - Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in future. - Run `brew doctor` in GitHub Actions `tests.yml` after installing RubyGems to catch this in future. - Ignore relevant RubyGems (and fix outdated comments) - Never auto-`require` RubyGems that aren't vendored. -...
Library/Homebrew/vendor/bundle/bundler/setup.rb
@@ -22,6 +22,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.19.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/codecov-0.2.8/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/coderay-1.1.3/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/co...
true
Other
Homebrew
brew
6e3c272e44c1e8e9490154cce59b59c9ba59e285.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/json@2.3.1.rbi
@@ -0,0 +1,94 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `json` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +class Class < ::Module + def json_creatable?; end +end + +module JSON + + private + + def dump(obj, anIO = T.unsafe(nil),...
true
Other
Homebrew
brew
6e3c272e44c1e8e9490154cce59b59c9ba59e285.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -3019,6 +3019,28 @@ class Binding def irb(); end end +class Bottle + def cached_download(*args, &block); end + + def clear_cache(*args, &block); end + + def fetch(*args, &block); end + + def url(*args, &block); end + + def verify_download_integrity(*args, &block); end +end + +class BottleSpecification + ...
true
Other
Homebrew
brew
c5f3afa992320c0a9a7b416afd3d319e2fc59559.json
workflows/tapioca: remove unnecessary steps.
.github/workflows/tapioca.yml
@@ -21,13 +21,6 @@ jobs: with: username: BrewTestBot - - name: Set up Ruby - uses: actions/setup-ruby@main - with: - ruby-version: '2.6' - - name: Install RubyGems - run: brew typecheck --update-definitions - - name: Update Tapioca definitions ...
false
Other
Homebrew
brew
2468fb127df506ac70a77ea83796f85183a4b8a7.json
dev-cmd: add brew typecheck cmd This PR adds a new `brew typecheck` developer command which checks for typechecking errors in the current code with Sorbet.
Library/Homebrew/dev-cmd/typecheck.rb
@@ -0,0 +1,62 @@ +# frozen_string_literal: true + +require "cli/parser" + +module Homebrew + module_function + + def typecheck_args + Homebrew::CLI::Parser.new do + usage_banner <<~EOS + `typecheck` + + Check for typechecking errors using Sorbet. + EOS + switch "-q", "--quiet", + ...
true
Other
Homebrew
brew
2468fb127df506ac70a77ea83796f85183a4b8a7.json
dev-cmd: add brew typecheck cmd This PR adds a new `brew typecheck` developer command which checks for typechecking errors in the current code with Sorbet.
Library/Homebrew/test/dev-cmd/typecheck_spec.rb
@@ -0,0 +1,7 @@ +# frozen_string_literal: true + +require "cmd/shared_examples/args_parse" + +describe "Homebrew.typecheck_args" do + it_behaves_like "parseable arguments" +end
true
Other
Homebrew
brew
2468fb127df506ac70a77ea83796f85183a4b8a7.json
dev-cmd: add brew typecheck cmd This PR adds a new `brew typecheck` developer command which checks for typechecking errors in the current code with Sorbet.
completions/internal_commands_list.txt
@@ -81,6 +81,7 @@ tap-info tap-new test tests +typecheck uninstal uninstall unlink
true
Other
Homebrew
brew
2468fb127df506ac70a77ea83796f85183a4b8a7.json
dev-cmd: add brew typecheck cmd This PR adds a new `brew typecheck` developer command which checks for typechecking errors in the current code with Sorbet.
docs/Manpage.md
@@ -1178,6 +1178,23 @@ Run Homebrew's unit and integration tests. * `--seed`: Randomise tests with the specified *`value`* instead of a random seed. +### `typecheck` + +Check for typechecking errors using Sorbet. + +* `-q`, `--quiet`: + Silence all non-critical errors. +* `--update-definitions`: + Update Tapioc...
true
Other
Homebrew
brew
2468fb127df506ac70a77ea83796f85183a4b8a7.json
dev-cmd: add brew typecheck cmd This PR adds a new `brew typecheck` developer command which checks for typechecking errors in the current code with Sorbet.
manpages/brew.1
@@ -1610,6 +1610,33 @@ Run only \fItest_script\fR\fB_spec\.rb\fR\. Appending \fB:\fR\fIline_number\fR w \fB\-\-seed\fR Randomise tests with the specified \fIvalue\fR instead of a random seed\. . +.SS "\fBtypecheck\fR" +Check for typechecking errors using Sorbet\. +. +.TP +\fB\-q\fR, \fB\-\-quiet\fR +Silence all non\...
true
Other
Homebrew
brew
7c1af56e43929ec004b02632c401be81b802433a.json
metafiles: copy all license files
Library/Homebrew/metafiles.rb
@@ -4,15 +4,13 @@ # # @api private module Metafiles + LICENSES = Set.new(%w[copying copyright license licence]).freeze # https://github.com/github/markup#markups EXTENSIONS = Set.new(%w[ .adoc .asc .asciidoc .creole .html .markdown .md .mdown .mediawiki .mkdn ...
false
Other
Homebrew
brew
12070b4c0fd0f41151c10ad2322168e7aa30fa9e.json
upgrade: fix undefined method Add the `Homebrew.` module prefix to fix an undefined method. Also, use `uniq` to deduplicate the list of broken dependents.
Library/Homebrew/upgrade.rb
@@ -170,6 +170,7 @@ def check_installed_dependents(args:) oh1 "Checking for dependents of upgraded formulae..." unless args.dry_run? broken_dependents = CacheStoreDatabase.use(:linkage) do |db| installed_formulae.flat_map(&:runtime_installed_formula_dependents) + .uniq ...
false
Other
Homebrew
brew
9ae020834736dab32fc12d3a9e5b2e09352ca12f.json
workflows: improve scheduled behaviour.
.github/workflows/spdx.yml
@@ -27,26 +27,38 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git fetch origin master - git reset origin/master - git checkout -B spdx-update + git fetch origin + + BRANCH="s...
true
Other
Homebrew
brew
9ae020834736dab32fc12d3a9e5b2e09352ca12f.json
workflows: improve scheduled behaviour.
.github/workflows/tapioca.yml
@@ -35,9 +35,18 @@ jobs: - name: Update Tapioca definitions id: update run: | - git fetch origin master - git reset origin/master - git checkout -B tapioca-update + git fetch origin + + BRANCH="tapioca-update" + echo "::set-output name=branc...
true
Other
Homebrew
brew
3fb7c3a2f3825984ed3bc1da0595864404338bf6.json
Use installed cask file for `brew cask zap`.
Library/Homebrew/cask/cmd/uninstall.rb
@@ -40,11 +40,13 @@ def self.uninstall_casks(*casks, binaries: nil, force: false, verbose: false) casks.each do |cask| odebug "Uninstalling Cask #{cask}" - raise CaskNotInstalledError, cask unless cask.installed? || force - - if cask.installed? && !cask.installed_caskfile.nil? - ...
true
Other
Homebrew
brew
3fb7c3a2f3825984ed3bc1da0595864404338bf6.json
Use installed cask file for `brew cask zap`.
Library/Homebrew/cask/cmd/zap.rb
@@ -28,7 +28,14 @@ def run casks.each do |cask| odebug "Zapping Cask #{cask}" - raise CaskNotInstalledError, cask unless cask.installed? || args.force? + if cask.installed? + if installed_caskfile = cask.installed_caskfile + # Use the same cask file that w...
true
Other
Homebrew
brew
3c55d8e528a2eed012a7b73bb46839bbe44d6aa0.json
docs: update license documentation
Library/Homebrew/formula.rb
@@ -2219,19 +2219,26 @@ def method_added(method) # @!attribute [w] # The SPDX ID of the open-source license that the formula uses. # Shows when running `brew info`. - # Use `:any`, `:all` or `:with` to describe complex license expressions. - # `:any` should be used when the user can choose which li...
true
Other
Homebrew
brew
3c55d8e528a2eed012a7b73bb46839bbe44d6aa0.json
docs: update license documentation
docs/Formula-Cookbook.md
@@ -95,13 +95,9 @@ We only accept formulae that use a [Debian Free Software Guidelines license](htt Use the license identifier from the [SPDX License List](https://spdx.org/licenses/) e.g. `license "BSD-2-Clause"`, or use `license :public_domain` for public domain software. -If the software is available under mult...
true
Other
Homebrew
brew
3c55d8e528a2eed012a7b73bb46839bbe44d6aa0.json
docs: update license documentation
docs/License-Guidelines.md
@@ -0,0 +1,110 @@ +# License Guidelines + +We only accept formulae that use a [Debian Free Software Guidelines license](https://wiki.debian.org/DFSGLicenses) or are released into the public domain following [DFSG Guidelines on Public Domain software](https://wiki.debian.org/DFSGLicenses#Public_Domain). + +## Specifying...
true
Other
Homebrew
brew
3c55d8e528a2eed012a7b73bb46839bbe44d6aa0.json
docs: update license documentation
docs/README.md
@@ -37,6 +37,7 @@ - [How To Open A Pull Request (and get it merged)](How-To-Open-a-Homebrew-Pull-Request.md) - [Formula Cookbook](Formula-Cookbook.md) - [Acceptable Formulae](Acceptable-Formulae.md) +- [License Guidelines](License-Guidelines.md) - [Formulae Versions](Versions.md) - [Node for Formula Authors](Node-...
true
Other
Homebrew
brew
2bdf0d60683111c96cb96d7cccfee4cf8ae8b372.json
spec_helper: increase tests timeout. When GitHub Actions is congested some tests can take longer than this (particularly as we're running in parallel). Globally double the time we allow for all tests.
Library/Homebrew/test/cmd/reinstall_spec.rb
@@ -7,7 +7,7 @@ it_behaves_like "parseable arguments" end -describe "brew reinstall", :integration_test, timeout: 120 do +describe "brew reinstall", :integration_test do it "reinstalls a Formula" do install_test_formula "testball" foo_dir = HOMEBREW_CELLAR/"testball/0.1/bin"
true
Other
Homebrew
brew
2bdf0d60683111c96cb96d7cccfee4cf8ae8b372.json
spec_helper: increase tests timeout. When GitHub Actions is congested some tests can take longer than this (particularly as we're running in parallel). Globally double the time we allow for all tests.
Library/Homebrew/test/dev-cmd/test_spec.rb
@@ -7,7 +7,7 @@ end # randomly segfaults on Linux with portable-ruby. -describe "brew test", :integration_test, :needs_macos, timeout: 120 do +describe "brew test", :integration_test, :needs_macos do it "tests a given Formula" do install_test_formula "testball", <<~'RUBY' test do
true
Other
Homebrew
brew
2bdf0d60683111c96cb96d7cccfee4cf8ae8b372.json
spec_helper: increase tests timeout. When GitHub Actions is congested some tests can take longer than this (particularly as we're running in parallel). Globally double the time we allow for all tests.
Library/Homebrew/test/spec_helper.rb
@@ -181,7 +181,7 @@ def find_files end begin - timeout = example.metadata.fetch(:timeout, 60) + timeout = example.metadata.fetch(:timeout, 120) inner_timeout = nil Timeout.timeout(timeout) do example.run
true
Other
Homebrew
brew
9dbe0e7b027962558cb5e194a4695939c29edae2.json
README: update maintainer list
README.md
@@ -58,7 +58,7 @@ Homebrew's [Technical Steering Committee](https://docs.brew.sh/Homebrew-Governan Homebrew/brew's Linux maintainers are [Michka Popoff](https://github.com/imichka), [Shaun Jackman](https://github.com/sjackman), [Dawid Dziurla](https://github.com/dawidd6), [Issy Long](https://github.com/issyl0) and [...
true
Other
Homebrew
brew
9dbe0e7b027962558cb5e194a4695939c29edae2.json
README: update maintainer list
docs/Manpage.md
@@ -1691,7 +1691,7 @@ Homebrew's Technical Steering Committee is Michka Popoff, FX Coudert, Markus Rei Homebrew/brew's Linux maintainers are Michka Popoff, Shaun Jackman, Dawid Dziurla, Issy Long and Maxim Belkin. -Homebrew's other current maintainers are Claudia Pellegrino, Zach Auten, Rui Chen, Vitor Galvao, Cal...
true
Other
Homebrew
brew
9dbe0e7b027962558cb5e194a4695939c29edae2.json
README: update maintainer list
manpages/brew.1
@@ -2319,7 +2319,7 @@ Homebrew\'s Technical Steering Committee is Michka Popoff, FX Coudert, Markus Re Homebrew/brew\'s Linux maintainers are Michka Popoff, Shaun Jackman, Dawid Dziurla, Issy Long and Maxim Belkin\. . .P -Homebrew\'s other current maintainers are Claudia Pellegrino, Zach Auten, Rui Chen, Vitor Galva...
true
Other
Homebrew
brew
21c502e05fca16948329c600fcb94fcc74243e0b.json
Remove unused metadata from `bundle` spec.
Library/Homebrew/test/cmd/bundle_spec.rb
@@ -1,6 +1,6 @@ # frozen_string_literal: true -describe "brew bundle", :integration_test, :needs_test_cmd_taps do +describe "brew bundle", :integration_test do describe "check" do it "checks if a Brewfile's dependencies are satisfied", :needs_network do setup_remote_tap "homebrew/bundle"
true
Other
Homebrew
brew
21c502e05fca16948329c600fcb94fcc74243e0b.json
Remove unused metadata from `bundle` spec.
Library/Homebrew/test/spec_helper.rb
@@ -97,10 +97,6 @@ skip "Requires compatibility layer." if ENV["HOMEBREW_NO_COMPAT"] end - config.before(:each, :needs_official_cmd_taps) do - skip "Needs official command Taps." unless ENV["HOMEBREW_TEST_OFFICIAL_CMD_TAPS"] - end - config.before(:each, :needs_linux) do skip "Not on Linux." unles...
true
Other
Homebrew
brew
fc0ae875e35769ee0459ee4788727e5935356708.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -13172,7 +13172,6 @@ class Object HOMEBREW_DEFAULT_CACHE = ::T.let(nil, ::T.untyped) HOMEBREW_DEFAULT_LOGS = ::T.let(nil, ::T.untyped) HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped) - HOMEBREW_HELP = ::T.let(nil, ::T.untyped) HOMEBREW_LIBRARY_PATH = ::T.let(nil, ::T.untyped) HOMEBREW_TAP_CASK_REGE...
false
Other
Homebrew
brew
0cfb3982f28db801f03b4d53f1297aff0a54d284.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/gems/codecov@0.2.6.rbi
@@ -1,7 +0,0 @@ -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `codecov` gem. -# Please instead update this file by running `tapioca sync --exclude json`. - -# typed: true - -
true
Other
Homebrew
brew
0cfb3982f28db801f03b4d53f1297aff0a54d284.json
sorbet: update RBI files using Tapioca. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
@@ -5464,6 +5464,22 @@ class Cask::Audit def strict?(); end end +class Cask::Auditor + def audit_appcast?(); end + + def audit_download?(); end + + def audit_new_cask?(); end + + def audit_online?(); end + + def audit_strict?(); end + + def audit_token_conflicts?(); end + + def quarantine?(); end +end + c...
true
Other
Homebrew
brew
2263b0702fc115ef18781d3601e0b0f1fa4a118b.json
readme: Update maintainer list
README.md
@@ -58,7 +58,7 @@ Homebrew's [Technical Steering Committee](https://docs.brew.sh/Homebrew-Governan Homebrew/brew's Linux maintainers are [Michka Popoff](https://github.com/imichka), [Shaun Jackman](https://github.com/sjackman), [Dawid Dziurla](https://github.com/dawidd6), [Issy Long](https://github.com/issyl0) and [...
true
Other
Homebrew
brew
2263b0702fc115ef18781d3601e0b0f1fa4a118b.json
readme: Update maintainer list
docs/Manpage.md
@@ -1691,7 +1691,7 @@ Homebrew's Technical Steering Committee is Michka Popoff, FX Coudert, Markus Rei Homebrew/brew's Linux maintainers are Michka Popoff, Shaun Jackman, Dawid Dziurla, Issy Long and Maxim Belkin. -Homebrew's other current maintainers are Claudia Pellegrino, Zach Auten, Rui Chen, Vitor Galvao, Cal...
true
Other
Homebrew
brew
2263b0702fc115ef18781d3601e0b0f1fa4a118b.json
readme: Update maintainer list
manpages/brew.1
@@ -2319,7 +2319,7 @@ Homebrew\'s Technical Steering Committee is Michka Popoff, FX Coudert, Markus Re Homebrew/brew\'s Linux maintainers are Michka Popoff, Shaun Jackman, Dawid Dziurla, Issy Long and Maxim Belkin\. . .P -Homebrew\'s other current maintainers are Claudia Pellegrino, Zach Auten, Rui Chen, Vitor Galva...
true