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 | ddeadaefce845256be3371c0d914f73274586376.json | dev-cmd/pr-pull: require unzip to be installed | Library/Homebrew/dev-cmd/pr-pull.rb | @@ -335,6 +335,9 @@ def download_artifact(url, dir, pr)
def pr_pull
args = pr_pull_args.parse
+ # Needed when extracting the CI artifact.
+ ensure_executable!("unzip", reason: "extracting CI artifacts")
+
workflows = args.workflows.presence || ["tests.yml"]
artifact = args.artifact || "bottles... | false |
Other | Homebrew | brew | da6650348fb3bc6046e56f68dfe7bb9198319e25.json | Update RBI files for rubocop-rspec. | Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.9.0.rbi | @@ -112,6 +112,16 @@ end
RuboCop::Cop::RSpec::Be::MSG = T.let(T.unsafe(nil), String)
+class RuboCop::Cop::RSpec::BeEq < ::RuboCop::Cop::RSpec::Base
+ extend ::RuboCop::Cop::AutoCorrector
+
+ def eq_type_with_identity?(param0 = T.unsafe(nil)); end
+ def on_send(node); end
+end
+
+RuboCop::Cop::RSpec::BeEq::MSG =... | false |
Other | Homebrew | brew | dd898e58b836c0d39b705a5043dd90294d7543c1.json | test/keg_relocate/grep_spec.rb: add new unit tests | Library/Homebrew/test/keg_relocate/grep_spec.rb | @@ -0,0 +1,58 @@
+# typed: false
+# frozen_string_literal: true
+
+require "keg_relocate"
+
+describe Keg do
+ subject(:keg) { described_class.new(HOMEBREW_CELLAR/"foo/1.0.0") }
+
+ let(:dir) { HOMEBREW_CELLAR/"foo/1.0.0" }
+ let(:text_file) { dir/"file.txt" }
+ let(:binary_file) { dir/"file.bin" }
+
+ before do
+... | false |
Other | Homebrew | brew | 16bdd423089f5fa307b4b87a8868bd4598237fdf.json | cask/dsl/version_spec: remove deprecated specs.
No idea why these didn't fail before now? | Library/Homebrew/test/cask/dsl/version_spec.rb | @@ -170,22 +170,6 @@
"1.2.3,abc" => "abc"
end
- describe "#before_colon" do
- include_examples "version expectations hash", :before_colon,
- "1.2.3" => "1.2.3",
- "1.2.3:" => "1.2.3",
- ":abc" => "",
- ... | false |
Other | Homebrew | brew | 20f2b14c38dcfb1962d6cb41f4beabd7396e4eea.json | formula: remove OnOS deprecation comment.
We can't actually remove this as we still need it indefinitely in e.g. `def caveats`. | Library/Homebrew/formula.rb | @@ -64,7 +64,7 @@ class Formula
include Utils::Shebang
include Utils::Shell
include Context
- include OnOS # TODO: 3.4.0: odeprecate OnOS usage in instance methods.
+ include OnOS
extend Forwardable
extend Cachable
extend Predicable | false |
Other | Homebrew | brew | e49661532f999464d018833af5257c4243f8a913.json | Update RBI files for json_schemer. | Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.19.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `json_schemer` gem.
# Please instead update this file by running `bin/tapioca gem json_schemer`.
-# typed: true
-
module JSONSchemer
class << self
def schema(schema, **options); end | false |
Other | Homebrew | brew | 9ad3a9cefe8e7dd592cd11b743dc2c45cc414363.json | dev-cmd/bump: Tell the user why we didn't bump a package
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com> | Library/Homebrew/dev-cmd/bump.rb | @@ -269,6 +269,14 @@ def retrieve_and_display_info_and_open_pr(formula_or_cask, name, repositories, a
EOS
return unless args.open_pr?
+
+ if repology_latest > current_version &&
+ repology_latest > livecheck_latest &&
+ livecheck_strategy == "GithubLatest"
+ puts "#{title_name} was not b... | false |
Other | Homebrew | brew | 273c4270691915143abfd1da3b25ba66f2f46a58.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.6.4.rbi | @@ -1,1240 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `tapioca` gem.
-# Please instead update this file by running `bin/tapioca gem tapioca`.
-
-class ActiveRecordColumnTypeHelper
- def initialize(*args, &blk); end
-
- sig { params(column_name: String... | true |
Other | Homebrew | brew | 273c4270691915143abfd1da3b25ba66f2f46a58.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.0.rbi | @@ -0,0 +1,1676 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `tapioca` gem.
+# Please instead update this file by running `bin/tapioca gem tapioca`.
+
+class Module
+ include ::ActiveSupport::Dependencies::ModuleConstMissing
+
+ def autoload(const_name, path... | true |
Other | Homebrew | brew | 273c4270691915143abfd1da3b25ba66f2f46a58.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -12,12 +12,6 @@ class AbstractDownloadStrategy
extend ::T::Private::Methods::SingletonMethodHooks
end
-class ActiveRecordColumnTypeHelper
- extend ::T::Sig
- extend ::T::Private::Methods::MethodHooks
- extend ::T::Private::Methods::SingletonMethodHooks
-end
-
class ActiveSupport::Deprecation
def self.de... | true |
Other | Homebrew | brew | cbac7a30637fc35e09dcd4530dfa105c52db0119.json | brew: keep DBus session address in env
Otherwise `brew deps --graph` will fail to launch Firefox on Linux.
Fixes https://github.com/Homebrew/brew/issues/12881. | Library/Homebrew/utils.rb | @@ -372,7 +372,9 @@ def exec_browser(*args)
ENV["DISPLAY"] = Homebrew::EnvConfig.display
- safe_system(browser, *args)
+ with_env(DBUS_SESSION_BUS_ADDRESS: ENV["HOMEBREW_DBUS_SESSION_BUS_ADDRESS"]) do
+ safe_system(browser, *args)
+ end
end
# GZips the given paths, and returns the gzipped... | false |
Other | Homebrew | brew | 481934b4ee8935d9b658f10be7710475eb13826e.json | Update RBI files for simplecov_json_formatter. | Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov_json_formatter` gem.
# Please instead update this file by running `bin/tapioca gem simplecov_json_formatter`.
-# typed: true
-
module SimpleCov
extend ::SimpleCov::Configuration
@@ -... | false |
Other | Homebrew | brew | 68ab628778fff2f2c37ca69f05e781a15095df41.json | Update RBI files for rubocop-ast. | Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.15.2.rbi | @@ -1400,6 +1400,7 @@ RuboCop::AST::NodePattern::Sets::SET_BRANCH_REF_TAG = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_CALLER_CALLER_LOCATIONS = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_CALL_RUN = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_CAPTURE2_CAPTUR... | true |
Other | Homebrew | brew | 68ab628778fff2f2c37ca69f05e781a15095df41.json | Update RBI files for rubocop-ast. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -5037,10 +5037,8 @@ end
module RuboCop::AST::NodePattern::Sets
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
- SET_CHANGE_COLUMN_EXECUTE = ::T.let(nil, ::T.untyped)
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
- SET_RO... | true |
Other | Homebrew | brew | 2448757557625c77d20476c7c6faf75df4974dfd.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/gems/i18n@1.10.0.rbi | @@ -79,6 +79,7 @@ module I18n::Backend::Base
def pluralization_key(entry, count); end
def pluralize(locale, entry, count); end
def resolve(locale, object, subject, options = T.unsafe(nil)); end
+ def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
def subtrees?; end
def translate_lo... | true |
Other | Homebrew | brew | 2448757557625c77d20476c7c6faf75df4974dfd.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3498,13 +3498,7 @@ end
Net::HTTPFatalErrorCode = Net::HTTPClientError
-class Net::HTTPInformation
-end
-
-Net::HTTPInformationCode::EXCEPTION_TYPE = Net::HTTPError
-
-class Net::HTTPInformation
-end
+Net::HTTPInformationCode = Net::HTTPInformation
class Net::HTTPLoopDetected
HAS_BODY = ::T.let(nil, ::T.u... | true |
Other | Homebrew | brew | 5da9aa752fc982147ba3ba74fb11f7cf79c102c3.json | Update RBI files for regexp_parser. | Library/Homebrew/sorbet/rbi/gems/regexp_parser@2.2.1.rbi | @@ -760,6 +760,7 @@ class Regexp::Scanner
class << self
def long_prop_map; end
+ def parse_prop_map(name); end
def scan(input_object, options: T.unsafe(nil), &block); end
def short_prop_map; end
end
@@ -879,9 +880,12 @@ module Regexp::Syntax::Token::Backreference; end
Regexp::Syntax::Token::B... | false |
Other | Homebrew | brew | b9024d27881943a028cf2ca13c80f5caeea3ff16.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.6.rbi | @@ -1242,7 +1242,7 @@ class ActiveSupport::ExecutionWrapper
def active?; end
def inherited(other); end
def register_hook(hook, outer: T.unsafe(nil)); end
- def run!; end
+ def run!(reset: T.unsafe(nil)); end
def to_complete(*args, &block); end
def to_run(*args, &block); end
def wrap;... | false |
Other | Homebrew | brew | 02cacae0c7189d0af298f0404604f45160eba4c4.json | Update RBI files for unparser. | Library/Homebrew/sorbet/rbi/gems/unparser@0.6.4.rbi | @@ -797,6 +797,12 @@ class Unparser::Emitter::Defined < ::Unparser::Emitter
def subject; end
end
+class Unparser::Emitter::FindPattern < ::Unparser::Emitter
+ private
+
+ def dispatch; end
+end
+
class Unparser::Emitter::FlipFlop < ::Unparser::Emitter
def symbol_name; end
@@ -1059,7 +1065,19 @@ class Unpa... | false |
Other | Homebrew | brew | 440adcbec0f8a725590a830c3efa7dfa8a745626.json | linkage: expand check to dylibs and bundles | Library/Homebrew/linkage_checker.rb | @@ -32,7 +32,7 @@ def initialize(keg, formula = nil, cache_db:, rebuild_cache: false)
@unnecessary_deps = []
@unwanted_system_dylibs = []
@version_conflict_deps = []
- @executables_missing_rpaths = []
+ @files_missing_rpaths = []
check_dylibs(rebuild_cache: rebuild_cache)
end
@@ -47,7 +47... | false |
Other | Homebrew | brew | dee3638653067fd569535af798e3a49293cc2f3d.json | os/mac/{keg,mach}: fix cache invalidation
We were rewriting dylib IDs and install names using `MachO::Tools`,
which doesn't update the state of the file in memory. This leads to
those changes being undone when we call `delete_rpath`.
We fix this by making sure the state of the file in memory always
matches the state ... | Library/Homebrew/os/mac/keg.rb | @@ -7,7 +7,7 @@ def change_dylib_id(id, file)
@require_relocation = true
odebug "Changing dylib ID of #{file}\n from #{file.dylib_id}\n to #{id}"
- MachO::Tools.change_dylib_id(file, id, strict: false)
+ file.change_dylib_id(id, strict: false)
apply_ad_hoc_signature(file)
rescue MachO::Mac... | true |
Other | Homebrew | brew | dee3638653067fd569535af798e3a49293cc2f3d.json | os/mac/{keg,mach}: fix cache invalidation
We were rewriting dylib IDs and install names using `MachO::Tools`,
which doesn't update the state of the file in memory. This leads to
those changes being undone when we call `delete_rpath`.
We fix this by making sure the state of the file in memory always
matches the state ... | Library/Homebrew/os/mac/mach.rb | @@ -64,6 +64,21 @@ def delete_rpath(rpath, **options)
macho.write!
end
+ def change_rpath(old, new, **options)
+ macho.change_rpath(old, new, options)
+ macho.write!
+ end
+
+ def change_dylib_id(id, **options)
+ macho.change_dylib_id(id, options)
+ macho.write!
+ end
+
+ def change_install_n... | true |
Other | Homebrew | brew | 9084cd21b167ee19f96cfb31911fb74f210584c9.json | Installation.md: add section for non-interactive installation | docs/Installation.md | @@ -63,6 +63,10 @@ chmod -R go-w "$(brew --prefix)/share/zsh"
Create a Homebrew installation wherever you extract the tarball. Whichever `brew` command is called is where the packages will be installed. You can use this as you see fit, e.g. to have a system set of libs in the default prefix and tweaked formulae for ... | false |
Other | Homebrew | brew | edf832749784a836e0a7911a3ea5eeef22f525a5.json | keg_relocate.rb: add new methods | Library/Homebrew/keg_relocate.rb | @@ -8,6 +8,7 @@ class Keg
LIBRARY_PLACEHOLDER = "@@HOMEBREW_LIBRARY@@"
PERL_PLACEHOLDER = "@@HOMEBREW_PERL@@"
JAVA_PLACEHOLDER = "@@HOMEBREW_JAVA@@"
+ BINARY_NULL_CHARACTER = "\x00"
class Relocation
extend T::Sig
@@ -163,6 +164,49 @@ def replace_text_in_files(relocation, files: nil)
changed_fil... | false |
Other | Homebrew | brew | 6c9c3c607c0585e5361e272e976f3895f87263a4.json | formula_auditor: disallow external tap dependencies in core
Occasionally, we get PRs that attempt to add a dependency on a formula
in an external tap in homebrew/core (e.g. Homebrew/homebrew-core#94791).
We don't actually have an audit that disallows that. We should have one. | Library/Homebrew/formula_auditor.rb | @@ -289,6 +289,13 @@ def audit_deps
next unless @core_tap
+ unless dep_f.tap.core_tap?
+ problem <<~EOS
+ Dependency '#{dep.name}' is not in homebrew/core. Formulae in homebrew/core
+ should not have dependencies in external taps.
+ EOS
+ ... | false |
Other | Homebrew | brew | 8f901aaf98c7413764ffc47d16bc3cf8f7dc5674.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.12.rbi | @@ -313,6 +313,43 @@ class RBI::File
def transformed_string; end
end
+class RBI::Formatter
+ sig { params(add_sig_templates: T::Boolean, group_nodes: T::Boolean, max_line_length: T.nilable(Integer), nest_singleton_methods: T::Boolean, nest_non_public_methods: T::Boolean, sort_nodes: T::Boolean).void }
+ def ini... | true |
Other | Homebrew | brew | 8f901aaf98c7413764ffc47d16bc3cf8f7dc5674.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -4162,6 +4162,12 @@ class RBI::File
extend ::T::Private::Methods::SingletonMethodHooks
end
+class RBI::Formatter
+ extend ::T::Sig
+ extend ::T::Private::Methods::MethodHooks
+ extend ::T::Private::Methods::SingletonMethodHooks
+end
+
class RBI::Index
include ::T::Enumerable
end | true |
Other | Homebrew | brew | 7dbfc85b4b4044f407e21db62605e0f78ce9e8ae.json | Update RBI files for rubocop-sorbet. | Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.6.rbi | @@ -257,6 +257,13 @@ class RuboCop::Cop::Sorbet::TrueSigil < ::RuboCop::Cop::Sorbet::HasSigil
def minimum_strictness; end
end
+class RuboCop::Cop::Sorbet::TypeAliasName < ::RuboCop::Cop::Cop
+ def casgn_type_alias?(param0 = T.unsafe(nil)); end
+ def on_casgn(node); end
+end
+
+RuboCop::Cop::Sorbet::TypeAliasNam... | false |
Other | Homebrew | brew | 9924a18d77d32e448dd22722e79e6fe61748fd3e.json | Update RBI files for rspec. | Library/Homebrew/sorbet/rbi/gems/rspec-core@3.11.0.rbi | @@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
+ def current_scope; end
+ def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block);... | true |
Other | Homebrew | brew | 9924a18d77d32e448dd22722e79e6fe61748fd3e.json | Update RBI files for rspec. | Library/Homebrew/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi | @@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
+ def current_scope; end
+ def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block);... | true |
Other | Homebrew | brew | 9924a18d77d32e448dd22722e79e6fe61748fd3e.json | Update RBI files for rspec. | Library/Homebrew/sorbet/rbi/gems/rspec-mocks@3.11.0.rbi | @@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
+ def current_scope; end
+ def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block);... | true |
Other | Homebrew | brew | 9924a18d77d32e448dd22722e79e6fe61748fd3e.json | Update RBI files for rspec. | Library/Homebrew/sorbet/rbi/gems/rspec-support@3.11.0.rbi | @@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
+ def current_scope; end
+ def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block);... | true |
Other | Homebrew | brew | 9924a18d77d32e448dd22722e79e6fe61748fd3e.json | Update RBI files for rspec. | Library/Homebrew/sorbet/rbi/gems/rspec@3.11.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec` gem.
# Please instead update this file by running `bin/tapioca gem rspec`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@ -17,6 +17,8... | true |
Other | Homebrew | brew | 14399ca21ddeb9519dd9c0447502ef8a07dfe64c.json | sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -968,6 +968,8 @@ class Cask::DSL::Caveats
def reboot(*args); end
+ def requires_rosetta(*args); end
+
def unsigned_accessibility(*args); end
def zsh_path_helper(*args); end | false |
Other | Homebrew | brew | 3595127fdcf978aeef31ea3391b6135a9caf932a.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -968,6 +968,8 @@ class Cask::DSL::Caveats
def reboot(*args); end
+ def requires_rosetta(*args); end
+
def unsigned_accessibility(*args); end
def zsh_path_helper(*args); end | false |
Other | Homebrew | brew | 00f209e16ed0698f10c8b8d03204f3d7e9850ce8.json | Recommend interactive usage of `fish_add_path`
Since the `fish_add_path` command modifies a universal Fish variable
(which is automatically persisted to a file) it's unnecessary to run it
again every time a new shell is opened. | Library/Homebrew/test/utils/shell_spec.rb | @@ -98,7 +98,7 @@
ENV["SHELL"] = "/usr/local/bin/fish"
ENV["fish_user_paths"] = "/some/path"
expect(described_class.prepend_path_in_profile(path))
- .to eq("echo 'fish_add_path #{path}' >> #{shell_profile}")
+ .to eq("fish_add_path #{path}")
end
end
end | true |
Other | Homebrew | brew | 00f209e16ed0698f10c8b8d03204f3d7e9850ce8.json | Recommend interactive usage of `fish_add_path`
Since the `fish_add_path` command modifies a universal Fish variable
(which is automatically persisted to a file) it's unnecessary to run it
again every time a new shell is opened. | Library/Homebrew/utils/shell.rb | @@ -78,7 +78,7 @@ def prepend_path_in_profile(path)
when :csh, :tcsh
"echo 'setenv PATH #{csh_quote(path)}:$PATH' >> #{profile}"
when :fish
- "echo 'fish_add_path #{sh_quote(path)}' >> #{profile}"
+ "fish_add_path #{sh_quote(path)}"
end
end
| true |
Other | Homebrew | brew | 2ea918536d0eaaaeda749437cfcc0d396b8719dd.json | Update RBI files for rubocop. | Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.1.rbi | @@ -1742,10 +1742,12 @@ module RuboCop::Cop::HashShorthandSyntax
private
def enforced_shorthand_syntax; end
- def node_with_block_and_arguments?(node); end
+ def ignore_hash_shorthand_syntax?(pair_node); end
def require_hash_value?(hash_key_source, node); end
- def without_parentheses?(node); end
- def w... | false |
Other | Homebrew | brew | 2b60a99d4ac8721d2976db0fa1447f90768ebd07.json | Revert "shebang: raise error if no rewriting"
This is causing failures when attempting to rewrite shebangs during the
cleanup stage of `brew install`.
See, for example, Homebrew/homebrew-core#94323,
Homebrew/homebrew-core#94321.
This reverts commit 7e6be5eb4474ed9eaa4b8e9a5a45e3340186840c. | Library/Homebrew/test/utils/shebang_spec.rb | @@ -1,30 +0,0 @@
-# typed: false
-# frozen_string_literal: true
-
-require "utils/shebang"
-
-describe Utils::Shebang do
- let(:file) { Tempfile.new("shebang") }
-
- before do
- file.write "#!/usr/bin/python"
- file.flush
- end
-
- after { file.unlink }
-
- describe "rewrite_shebang" do
- it "rewrites a s... | true |
Other | Homebrew | brew | 2b60a99d4ac8721d2976db0fa1447f90768ebd07.json | Revert "shebang: raise error if no rewriting"
This is causing failures when attempting to rewrite shebangs during the
cleanup stage of `brew install`.
See, for example, Homebrew/homebrew-core#94323,
Homebrew/homebrew-core#94321.
This reverts commit 7e6be5eb4474ed9eaa4b8e9a5a45e3340186840c. | Library/Homebrew/utils/shebang.rb | @@ -34,17 +34,13 @@ def initialize(regex, max_length, replacement)
# @api public
sig { params(rewrite_info: RewriteInfo, paths: T::Array[T.any(String, Pathname)]).void }
def rewrite_shebang(rewrite_info, *paths)
- found = T.let(false, T::Boolean)
paths.each do |f|
f = Pathname(f)
... | true |
Other | Homebrew | brew | bc67c0552876407980c3467f402a8239c90cc3f3.json | rubocops/text: remove `setuptools` audit
This currently no longer applies, because we might sometimes need an
older `setuptools` than the one shipped with a Python formula.
This is needed for Homebrew/homebrew-core#93964. | Library/Homebrew/rubocops/text.rb | @@ -35,13 +35,6 @@ def audit_formula(node, _class_node, _parent_class_node, body_node)
problem "Formulae in homebrew/core should use OpenBLAS as the default serial linear algebra library."
end
- if method_called_ever?(body_node, :virtualenv_create) ||
- method_called_ever?... | true |
Other | Homebrew | brew | bc67c0552876407980c3467f402a8239c90cc3f3.json | rubocops/text: remove `setuptools` audit
This currently no longer applies, because we might sometimes need an
older `setuptools` than the one shipped with a Python formula.
This is needed for Homebrew/homebrew-core#93964. | Library/Homebrew/test/rubocops/text_spec.rb | @@ -144,25 +144,6 @@ def install
RUBY
end
- it "reports an offense if formula uses virtualenv and also `setuptools` resource" do
- expect_offense(<<~RUBY)
- class Foo < Formula
- url "https://brew.sh/foo-1.0.tgz"
- homepage "https://brew.sh"
-
- resource "setuptoo... | true |
Other | Homebrew | brew | 7e6be5eb4474ed9eaa4b8e9a5a45e3340186840c.json | shebang: raise error if no rewriting | Library/Homebrew/test/utils/shebang_spec.rb | @@ -0,0 +1,30 @@
+# typed: false
+# frozen_string_literal: true
+
+require "utils/shebang"
+
+describe Utils::Shebang do
+ let(:file) { Tempfile.new("shebang") }
+
+ before do
+ file.write "#!/usr/bin/python"
+ file.flush
+ end
+
+ after { file.unlink }
+
+ describe "rewrite_shebang" do
+ it "rewrites a s... | true |
Other | Homebrew | brew | 7e6be5eb4474ed9eaa4b8e9a5a45e3340186840c.json | shebang: raise error if no rewriting | Library/Homebrew/utils/shebang.rb | @@ -34,13 +34,17 @@ def initialize(regex, max_length, replacement)
# @api public
sig { params(rewrite_info: RewriteInfo, paths: T::Array[T.any(String, Pathname)]).void }
def rewrite_shebang(rewrite_info, *paths)
+ found = T.let(false, T::Boolean)
paths.each do |f|
f = Pathname(f)
... | true |
Other | Homebrew | brew | e859c991f3ec20177f0c944d030764ddfa0344ba.json | Update RBI files for rspec-mocks. | Library/Homebrew/sorbet/rbi/gems/rspec-mocks@3.10.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-mocks` gem.
# Please instead update this file by running `bin/tapioca gem rspec-mocks`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@... | false |
Other | Homebrew | brew | 65c18990d80577971d022ca19b184225f67a3efb.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.11.rbi | @@ -284,8 +284,8 @@ class RBI::File
sig { returns(T::Boolean) }
def empty?; end
- sig { params(out: T.any(IO, StringIO), indent: Integer, print_locs: T::Boolean).void }
- def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end
+ sig { params(out: T.any(IO, StringIO), indent: Inte... | true |
Other | Homebrew | brew | 65c18990d80577971d022ca19b184225f67a3efb.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.6.3.rbi | @@ -95,8 +95,8 @@ class RBI::File
sig { returns(T::Boolean) }
def empty?; end
- sig { params(out: T.any(IO, StringIO), indent: Integer, print_locs: T::Boolean).void }
- def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end
+ sig { params(out: T.any(IO, StringIO), indent: Intege... | true |
Other | Homebrew | brew | 61fdc35c2b2f7462305b5de6943fddff34d91564.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/gems/i18n@1.9.1.rbi | @@ -4,13 +4,48 @@
# This is an autogenerated file for types exported from the `i18n` gem.
# Please instead update this file by running `bin/tapioca gem i18n`.
+module GetText; end
+
+class GetText::PoParser < ::Racc::Parser
+ def _(x); end
+ def _reduce_10(val, _values, result); end
+ def _reduce_12(val, _values... | true |
Other | Homebrew | brew | 61fdc35c2b2f7462305b5de6943fddff34d91564.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2417,48 +2417,6 @@ module Gem
def self.remove_unresolved_default_spec(spec); end
end
-module GetText
-end
-
-class GetText::PoParser
- def _(x); end
-
- def _reduce_10(val, _values, result); end
-
- def _reduce_12(val, _values, result); end
-
- def _reduce_13(val, _values, result); end
-
- def _reduce_14... | true |
Other | Homebrew | brew | 123ddc656dc31c3179a01c5f03a3e499ba02e288.json | Update RBI files for rspec-core. | Library/Homebrew/sorbet/rbi/gems/rspec-core@3.10.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-core` gem.
# Please instead update this file by running `bin/tapioca gem rspec-core`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@ -... | true |
Other | Homebrew | brew | 123ddc656dc31c3179a01c5f03a3e499ba02e288.json | Update RBI files for rspec-core. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3722,6 +3722,7 @@ class Object
HOMEBREW_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_REPOSITORY = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped)
+ HOMEBREW_GITHUB_PACKAGES_AUTH = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY = ::T.let(nil, ::T.untyped)
HOMEBR... | true |
Other | Homebrew | brew | 733fbfae6680f6fa0bf66c5f72683077ffac4af8.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3722,6 +3722,7 @@ class Object
HOMEBREW_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_REPOSITORY = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped)
+ HOMEBREW_GITHUB_PACKAGES_AUTH = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY = ::T.let(nil, ::T.untyped)
HOMEBR... | false |
Other | Homebrew | brew | 8eb4756d3efcb13d5d39a0cb0b3d05aef1dfc56a.json | sandbox: handle SIGTTOU and SIGTTIN to avoid hangs | Library/Homebrew/sandbox.rb | @@ -115,17 +115,25 @@ def exec(*args)
end
write_to_pty = proc do
+ # Don't hang if stdin is not able to be used - throw EIO instead.
+ old_ttin = trap(:TTIN, "IGNORE")
+
# Update the window size whenever the parent terminal's window size changes.
old_winch = t... | false |
Other | Homebrew | brew | 25e0597bd8549556dfba0bf763b9549aa643eb64.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/gems/i18n@1.9.0.rbi | @@ -8,9 +8,20 @@ module I18n
extend ::I18n::Base
class << self
+ def cache_key_digest; end
+ def cache_key_digest=(key_digest); end
+ def cache_namespace; end
+ def cache_namespace=(namespace); end
+ def cache_store; end
+ def cache_store=(store); end
+ def fallbacks; end
+ def fallbacks... | true |
Other | Homebrew | brew | 25e0597bd8549556dfba0bf763b9549aa643eb64.json | Update RBI files for i18n. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2417,48 +2417,6 @@ module Gem
def self.remove_unresolved_default_spec(spec); end
end
-module GetText
-end
-
-class GetText::PoParser
- def _(x); end
-
- def _reduce_10(val, _values, result); end
-
- def _reduce_12(val, _values, result); end
-
- def _reduce_13(val, _values, result); end
-
- def _reduce_14... | true |
Other | Homebrew | brew | 6d0c6d0604f4e93920491851479776c9a8f5516e.json | ignore dependencies of build-time-dependency | Library/Homebrew/dependency.rb | @@ -124,6 +124,7 @@ def expand(dependent, deps = dependent.deps, cache_key: nil, ignore_missing: fal
expanded_deps << dep
else
next if @expand_stack.include? dep.name
+ next if dep.tags.include?(:build)
expanded_deps.concat(expand(dep.to_formula, cache_key: cache_key... | false |
Other | Homebrew | brew | 4d7fbcdd46118ac4e3ad1b607aae400572fd7a0f.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.10.rbi | @@ -327,10 +327,12 @@ end
class RBI::Group::Kind < ::T::Enum
enums do
Mixins = new
+ RequiredAncestors = new
Helpers = new
TypeMembers = new
MixesInClassMethods = new
Sends = new
+ Attrs = new
TStructFields = new
TEnums = new
Inits = new
@@ -665,17 +667,17 @@ class RBI:... | false |
Other | Homebrew | brew | d7a6bcc9b8b73fd59a8bd166eedbfb8b9563779d.json | Update RBI files for rubocop-rspec. | Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.8.0.rbi | @@ -381,13 +381,10 @@ class RuboCop::Cop::RSpec::EmptyLineAfterSubject < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::RSpec::FinalEndLocation
include ::RuboCop::Cop::RangeHelp
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
+ include ::RuboCop::Cop::RSpec::InsideExampleGroup
extend ::RuboCop::Cop... | false |
Other | Homebrew | brew | bfd88b5625db4943df0422d71309fb3b3a8287f8.json | shims/mac/super: add `gnumake` symlink
Some builds look for a `gnumake` and execute that instead. This avoids
our shims since macOS provides a `/usr/bin/gnumake`. | Library/Homebrew/shims/mac/super/gnumake | @@ -0,0 +1 @@
+make
\ No newline at end of file | false |
Other | Homebrew | brew | 3364e519b5bebb136ad9606d6af42f4171691bfd.json | dev-cmd/bump-formula-pr: fix undefined method null error
Fix a regression from 8b1fcc7c5c18ec970c30e712ab283d7703694523.
Only if `version.nil?` is `Version.detect` used, so we can
only use `version.null?` after that. (Otherwise, it's a string.)
```
Error: undefined method `null?' for "X.Y.Z":String
Please report this... | Library/Homebrew/dev-cmd/bump-formula-pr.rb | @@ -435,10 +435,9 @@ def check_new_version(formula, tap_remote_repo, args:, version: nil, url: nil, t
specs = {}
specs[:tag] = tag if tag.present?
version = Version.detect(url, **specs)
+ return if version.null?
end
- return if version.null?
-
check_throttle(formula, version)
... | false |
Other | Homebrew | brew | 4efaabce7cf858d3ce5c16425a12e6779a351e41.json | Update RBI files for bootsnap. | Library/Homebrew/sorbet/rbi/gems/bootsnap@1.10.2.rbi | @@ -129,8 +129,7 @@ Bootsnap::LoadPathCache::DLEXT = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::DL_EXTENSIONS = T.let(T.unsafe(nil), Array)
Bootsnap::LoadPathCache::DOT_RB = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::DOT_SO = T.let(T.unsafe(nil), String)
-Bootsnap::LoadPathCache::ERROR_TAG_IVAR... | false |
Other | Homebrew | brew | fc88ce28876f4809f2d6c2544aa1273b2caafec3.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.6.2.rbi | @@ -12,6 +12,9 @@ class ActiveRecordColumnTypeHelper
private
+ sig { params(type: String).returns(String) }
+ def as_nilable_type(type); end
+
sig { params(constant: Module).returns(T::Boolean) }
def do_not_generate_strong_types?(constant); end
@@ -49,12 +52,18 @@ class DynamicMixinCompiler
sig { re... | false |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | Library/Homebrew/dev-cmd/generate-man-completions.rb | @@ -79,9 +79,6 @@ def build_man_page(quiet:)
variables[:tsc] =
readme.read[/(Homebrew's \[Technical Steering Committee.*\.)/, 1]
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
- variables[:linux] =
- readme.read[/(Homebrew's Linux maintainers .*\.)/, 1]
- .gsub(/\[([^\]]+)\]\([^)]+\)/,... | true |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | Library/Homebrew/dev-cmd/update-maintainers.rb | @@ -28,9 +28,8 @@ def update_maintainers
public_members = GitHub.public_member_usernames("Homebrew")
members = {
- plc: GitHub.members_by_team("Homebrew", "plc"),
- tsc: GitHub.members_by_team("Homebrew", "tsc"),
- linux: GitHub.members_by_team("Homebrew", "linux"),
+ plc: GitHub.mem... | true |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | Library/Homebrew/manpages/brew.1.md.erb | @@ -177,8 +177,6 @@ Homebrew API: <https://rubydoc.brew.sh>
<%= tsc.concat("\n") %>
-<%= linux.concat("\n") %>
-
<%= maintainers.concat("\n") %>
<%= alumni.concat("\n") %> | true |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | README.md | @@ -46,9 +46,7 @@ Homebrew's [Project Leadership Committee](https://docs.brew.sh/Homebrew-Governan
Homebrew's [Technical Steering Committee](https://docs.brew.sh/Homebrew-Governance#7-technical-steering-committee) is [Bo Anderson](https://github.com/Bo98), [FX Coudert](https://github.com/fxcoudert), [Michka Popoff](... | true |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | docs/Manpage.md | @@ -2208,9 +2208,7 @@ Homebrew's Project Leadership Committee is Issy Long, Jonathan Chang, Markus Rei
Homebrew's Technical Steering Committee is Bo Anderson, FX Coudert, Michka Popoff, Mike McQuaid and Rylan Polster.
-Homebrew's Linux maintainers are Daniel Nachun, Dawid Dziurla, Issy Long, Jonathan Chang, Michka... | true |
Other | Homebrew | brew | a17f41680da6f40d48d7092b656abf73322bcc2e.json | Combine Linux and macOS maintainers on the README | manpages/brew.1 | @@ -3246,10 +3246,7 @@ Homebrew\'s Project Leadership Committee is Issy Long, Jonathan Chang, Markus Re
Homebrew\'s Technical Steering Committee is Bo Anderson, FX Coudert, Michka Popoff, Mike McQuaid and Rylan Polster\.
.
.P
-Homebrew\'s Linux maintainers are Daniel Nachun, Dawid Dziurla, Issy Long, Jonathan Chang,... | true |
Other | Homebrew | brew | 30fcaa3ac152b0caef5f1674961f3964e9a35eea.json | Update RBI files for rspec-sorbet. | Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-sorbet` gem.
# Please instead update this file by running `bin/tapioca gem rspec-sorbet`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings | false |
Other | Homebrew | brew | 0b7693b6c99eb60a6ca88579404f4ffa4986aef4.json | Update RBI files for msgpack. | Library/Homebrew/sorbet/rbi/gems/msgpack@1.4.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `msgpack` gem.
# Please instead update this file by running `bin/tapioca gem msgpack`.
-# typed: true
-
class Array
include ::Enumerable
include ::JSON::Ext::Generator::GeneratorMethods::Array... | true |
Other | Homebrew | brew | 0b7693b6c99eb60a6ca88579404f4ffa4986aef4.json | Update RBI files for msgpack. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -6810,6 +6810,10 @@ class Struct
def filter(*arg); end
end
+class Symbol
+ def to_msgpack_ext(); end
+end
+
class SystemCommand::Result
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks | true |
Other | Homebrew | brew | 0b7693b6c99eb60a6ca88579404f4ffa4986aef4.json | Update RBI files for msgpack. | Library/Homebrew/sorbet/rbi/todo.rbi | @@ -2,8 +2,6 @@
# srb rbi todo
# typed: strong
-module ::Colorize::ClassMethods; end
-module ::Colorize::InstanceMethods; end
module ::StackProf; end
module T::InterfaceWrapper::Helpers; end
module T::Private::Abstract::Hooks; end | true |
Other | Homebrew | brew | b1fae797a29fc2e80d5c17f6ed8076e4c9b77a00.json | Update RBI files for rubocop. | Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.0.rbi | @@ -1742,7 +1742,9 @@ module RuboCop::Cop::HashShorthandSyntax
private
def enforced_shorthand_syntax; end
+ def node_with_block_and_arguments?(node); end
def require_hash_value?(hash_key_source, node); end
+ def without_parentheses?(node); end
def without_parentheses_call_expr_follows?(node); end
end
... | false |
Other | Homebrew | brew | 847bc140e1c4648bacb8fc47278363a116c18c99.json | Update RBI files for mechanize. | Library/Homebrew/sorbet/rbi/gems/mechanize@2.8.4.rbi | @@ -192,6 +192,10 @@ end
class Mechanize::CookieJar < ::HTTP::CookieJar
def load(input, *options); end
def save(output, *options); end
+
+ private
+
+ def load_yaml(yaml); end
end
module Mechanize::CookieJarIMethods | false |
Other | Homebrew | brew | ffb3c9cff9bf56b9f920f6b8ae84d38c2bc34a2b.json | Fuse the `rpath` loops.
We previously looped twice over the `rpath`s, but we actually only need
to do that once. | Library/Homebrew/extend/os/mac/keg_relocate.rb | @@ -54,21 +54,20 @@ def fix_dynamic_linkage
change_install_name(bad_name, new_name, file) unless new_name == bad_name
end
- # Count duplicate rpaths. We need to keep track of this ourselves
- # because the MachO data is cached and this cache is not updated
- # after modificati... | false |
Other | Homebrew | brew | 121771f1a660dc1adb946629b812ab29abb21bdf.json | Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | docs/Deprecating-Disabling-and-Removing-Formulae.md | @@ -18,11 +18,11 @@ A formula should be deprecated to indicate to users that the formula should not
The most common reasons for deprecation are when the upstream project is deprecated, unmaintained, or archived.
-Formulae with dependents should **not** be deprecated unless:
+Formulae with dependents should **only*... | false |
Other | Homebrew | brew | 57fae524de41a7e9f149f9c87d6cdfd633d0556c.json | extend/os/mac/keg_relocate: fix duplicate RPATH handling
ruby-macho chokes on changing duplicate RPATHs, so we need to strip the
duplicates before trying to relocate them.
This continues #11405. We need this to unblock
Homebrew/homebrew-core#91224.
While we're here, let's get rid of `HOMEBREW_RELOCATE_RPATHS`. We've... | Library/Homebrew/extend/os/mac/keg_relocate.rb | @@ -31,11 +31,9 @@ def relocate_dynamic_linkage(relocation)
change_install_name(old_name, new_name, file) if new_name
end
- if ENV["HOMEBREW_RELOCATE_RPATHS"]
- each_linkage_for(file, :rpaths) do |old_name|
- new_name = relocated_name_for(old_name, relocation)
- ... | true |
Other | Homebrew | brew | 57fae524de41a7e9f149f9c87d6cdfd633d0556c.json | extend/os/mac/keg_relocate: fix duplicate RPATH handling
ruby-macho chokes on changing duplicate RPATHs, so we need to strip the
duplicates before trying to relocate them.
This continues #11405. We need this to unblock
Homebrew/homebrew-core#91224.
While we're here, let's get rid of `HOMEBREW_RELOCATE_RPATHS`. We've... | Library/Homebrew/formula_installer.rb | @@ -1229,11 +1229,7 @@ def pour
keg = Keg.new(formula.prefix)
skip_linkage = formula.bottle_specification.skip_relocation?
- # TODO: Remove `with_env` when bottles are built with RPATH relocation enabled
- # https://github.com/Homebrew/brew/issues/11329
- with_env(HOMEBREW_RELOCATE_RPATHS: "1") do
... | true |
Other | Homebrew | brew | e4e3b8ad2d8e021f729a2d2299021acce3085c18.json | Revert "extend/os/mac/keg_relocate: fix relocation of duplicate `RPATH`s"
Upon reflection, I realised that this is probably a bug in `ruby-macho`,
and should be fixed there instead.
Needs https://github.com/Homebrew/ruby-macho/pull/362.
This reverts commit e8b5eb7e42c925b7cc10c78a029b8c70e4d7965b. | Library/Homebrew/extend/os/mac/keg_relocate.rb | @@ -94,7 +94,6 @@ def fixed_name(file, bad_name)
def each_linkage_for(file, linkage_type, &block)
links = file.method(linkage_type)
.call
- .uniq
.grep_v(/^@(loader_|executable_|r)path/)
links.each(&block)
end | false |
Other | Homebrew | brew | 8ac70335bdceae2f354f9960991e1e591f62fde5.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.13.2.rbi | @@ -109,6 +109,14 @@ class RuboCop::Cop::IndexMethod::Captures < ::Struct
end
RuboCop::Cop::IndexMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
+
+module RuboCop::Cop::MigrationsHelper
+ extend ::RuboCop::AST::NodePattern::Macros
+
+ def in_migration?(node); end
+ def migration_class?(param0 = T.unsafe(n... | true |
Other | Homebrew | brew | 8ac70335bdceae2f354f9960991e1e591f62fde5.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -5099,7 +5099,6 @@ class RuboCop::AST::NodePattern::Parser
end
module RuboCop::AST::NodePattern::Sets
- SET_BLANK_EMPTY = ::T.let(nil, ::T.untyped)
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
SET_CHANGE_COLUMN_EXECUTE = ::T.let(nil, ::T.untyped)
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.... | true |
Other | Homebrew | brew | c3beda3ca1780cdbe63fb36bedb3e9a6b61a6dc4.json | Update RBI files for bootsnap. | Library/Homebrew/sorbet/rbi/gems/bootsnap@1.10.1.rbi | @@ -32,6 +32,7 @@ end
class Bootsnap::CompileCache::Error < ::StandardError; end
class Bootsnap::CompileCache::PermissionError < ::Bootsnap::CompileCache::Error; end
+Bootsnap::CompileCache::UNCOMPILABLE = T.let(T.unsafe(nil), BasicObject)
module Bootsnap::ExplicitRequire
class << self
@@ -72,13 +73,13 @@ cla... | false |
Other | Homebrew | brew | 753c852eba5ebeb1c0d139a2488cb971198b00c4.json | Adapt DNSimple logo to system appearance | README.md | @@ -84,7 +84,8 @@ Flaky test detection and tracking is provided by [BuildPulse](https://buildpulse
<https://brew.sh>'s DNS is [resolving with DNSimple](https://dnsimple.com/resolving/homebrew).
-[](https://dnsimple.com/resolving/homebrew)... | false |
Other | Homebrew | brew | 716c0716021fb61f089ce5ee9864f0535ef213cc.json | README: add DNSimple as a sponsor.
They've provided our DNS for free for a while so let's give them a
shout-out. | README.md | @@ -82,6 +82,10 @@ Flaky test detection and tracking is provided by [BuildPulse](https://buildpulse
[](https://buildpulse.io)
+<https://brew.sh>'s DNS is [resolving with DNSimple](https://dnsimple.com/re... | false |
Other | Homebrew | brew | 05b4d264f06b5c2e4a336181646a58c0115281b8.json | Fix typo in docs/Manpage.md
595: directores -> directories | docs/Manpage.md | @@ -592,7 +592,7 @@ The search for *`text`* is extended online to `homebrew/core` and `homebrew/cask
Print export statements. When run in a shell, this installation of Homebrew will be added to your `PATH`, `MANPATH`, and `INFOPATH`.
The variables `HOMEBREW_PREFIX`, `HOMEBREW_CELLAR` and `HOMEBREW_REPOSITORY` are a... | false |
Other | Homebrew | brew | 2ccfd0af519f4b6f5744a0d92f00f361d9737efc.json | Update RBI files for rspec-expectations. | Library/Homebrew/sorbet/rbi/gems/rspec-expectations@3.10.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-expectations` gem.
# Please instead update this file by running `bin/tapioca gem rspec-expectations`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Cor... | false |
Other | Homebrew | brew | 9ee6152a3562026bcda739fbeb1881a782aac56b.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/parlour.rbi | @@ -62,6 +62,9 @@ class FormulaInstaller
sig { returns(T::Boolean) }
def force?; end
+ sig { returns(T::Boolean) }
+ def overwrite?; end
+
sig { returns(T::Boolean) }
def keep_tmp?; end
| false |
Other | Homebrew | brew | cb758850f5118577ae80ab5e404f7dd60f3406b8.json | Update RBI files for nokogiri. | Library/Homebrew/sorbet/rbi/gems/nokogiri@1.13.1.rbi | @@ -49,59 +49,62 @@ class Nokogiri::CSS::Parser < ::Racc::Parser
def initialize(namespaces = T.unsafe(nil)); end
def _reduce_1(val, _values, result); end
+ def _reduce_10(val, _values, result); end
def _reduce_11(val, _values, result); end
- def _reduce_12(val, _values, result); end
def _reduce_13(val, ... | true |
Other | Homebrew | brew | cb758850f5118577ae80ab5e404f7dd60f3406b8.json | Update RBI files for nokogiri. | Library/Homebrew/sorbet/rbi/parlour.rbi | @@ -62,6 +62,9 @@ class FormulaInstaller
sig { returns(T::Boolean) }
def force?; end
+ sig { returns(T::Boolean) }
+ def overwrite?; end
+
sig { returns(T::Boolean) }
def keep_tmp?; end
| true |
Other | Homebrew | brew | c64b15bd3e96d1b852ea2019fdb2bac4e5d494cd.json | Update RBI files for ecma-re-validator. | Library/Homebrew/sorbet/rbi/gems/ecma-re-validator@0.4.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ecma-re-validator` gem.
# Please instead update this file by running `bin/tapioca gem ecma-re-validator`.
-# typed: true
-
module EcmaReValidator
class << self
def valid?(input); end | false |
Other | Homebrew | brew | bb8d9f10bc6c0071be9944a11cc6e6279bb62cb4.json | Update RBI files for ruby-macho. | Library/Homebrew/sorbet/rbi/gems/ruby-macho@3.0.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ruby-macho` gem.
# Please instead update this file by running `bin/tapioca gem ruby-macho`.
-# typed: true
-
module MachO
class << self
def codesign!(filename); end
@@ -20,6 +20,8 @@ class ... | false |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | Library/Homebrew/dev-cmd/bump.rb | @@ -25,12 +25,15 @@ def bump_args
description: "Check only formulae."
switch "--cask", "--casks",
description: "Check only casks."
+ switch "--open-pr",
+ description: "Open a pull request for the new version if there are none already open."
flag "--limit=",
... | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | Library/Homebrew/utils/repology.rb | @@ -99,6 +99,6 @@ def latest_version(repositories)
# scheme
return "no latest version" if latest_version.blank?
- latest_version["version"]
+ Version.new(latest_version["version"])
end
end | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | completions/bash/brew | @@ -436,6 +436,7 @@ _brew_bump() {
--help
--limit
--no-pull-requests
+ --open-pr
--quiet
--start-with
--verbose | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | completions/fish/brew.fish | @@ -388,6 +388,7 @@ __fish_brew_complete_arg 'bump' -l full-name -d 'Print formulae/casks with fully
__fish_brew_complete_arg 'bump' -l help -d 'Show this message'
__fish_brew_complete_arg 'bump' -l limit -d 'Limit number of package results returned'
__fish_brew_complete_arg 'bump' -l no-pull-requests -d 'Do not ret... | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | completions/zsh/_brew | @@ -478,6 +478,7 @@ _brew_bump() {
'--help[Show this message]' \
'--limit[Limit number of package results returned]' \
'--no-pull-requests[Do not retrieve pull requests from GitHub]' \
+ '--open-pr[Open a pull request for the new version if there are none already open]' \
'--quiet[Make some outpu... | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | docs/Manpage.md | @@ -926,6 +926,8 @@ formulae, also displays whether a pull request has been opened with the URL.
Check only formulae.
* `--cask`:
Check only casks.
+* `--open-pr`:
+ Open a pull request for the new version if there are none already open.
* `--limit`:
Limit number of package results returned.
* `--start-wit... | true |
Other | Homebrew | brew | af6d995de89a0335c00335e6039cd193e5d79664.json | dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users. | manpages/brew.1 | @@ -1295,6 +1295,10 @@ Check only formulae\.
Check only casks\.
.
.TP
+\fB\-\-open\-pr\fR
+Open a pull request for the new version if there are none already open\.
+.
+.TP
\fB\-\-limit\fR
Limit number of package results returned\.
. | true |
Other | Homebrew | brew | c4b01e01cd6cef0a9dfccf8298136cdb525ecd1c.json | Update RBI files for rainbow. | Library/Homebrew/sorbet/rbi/gems/rainbow@3.1.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rainbow` gem.
# Please instead update this file by running `bin/tapioca gem rainbow`.
-# typed: true
-
module Rainbow
class << self
def enabled; end
@@ -78,6 +78,7 @@ class Rainbow::NullPre... | false |
Other | Homebrew | brew | 48731ebd7f671f74f0d592ab8af8854c2be9e5ac.json | Update RBI files for bootsnap. | Library/Homebrew/sorbet/rbi/gems/bootsnap@1.9.4.rbi | @@ -11,6 +11,7 @@ module Bootsnap
class << self
def _instrument(event, path); end
+ def absolute_path?(path); end
def default_setup; end
def instrumentation=(callback); end
def iseq_cache_supported?; end
@@ -61,7 +62,6 @@ Bootsnap::LoadPathCache::CACHED_EXTENSIONS = T.let(T.unsafe(nil), Arra... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.