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 | b6c70e7a31f330130ce64b304fb12240d18413cc.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.4.rbi | @@ -10,16 +10,28 @@ module ActiveSupport
extend ::ActiveSupport::LazyLoadHooks
extend ::ActiveSupport::Autoload
+ def parse_json_times; end
+ def parse_json_times=(val); end
def test_order; end
def test_order=(val); end
class << self
def eager_load!; end
+ def escape_html_entities_in_json(*... | true |
Other | Homebrew | brew | b6c70e7a31f330130ce64b304fb12240d18413cc.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -18,12 +18,6 @@ class ActiveRecordColumnTypeHelper
extend ::T::Private::Methods::SingletonMethodHooks
end
-module ActiveSupport
- def parse_json_times(); end
-
- def parse_json_times=(val); end
-end
-
class ActiveSupport::Deprecation
def self.deprecation_warning(*args, &block); end
@@ -36,28 +30,6 @@ m... | true |
Other | Homebrew | brew | 19b23dfd1137efd76a88c24fcb2b7f4404653409.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.13.1.rbi | @@ -1256,6 +1256,7 @@ class RuboCop::Cop::Rails::ReadWriteAttribute < ::RuboCop::Cop::Base
def message(node); end
def read_attribute_replacement(node); end
+ def within_shadowing_method?(node); end
def write_attribute_replacement(node); end
end
@@ -1313,8 +1314,15 @@ class RuboCop::Cop::Rails::RedundantP... | true |
Other | Homebrew | brew | 19b23dfd1137efd76a88c24fcb2b7f4404653409.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -5132,7 +5132,7 @@ 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_REMOVE_BELONGS_TO_REMOVE_REFERENCE = ::T.let(nil, ::T.untyped)
+ SET_CHANGE_COLUMN_EXECUTE = ::T.let(nil, ::T.... | true |
Other | Homebrew | brew | c5c9d2a433767297e7b090a958a4eeed6463b848.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -4154,9 +4154,6 @@ end
class Pathname
include ::ELFShim
include ::MachOShim
- def fnmatch?(*arg); end
-
- def make_symlink(arg); end
end
class Pathname | false |
Other | Homebrew | brew | 22d68fb99b02b1b41afd3f7e109d0cb6af099005.json | fix style offences | Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb | @@ -12,11 +12,12 @@ class UrlLegacyCommaSeparators < Base
include OnUrlStanza
extend AutoCorrector
- MSG_CSV = "Use 'version.csv.first' instead of 'version.before_comma' and 'version.csv.second' instead of 'version.after_comma'."
+ MSG_CSV = "Use 'version.csv.first' instead of 'version... | false |
Other | Homebrew | brew | 33b8e0faa0fed21ef8428da8d2709e99843b19f5.json | docs: integrate suggested changes | docs/Updating-Software-in-Homebrew.md | @@ -2,10 +2,7 @@
Did you find something in Homebrew that wasn't the latest version? You can help yourself and others by submitting a pull request to update the formula.
-If you want to update software that is either closed source, or a GUI only program you want to follow the guide for Casks. Otherwise follow the g... | false |
Other | Homebrew | brew | ea61dcf36ef48024b372faccc8ed77b6ba5d8aa9.json | Update RBI files for nokogiri. | Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.7.1.rbi | @@ -1,11 +1,11 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mini_portile2` gem.
# Please instead update this file by running `bin/tapioca gem mini_portile2`.
-# typed: true
-
class MiniPortile
- def initialize(name, version); end
+ def initialize(name, ... | true |
Other | Homebrew | brew | ea61dcf36ef48024b372faccc8ed77b6ba5d8aa9.json | Update RBI files for nokogiri. | Library/Homebrew/sorbet/rbi/gems/nokogiri@1.13.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `nokogiri` gem.
# Please instead update this file by running `bin/tapioca gem nokogiri`.
-# typed: true
-
module Nokogiri
class << self
def HTML(input, url = T.unsafe(nil), encoding = T.unsa... | true |
Other | Homebrew | brew | d891ade8321284edd3da6bf9382755e16b6d17ca.json | Update RBI files for mini_portile2. | Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.7.1.rbi | @@ -1,11 +1,11 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mini_portile2` gem.
# Please instead update this file by running `bin/tapioca gem mini_portile2`.
-# typed: true
-
class MiniPortile
- def initialize(name, version); end
+ def initialize(name, ... | true |
Other | Homebrew | brew | d891ade8321284edd3da6bf9382755e16b6d17ca.json | Update RBI files for mini_portile2. | Library/Homebrew/sorbet/rbi/gems/nokogiri@1.13.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `nokogiri` gem.
# Please instead update this file by running `bin/tapioca gem nokogiri`.
-# typed: true
-
module Nokogiri
class << self
def HTML(input, url = T.unsafe(nil), encoding = T.unsa... | true |
Other | Homebrew | brew | 3f834dee6d2fb2fe7e255995d12a14dbaad7ad53.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2620,10 +2620,10 @@ module Homebrew::EnvConfig
def self.display_install_times?(); end
- def self.docker_registry_token(); end
-
def self.docker_registry_basic_auth_token(); end
+ def self.docker_registry_token(); end
+
def self.editor(); end
def self.fail_log_lines(); end | false |
Other | Homebrew | brew | 83d4e339bf843cd57e60211664efc122ae09df81.json | Update RBI files for thor. | Library/Homebrew/sorbet/rbi/gems/thor@1.2.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `thor` gem.
# Please instead update this file by running `bin/tapioca gem thor`.
-# typed: true
-
class Thor
include ::Thor::Base
include ::Thor::Invocation
@@ -388,6 +388,7 @@ class Thor::Cor... | false |
Other | Homebrew | brew | 01959eb01924b02198246a346f94402d03676396.json | Update RBI files for rspec_junit_formatter. | Library/Homebrew/sorbet/rbi/gems/rspec_junit_formatter@0.5.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec_junit_formatter` gem.
# Please instead update this file by running `bin/tapioca gem rspec_junit_formatter`.
-# typed: true
-
class RSpecJUnitFormatter < ::RSpec::Core::Formatters::BaseFormatt... | false |
Other | Homebrew | brew | 2c193d7796d54fe6adc2eb9cf33ff14fc36a4b7a.json | Update RBI files for parser. | Library/Homebrew/sorbet/rbi/gems/parser@3.1.0.0.rbi | @@ -407,22 +407,26 @@ class Parser::ClobberingError < ::RuntimeError; end
class Parser::Context
def initialize; end
- def class_definition_allowed?; end
- def dynamic_const_definition_allowed?; end
- def empty?; end
- def in_block?; end
- def in_class?; end
- def in_def_open_args?; end
+ def in_argdef; end... | false |
Other | Homebrew | brew | 2ad3f0a089716048fe5b7bc0984d2835181c8327.json | Patch neither glibc nor glibc@* using patchelf
Patching the dynamic linker of glibc breaks it. | Library/Homebrew/extend/os/linux/keg_relocate.rb | @@ -6,7 +6,7 @@
class Keg
def relocate_dynamic_linkage(relocation)
# Patching the dynamic linker of glibc breaks it.
- return if name == "glibc"
+ return if name == "glibc" || name.start_with?("glibc@")
# Patching patchelf fails with "Text file busy" or SIGBUS.
return if name == "patchelf" | false |
Other | Homebrew | brew | 4e68a7b5bc11c26d92f15bca1bb1cd301d04dcb2.json | Allow linkage to libnss_files.so.2 on Linux
libnss_nis.so.2 in glibc@2.13 has linkage to libnss_files.so.2. | Library/Homebrew/extend/os/linux/linkage_checker.rb | @@ -15,6 +15,7 @@ class LinkageChecker
libm.so.6
libmvec.so.1
libnsl.so.1
+ libnss_files.so.2
libpthread.so.0
libresolv.so.2
librt.so.1 | false |
Other | Homebrew | brew | f60421f20ab8c73f8c236d75dea1318625327d77.json | Update RBI files for rubocop. | Library/Homebrew/sorbet/rbi/gems/rubocop@1.24.1.rbi | @@ -1572,7 +1572,7 @@ class RuboCop::Cop::Gemspec::RequireMFA < ::RuboCop::Cop::Base
def autocorrect(corrector, node, block_var, metadata); end
def change_value(corrector, value); end
def correct_metadata(corrector, metadata); end
- def correct_missing_metadata(corrector, node, block_var); end
+ def insert_m... | false |
Other | Homebrew | brew | 442af3772a0aa05801d9f380a3b8e27b3e427d2b.json | Update RBI files for rubocop-performance. | Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.13.0.rbi | @@ -46,10 +46,7 @@ class RuboCop::Cop::Performance::BigDecimalWithNumericArgument < ::RuboCop::Cop:
def big_decimal_with_numeric_argument?(param0 = T.unsafe(nil)); end
def on_send(node); end
-
- private
-
- def specifies_precision?(node); end
+ def to_d?(param0 = T.unsafe(nil)); end
end
RuboCop::Cop::Per... | false |
Other | Homebrew | brew | a57c3b06a1aa4a7b2bc0bd6832a776123e2b6bf0.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.13.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rubocop-rails` gem.
# Please instead update this file by running `bin/tapioca gem rubocop-rails`.
-# typed: true
-
module RuboCop; end
module RuboCop::Cop; end
@@ -25,6 +25,17 @@ end
RuboCop:... | true |
Other | Homebrew | brew | a57c3b06a1aa4a7b2bc0bd6832a776123e2b6bf0.json | Update RBI files for rubocop-rails. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -5128,9 +5128,12 @@ 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_REMOVE_BELONGS_TO_REMOVE_REFERENCE = ::T.let(nil, ::T.untyped)
S... | true |
Other | Homebrew | brew | 9141c883c27b099e505665f89ce62dc135bbf772.json | Update RBI files for zeitwerk. | Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.5.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `zeitwerk` gem.
# Please instead update this file by running `bin/tapioca gem zeitwerk`.
-# typed: true
-
module Kernel
extend ::Forwardable
| false |
Other | Homebrew | brew | eb640ffd44f3a96ffd39a9918510653751be84bd.json | Update RBI files for rubocop-rspec. | Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.7.0.rbi | @@ -151,21 +151,18 @@ RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::MSG = T.let(T.unsafe(nil)
RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::RSpec::Capybara::FeatureMethods < ::RuboCop::Cop::RSpec::Base
+ include ::RuboCop::Cop::RS... | false |
Other | Homebrew | brew | 07e813a3b3e05121e4d17b9bbb77ed7db5d3d907.json | docs/Common-Issues.md: fix variable notation | docs/Common-Issues.md | @@ -127,7 +127,7 @@ If, however, you do not have a `.curlrc` or removing it did not work, let’s se
The cask is outdated. Let’s fix it:
1. Look around the app’s website and find out what the latest version is. It will likely be expressed in the URL used to download it.
-2. Take a look at the cask’s version (`brew ca... | false |
Other | Homebrew | brew | c0b745e46b5e0b8bd66a97e97eb5d6c1911ccb95.json | Update RBI files for rubocop. | Library/Homebrew/sorbet/rbi/gems/rubocop@1.24.0.rbi | @@ -115,6 +115,18 @@ class RuboCop::CLI::Command::ShowCops < ::RuboCop::CLI::Command::Base
def selected_cops_of_department(cops, department); end
end
+class RuboCop::CLI::Command::ShowDocsUrl < ::RuboCop::CLI::Command::Base
+ def initialize(env); end
+
+ def run; end
+
+ private
+
+ def cops_array; end
+ def... | false |
Other | Homebrew | brew | c6b18e369d8eed632352c8b5a68e5e9d7aad7419.json | Update RBI files for diff-lcs. | Library/Homebrew/sorbet/rbi/gems/diff-lcs@1.5.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `diff-lcs` gem.
# Please instead update this file by running `bin/tapioca gem diff-lcs`.
-# typed: true
-
module Diff; end
module Diff::LCS | false |
Other | Homebrew | brew | 61b068cd7c0f04631ef6ff6fafc499c0f7ffaa88.json | Update RBI files for did_you_mean. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -1197,6 +1197,14 @@ module DidYouMean::Correctable
def to_s(); end
end
+class DidYouMean::Formatter
+ def message_for(corrections); end
+end
+
+class DidYouMean::Formatter
+ def self.message_for(corrections); end
+end
+
module DidYouMean::Jaro
def self.distance(str1, str2); end
end
@@ -1241,13 +1249,17 ... | false |
Other | Homebrew | brew | 820e8303dfca47644b53467baba1c7bd7caa86b1.json | docs: add common cask issues | docs/Common-Issues.md | @@ -113,6 +113,90 @@ xcode-select --install
brew upgrade
```
+## Cask - cURL error
+
+First, let's tackle a common problem: do you have a `.curlrc` file? Check with `ls -A ~ | grep .curlrc` (if you get a result, the file exists). Those are a frequent cause of issues of this nature. Before anything else, remove that... | false |
Other | Homebrew | brew | 2efe117e6049e873a748b33e69342482c403c1b6.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.6.0.rbi | @@ -57,6 +57,15 @@ class DynamicMixinCompiler
def instance_attribute_writers; end
end
+class Module
+ include ::ActiveSupport::Dependencies::ModuleConstMissing
+
+ def autoload(const_name, path); end
+end
+
+Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
+Module::DELEGATION_RESERVED_METHOD_N... | true |
Other | Homebrew | brew | 2efe117e6049e873a748b33e69342482c403c1b6.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3190,6 +3190,8 @@ module Kernel
extend ::T::Private::Methods::SingletonMethodHooks
def self.at_exit(); end
+ def self.autoload(arg, arg1); end
+
def self.fork(); end
def self.gem(dep, *reqs); end
@@ -3469,6 +3471,8 @@ class MockExpectationError
end
class Module
+ def autoload_without_tapioca(a... | true |
Other | Homebrew | brew | caf310038f1dda4f8efd37fa1b095844b2664102.json | linkage: display executables with missing rpath
An executable that links against @rpath-prefixed dylibs must include at least
one runtime path. This will prevent issues like the one resolved in #91485.
Caveats:
1. This won't find executables that have only recursive dylib dependencies with
@rpath prefixes.
2. This... | Library/Homebrew/extend/pathname.rb | @@ -451,6 +451,11 @@ def mach_o_bundle?
def dylib?
false
end
+
+ sig { returns(T::Array[String]) }
+ def rpaths
+ []
+ end
end
require "extend/os/pathname" | true |
Other | Homebrew | brew | caf310038f1dda4f8efd37fa1b095844b2664102.json | linkage: display executables with missing rpath
An executable that links against @rpath-prefixed dylibs must include at least
one runtime path. This will prevent issues like the one resolved in #91485.
Caveats:
1. This won't find executables that have only recursive dylib dependencies with
@rpath prefixes.
2. This... | Library/Homebrew/linkage_checker.rb | @@ -32,6 +32,7 @@ def initialize(keg, formula = nil, cache_db:, rebuild_cache: false)
@unnecessary_deps = []
@unwanted_system_dylibs = []
@version_conflict_deps = []
+ @executables_missing_rpaths = []
check_dylibs(rebuild_cache: rebuild_cache)
end
@@ -46,6 +47,7 @@ def display_normal_output
... | true |
Other | Homebrew | brew | caf310038f1dda4f8efd37fa1b095844b2664102.json | linkage: display executables with missing rpath
An executable that links against @rpath-prefixed dylibs must include at least
one runtime path. This will prevent issues like the one resolved in #91485.
Caveats:
1. This won't find executables that have only recursive dylib dependencies with
@rpath prefixes.
2. This... | Library/Homebrew/os/linux/elf.rb | @@ -86,12 +86,20 @@ def binary_executable?
elf_type == :executable
end
+ # The runtime search path, such as:
+ # "/lib:/usr/lib:/usr/local/lib"
def rpath
return @rpath if defined? @rpath
@rpath = rpath_using_patchelf_rb
end
+ # An array of runtime search path entries, such as:
+ # ["/l... | true |
Other | Homebrew | brew | 48f772c58527b13a09fd790eceb472513363542e.json | Add new CPUs to test | Library/Homebrew/test/hardware/cpu_spec.rb | @@ -28,6 +28,7 @@
:amd_k10,
:amd_k12,
:arm,
+ :arm_blizzard_avalanche,
:arm_firestorm_icestorm,
:arm_hurricane_zephyr,
:arm_lightning_thunder,
@@ -40,6 +41,7 @@
:broadwell,
:bulldozer,
:cannonlake,
+ :cometlake,
:cor... | false |
Other | Homebrew | brew | 405aeac2d8a3a7c4aaa929b06492df3a77b6a4f1.json | Add latest CPUs | Library/Homebrew/extend/os/mac/hardware/cpu.rb | @@ -107,6 +107,8 @@ def arm_family
:arm_lightning_thunder
when 0x573b5eec, 0x1b588bb3 # ARMv8.4-A (Firestorm, Icestorm)
:arm_firestorm_icestorm
+ when 0xda33d83d # ARMv8.4-A (Blizzard, Avalanche)
+ :arm_blizzard_avalanche
else
:dunno
... | false |
Other | Homebrew | brew | 98427176cf6f796738dee755317c19318986a59a.json | sorbet/rbi/upstream.rbi: remove old workaround | Library/Homebrew/sorbet/rbi/upstream.rbi | @@ -21,14 +21,3 @@ class Module
end
def define_method(arg0, arg1=T.unsafe(nil), &blk); end
end
-
-class Pathname
- # https://github.com/sorbet/sorbet/pull/4660
- sig do
- params(
- consider_symlink: T::Boolean,
- )
- .returns(Pathname)
- end
- def cleanpath(consider_symlink=T.unsafe(nil)); en... | false |
Other | Homebrew | brew | 091c1777f07682d78824a41048e0a19913b978a2.json | Update RBI files for simplecov-cobertura. | Library/Homebrew/sorbet/rbi/gems/simplecov-cobertura@2.1.0.rbi | @@ -61,6 +61,8 @@ module SimpleCov::Formatter
end
class SimpleCov::Formatter::CoberturaFormatter
+ def initialize(result_file_name: T.unsafe(nil)); end
+
def format(result); end
private | false |
Other | Homebrew | brew | cef23046ed151cf36ab3d21d959709ccd08794d8.json | Update RBI files for minitest. | Library/Homebrew/sorbet/rbi/gems/minitest@5.15.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `minitest` gem.
# Please instead update this file by running `bin/tapioca gem minitest`.
-# typed: true
-
module Minitest
class << self
def __run(reporter, options); end
@@ -292,6 +292,7 @@ ... | false |
Other | Homebrew | brew | 6cd41d5d3ebe15c175da4365e9b1f015c55460b0.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.3.rbi | @@ -1,8 +1,10 @@
+# typed: false
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `activesupport` gem.
# Please instead update this file by running `bin/tapioca gem activesupport`.
-# typed: false
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
module ActiveSupport
extend ::Ac... | false |
Other | Homebrew | brew | bd4124c10fc5a281fe38cb7566b14dee14cb6368.json | Livecheck: Avoid duplicate URLs
Some formulae/casks contain duplicate checkable URLs or contain
URLs that become duplicates after `#preprocess_url` is used. With
the former, a formula's `stable` and `head` URLs can be the same if
they both use the Git repository. With the latter, a formula's
`homepage` and `stable` UR... | Library/Homebrew/livecheck/livecheck.rb | @@ -484,7 +484,7 @@ def checkable_urls(formula_or_cask)
T.absurd(formula_or_cask)
end
- urls.compact
+ urls.compact.uniq
end
# Preprocesses and returns the URL used by livecheck.
@@ -609,24 +609,16 @@ def latest_version(
end
end
+ checked_urls = []
#... | true |
Other | Homebrew | brew | bd4124c10fc5a281fe38cb7566b14dee14cb6368.json | Livecheck: Avoid duplicate URLs
Some formulae/casks contain duplicate checkable URLs or contain
URLs that become duplicates after `#preprocess_url` is used. With
the former, a formula's `stable` and `head` URLs can be the same if
they both use the Git repository. With the latter, a formula's
`homepage` and `stable` UR... | Library/Homebrew/test/livecheck/livecheck_spec.rb | @@ -44,6 +44,15 @@
RUBY
end
+ let(:f_duplicate_urls) do
+ formula("test_duplicate_urls") do
+ desc "Test formula with a duplicate URL"
+ homepage "https://github.com/Homebrew/brew.git"
+ url "https://brew.sh/test-0.0.1.tgz"
+ head "https://github.com/Homebrew/brew.git"
+ end
+ end
... | true |
Other | Homebrew | brew | 15b601d6578796ce650e5cbbe78018622d2ec410.json | Update RBI files for rubocop-ast. | Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.15.0.rbi | @@ -1551,6 +1551,7 @@ class RuboCop::AST::PairNode < ::RuboCop::AST::Node
def delimiter(*deprecated, with_spacing: T.unsafe(nil)); end
def hash_rocket?; end
def inverse_delimiter(*deprecated, with_spacing: T.unsafe(nil)); end
+ def value_omission?; end
def value_on_new_line?; end
end
| false |
Other | Homebrew | brew | 8ab9465ad2ac9b8d4b2d72180d6000b755478a9d.json | formula_auditor: fix error with formulae without taps | Library/Homebrew/formula_auditor.rb | @@ -121,6 +121,8 @@ def self.aliases
SYNCED_VERSIONS_FORMULAE_FILE = "synced_versions_formulae.json"
def audit_synced_versions_formulae
+ return unless formula.tap
+
synced_versions_formulae_file = formula.tap.path/SYNCED_VERSIONS_FORMULAE_FILE
return unless synced_versions_formulae_file.... | false |
Other | Homebrew | brew | 00b588068fb8c2ae26cfd739968207a3259d43bc.json | formula: add keg_only_reason to formula hash | Library/Homebrew/formula.rb | @@ -1942,6 +1942,7 @@ def to_hash
"version_scheme" => version_scheme,
"bottle" => {},
"keg_only" => keg_only?,
+ "keg_only_reason" => keg_only_reason&.to_hash,
"bottle_disabled" => bottle_disabled?,
"options" ... | true |
Other | Homebrew | brew | 00b588068fb8c2ae26cfd739968207a3259d43bc.json | formula: add keg_only_reason to formula hash | Library/Homebrew/formula_support.rb | @@ -60,6 +60,19 @@ def to_s
@reason
end.strip
end
+
+ def to_hash
+ reason_string = if @reason.is_a?(Symbol)
+ @reason.inspect
+ else
+ @reason.to_s
+ end
+
+ {
+ "reason" => reason_string,
+ "explanation" => @explanation,
+ }
+ end
end
# Used to annotate for... | true |
Other | Homebrew | brew | dc16cba751fadc796e28c00c43563e518854d349.json | Update RBI files for spoom. | Library/Homebrew/sorbet/rbi/gems/spoom@1.1.7.rbi | @@ -1121,6 +1121,8 @@ module Spoom::Sorbet::Errors
end
end
+Spoom::Sorbet::Errors::DEFAULT_ERROR_URL_BASE = T.let(T.unsafe(nil), String)
+
class Spoom::Sorbet::Errors::Error
include ::Comparable
@@ -1148,8 +1150,8 @@ class Spoom::Sorbet::Errors::Error
end
class Spoom::Sorbet::Errors::Parser
- sig { voi... | false |
Other | Homebrew | brew | e7c84d9e99cdc59e8afb54f7477c7fd23e06c18a.json | Update RBI files for spoom. | Library/Homebrew/sorbet/rbi/gems/spoom@1.1.6.rbi | @@ -1,12 +1,12 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `spoom` gem.
# Please instead update this file by running `bin/tapioca gem spoom`.
-# typed: true
-
module Spoom
class << self
- sig { params(cmd: String, arg: String, path: String, capture_... | false |
Other | Homebrew | brew | c510d0401955138fd634f6b2a922e75098b66b5b.json | Update RBI files for rubocop-sorbet. | Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.4.rbi | @@ -151,7 +151,6 @@ class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < ::RuboCop::Cop::Cop
private
def allowed_paths; end
- def message; end
end
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop | false |
Other | Homebrew | brew | ac74f15f0d155e2487ca8bfb80650c2335f1812a.json | Remove some SFC references.
We're moving to OpenCollective currently. | README.md | @@ -38,19 +38,7 @@ Good luck!
Homebrew is a non-profit project run entirely by unpaid volunteers. We need your funds to pay for software, hardware and hosting around continuous integration and future improvements to the project. Every donation will be spent on making Homebrew better for our users.
-Please consider... | true |
Other | Homebrew | brew | ac74f15f0d155e2487ca8bfb80650c2335f1812a.json | Remove some SFC references.
We're moving to OpenCollective currently. | docs/New-Maintainer-Checklist.md | @@ -65,7 +65,6 @@ If they are interested in doing system administration work:
If they are elected to the Homebrew's [Project Leadership Committee](https://docs.brew.sh/Homebrew-Governance#4-project-leadership-committee):
-- Email their name, email and employer to the [Software Freedom Conservancy](https://sfconser... | true |
Other | Homebrew | brew | a32d513a8a69d725a842484f4dcc56e65fda40be.json | Update RBI files for regexp_parser. | Library/Homebrew/sorbet/rbi/gems/regexp_parser@2.2.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `regexp_parser` gem.
# Please instead update this file by running `bin/tapioca gem regexp_parser`.
-# typed: true
-
module Regexp::Expression; end
class Regexp::Expression::Alternation < ::Regexp... | false |
Other | Homebrew | brew | f7185f14545b79d4a3d860603e464e2becbc7463.json | workflows: remove outdated Xcode switch | .github/workflows/tests.yml | @@ -267,9 +267,6 @@ jobs:
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- - name: Set up Xcode
- run: sudo xcode-select --switch /Applications/Xcode_12.2.app/Contents/Developer
-
- run: brew test-bot --only-cleanup-before
- run: brew config | true |
Other | Homebrew | brew | f7185f14545b79d4a3d860603e464e2becbc7463.json | workflows: remove outdated Xcode switch | .github/workflows/vendor-gems.yml | @@ -26,16 +26,17 @@ jobs:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- - name: Set up Xcode
- run: sudo xcode-select --switch /Applications/Xcode_12.2.app/Contents/Developer
+
- name: Configure Git user
uses: Homebrew/act... | true |
Other | Homebrew | brew | 30c4663066b2b95b54fb0bbece8cb13fd8545735.json | Fix analytics string to test for CI | Library/Homebrew/test/utils/analytics_spec.rb | @@ -11,27 +11,29 @@
described_class.clear_os_arch_prefix_ci
end
+ ci = ", CI" if ENV["CI"]
+
it "returns OS_VERSION and prefix when HOMEBREW_PREFIX is a custom prefix on intel" do
allow(Hardware::CPU).to receive(:type).and_return(:intel)
allow(Hardware::CPU).to receive(:i... | false |
Other | Homebrew | brew | d55a8804e6d1c9a402d776fe53fb0ffb304dfa82.json | Update RBI files for rubocop-sorbet. | Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
# Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
-# typed: true
-
module RuboCop; end
module RuboCop::Cop; end
module RuboCop::Cop::Sorbet; end
... | false |
Other | Homebrew | brew | 43aa5316c2f3f93761b5bd90aa511f7f40f090c9.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -6856,8 +6856,6 @@ end
class Tempfile
def _close(); end
-
- def inspect(); end
end
class Tempfile::Remover | false |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/.mdl_ruleset.rb | @@ -0,0 +1,7 @@
+rule 'HB034', 'Bare unstyled URL used' do
+ tags :links, :url
+ aliases 'no-bare-unstyled-urls'
+ check do |doc|
+ doc.matching_text_element_lines(%r{(?<=\s)https?://})
+ end
+end | true |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/.mdl_style.rb | @@ -0,0 +1,7 @@
+all
+rule 'MD026', punctuation: ',;:' # Trailing punctuation in header
+exclude_rule 'MD013' # Line length
+exclude_rule 'MD029' # Ordered list item prefix
+exclude_rule 'MD033' # Inline HTML
+exclude_rule 'MD034' # Bare URL used (replaced by HB034)
+exclude_rule 'MD046' # Code block style | true |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/.mdlrc | @@ -0,0 +1,4 @@
+git_recurse true
+ignore_front_matter true
+style "#{File.dirname(__FILE__)}/.mdl_style.rb"
+rulesets ["#{File.dirname(__FILE__)}/.mdl_ruleset.rb"] | true |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/Gemfile | @@ -4,5 +4,6 @@ gem "github-pages", group: :jekyll_plugins
group :test do
gem "html-proofer"
+ gem "mdl"
gem "rake"
end | true |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/Gemfile.lock | @@ -9,6 +9,8 @@ GEM
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
+ chef-utils (17.8.25)
+ concurrent-ruby
coffee-script (2.4.1)
coffee-script-source
execjs
@@ -226,13 +228,24 @@ GEM
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3... | true |
Other | Homebrew | brew | 45bf8b011800130f296af761be87edcc50e64e0c.json | docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`. | docs/Rakefile | @@ -7,7 +7,12 @@ task :build do
sh "jekyll", "build"
end
-desc "Run html proofer to validate the HTML output."
+desc "Run Markdownlint to validate the Markdown style."
+task lint: :build do
+ sh "mdl", "."
+end
+
+desc "Run HTMLProofer to validate the HTML output."
task test: :build do
require "html-proofer"... | true |
Other | Homebrew | brew | 7b9d50217ef18442dbe89794f3c21bf1f97d26ad.json | Update RBI files for rubocop-ast. | Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.14.0.rbi | @@ -1450,6 +1450,7 @@ RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_MATCH_MATCH = T.let(T.unsafe(nil), Set)
RuboCop::AST::NodePattern::Sets::SET_MATCH__MATCH = T.let(T.uns... | true |
Other | Homebrew | brew | 7b9d50217ef18442dbe89794f3c21bf1f97d26ad.json | Update RBI files for rubocop-ast. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -5113,10 +5113,7 @@ module RuboCop::AST::NodePattern::Sets
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::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_NEW_ = ::T.let(nil, ::T.untyped)
SET_SYSTEM_SHELL_OUTPUT_PIPE_O... | true |
Other | Homebrew | brew | c6ca375d5a1f27e9070bba07ebdb22b136664939.json | utils/ruby.sh: fix error with older Bash
Fixes #12472. | Library/Homebrew/utils/ruby.sh | @@ -31,7 +31,7 @@ find_ruby() {
fi
done < <(
# function which() is set by brew.sh
- # it's aliased to `type -P`
+ # it is aliased to `type -P`
# shellcheck disable=SC2230
which -a ruby
# shellcheck disable=SC2230 | false |
Other | Homebrew | brew | 4d768e85c23c2d5917e9f9586eddc449656e89a6.json | bug.yml: fix missing `label` property
Submitting bug reports hasn't worked for a while because of the missing
`label`.
My editor complained about `labels` needing to be an array, so I've made
that one too. It was also complaining about the missing label property
for the checkboxes, so I guess it knows what it's talki... | .github/ISSUE_TEMPLATE/bug.yml | @@ -1,6 +1,6 @@
name: New issue for Reproducible Bug
description: "If you're sure it's reproducible and not just your machine: submit an issue so we can investigate."
-labels: bug
+labels: [bug]
body:
- type: markdown
attributes:
@@ -19,6 +19,7 @@ body:
required: true
- type: checkboxes
attrib... | false |
Other | Homebrew | brew | c31a9d0c458f0211347f9dd37db0cd92d1a2111e.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -6354,10 +6354,6 @@ class Set
def ===(o); end
- def compare_by_identity(); end
-
- def compare_by_identity?(); end
-
def divide(&func); end
def eql?(o); end | false |
Other | Homebrew | brew | 29f08603bf8aae32b0d2f096b389eb571bbcd436.json | Add support for PowerShell-preview package | Library/Homebrew/cmd/shellenv.sh | @@ -35,7 +35,7 @@ homebrew-shellenv() {
echo "setenv MANPATH ${HOMEBREW_PREFIX}/share/man\`[ \${?MANPATH} == 1 ] && echo \":\${MANPATH}\"\`:;"
echo "setenv INFOPATH ${HOMEBREW_PREFIX}/share/info\`[ \${?INFOPATH} == 1 ] && echo \":\${INFOPATH}\"\`;"
;;
- pwsh | -pwsh)
+ pwsh | -pwsh | pwsh-pre... | false |
Other | Homebrew | brew | aa9e2e529ac820f449f39cf1992e5dd221079fcf.json | Update RBI files for yard. | Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi | @@ -135,6 +135,7 @@ module YARD
def ruby18?; end
def ruby19?; end
def ruby2?; end
+ def ruby3?; end
def windows?; end
end
end
@@ -1346,7 +1347,12 @@ class YARD::Handlers::Ruby::MixinHandler < ::YARD::Handlers::Ruby::Base
def recipient(mixin); end
end
-class YARD::Handlers::Ruby::ModuleF... | false |
Other | Homebrew | brew | 574e4e5972a8bca2bf7548a38d05d53a0bc4177b.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.9.rbi | @@ -1018,6 +1018,9 @@ class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor
private
+ sig { params(node: RBI::Node, previous: RBI::Node).returns(T::Boolean) }
+ def can_delete_node?(node, previous); end
+
sig { params(node: RBI::Node, previous: RBI::Node).void }
def delete_node(node, previous); e... | false |
Other | Homebrew | brew | ea72daf7bbd0bc73280ff8140a1af5aaf370d782.json | upgrade: fix undefined method error
Fixes Homebrew/discussions#2567. | Library/Homebrew/upgrade.rb | @@ -279,7 +279,7 @@ def check_installed_dependents(
# Ensure we never attempt a source build for outdated dependents of upgraded formulae.
outdated_dependents, skipped_dependents = outdated_dependents.partition do |dependent|
- dependent.bottled? && dependent.deps.all?(&:bottled?)
+ depend... | false |
Other | Homebrew | brew | 65f17664971391895d8167963e07517742730309.json | Remove unknown YARD tags | Library/Homebrew/extend/ENV/super.rb | @@ -30,7 +30,6 @@ def self.extended(base)
end
# The location of Homebrew's shims on this OS.
- # @public
sig { returns(Pathname) }
def self.shims_path
HOMEBREW_SHIMS_PATH/"super" | true |
Other | Homebrew | brew | 65f17664971391895d8167963e07517742730309.json | Remove unknown YARD tags | Library/Homebrew/extend/os/linux/extend/ENV/super.rb | @@ -5,7 +5,6 @@ module Superenv
extend T::Sig
# The location of Homebrew's shims on Linux.
- # @public
def self.shims_path
HOMEBREW_SHIMS_PATH/"linux/super"
end | true |
Other | Homebrew | brew | 65f17664971391895d8167963e07517742730309.json | Remove unknown YARD tags | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | @@ -6,7 +6,6 @@ module Superenv
class << self
# The location of Homebrew's shims on macOS.
- # @public
def shims_path
HOMEBREW_SHIMS_PATH/"mac/super"
end | true |
Other | Homebrew | brew | 302975829db019bdcd33f1662dbe04a765b08d5f.json | service: add basic cron support | Library/Homebrew/service.rb | @@ -145,10 +145,8 @@ def run_type(value = nil)
case T.unsafe(value)
when nil
@run_type
- when :immediate, :interval
+ when :immediate, :interval, :cron
@run_type = value
- when :cron
- raise TypeError, "Service#run_type does not support cron"
when Symbol
... | true |
Other | Homebrew | brew | 302975829db019bdcd33f1662dbe04a765b08d5f.json | service: add basic cron support | Library/Homebrew/test/service_spec.rb | @@ -32,16 +32,20 @@
end
end
- describe "#run_type" do
- it "throws for cron type" do
+ describe "#process_type" do
+ it "throws for unexpected type" do
f.class.service do
run opt_bin/"beanstalkd"
- run_type :cron
+ process_type :cow
end
- expect { f.service.... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/formula.rb | @@ -1005,6 +1005,12 @@ def systemd_service_path
opt_prefix/"#{service_name}.service"
end
+ # The generated systemd {.timer} file path.
+ sig { returns(Pathname) }
+ def systemd_timer_path
+ opt_prefix/"#{service_name}.timer"
+ end
+
# The service specification of the software.
def service
re... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/formula_installer.rb | @@ -1043,6 +1043,12 @@ def install_service
service_path = formula.systemd_service_path
service_path.atomic_write(formula.service.to_systemd_unit)
service_path.chmod 0644
+
+ if formula.service.timed?
+ timer_path = formula.systemd_timer_path
+ timer_path.atomic_write(formula.serv... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/service.rb | @@ -203,6 +203,8 @@ def command
@run.map(&:to_s)
end
+ # Returns the `String` command to run manually instead of the service.
+ # @return [String]
sig { returns(String) }
def manual_command
instance_eval(&@service_block)
@@ -213,6 +215,14 @@ def manual_command
out.join(" ")
... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/test/formula_installer_spec.rb | @@ -245,10 +245,11 @@ class #{Formulary.class_s(dep_name)} < Formula
expect(formula).to receive(:plist).and_return(nil)
expect(formula).to receive(:service?).exactly(3).and_return(true)
- expect(formula).to receive(:service).twice.and_return(service)
+ expect(formula).to receive(:service).exac... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/test/formula_spec.rb | @@ -758,6 +758,7 @@
expect(f.service_name).to eq("homebrew.formula_name")
expect(f.plist_path).to eq(HOMEBREW_PREFIX/"opt/formula_name/homebrew.mxcl.formula_name.plist")
expect(f.systemd_service_path).to eq(HOMEBREW_PREFIX/"opt/formula_name/homebrew.formula_name.service")
+ expect(f.systemd_ti... | true |
Other | Homebrew | brew | 4cb8afeeef6d9457e8741131dcdc79a69312403b.json | service: add timer support for systemd | Library/Homebrew/test/service_spec.rb | @@ -272,6 +272,70 @@
end
end
+ describe "#to_systemd_timer" do
+ it "returns valid timer" do
+ f.class.service do
+ run [opt_bin/"beanstalkd", "test"]
+ run_type :interval
+ interval 5
+ end
+
+ unit = f.service.to_systemd_timer
+ unit_expect = <<~EOS
+ [Uni... | true |
Other | Homebrew | brew | cec3f2190a2b50da25fa26fbbdb005e29d31a06c.json | Add shellenv template for PowerShell | Library/Homebrew/cmd/shellenv.sh | @@ -35,6 +35,15 @@ homebrew-shellenv() {
echo "setenv MANPATH ${HOMEBREW_PREFIX}/share/man\`[ \${?MANPATH} == 1 ] && echo \":\${MANPATH}\"\`:;"
echo "setenv INFOPATH ${HOMEBREW_PREFIX}/share/info\`[ \${?INFOPATH} == 1 ] && echo \":\${INFOPATH}\"\`;"
;;
+ pwsh | -pwsh)
+ echo "[System.Enviro... | false |
Other | Homebrew | brew | df0258b9f886cf38c97ebe0b25205d470197f4e2.json | Update RBI files for parser. | Library/Homebrew/sorbet/rbi/gems/parser@3.0.3.1.rbi | @@ -376,6 +376,7 @@ class Parser::Builders::Default
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
def unquoted_map(token); end
def validate_definee(definee); end
+ def validate_no_forward_arg_after_restarg(args); end
def value(token); end
def var_send_map(variable_e); end
def variable_map(name_t... | false |
Other | Homebrew | brew | ed3042c37a66b5dddcdd426221dbb38f88272f41.json | livecheck: use brewed curl if called for by download URL | Library/Homebrew/livecheck/livecheck.rb | @@ -529,6 +529,28 @@ def preprocess_url(url)
url
end
+ # Fetch with brewed curl if using the download or homepage URL
+ # and the download URL specifies `using: :homebrew_curl`.
+ sig { params(formula_or_cask: T.any(Formula, Cask::Cask), url: String).returns(T::Boolean) }
+ def use_homebrew_cu... | true |
Other | Homebrew | brew | ed3042c37a66b5dddcdd426221dbb38f88272f41.json | livecheck: use brewed curl if called for by download URL | Library/Homebrew/livecheck/strategy.rb | @@ -171,16 +171,18 @@ def from_url(url, livecheck_strategy: nil, url_provided: false, regex_provided:
# collected into an array of hashes.
#
# @param url [String] the URL to fetch
+ # @param homebrew_curl [Boolean] whether to use brewed curl with the URL
# @return [Array]
- sig { p... | true |
Other | Homebrew | brew | ed3042c37a66b5dddcdd426221dbb38f88272f41.json | livecheck: use brewed curl if called for by download URL | Library/Homebrew/livecheck/strategy/header_match.rb | @@ -71,19 +71,21 @@ def self.versions_from_headers(headers, regex = nil, &block)
#
# @param url [String] the URL to fetch
# @param regex [Regexp, nil] a regex used for matching versions
+ # @param homebrew_curl [Boolean] whether to use brewed curl with the URL
# @return [Hash]... | true |
Other | Homebrew | brew | ed3042c37a66b5dddcdd426221dbb38f88272f41.json | livecheck: use brewed curl if called for by download URL | Library/Homebrew/livecheck/strategy/page_match.rb | @@ -79,17 +79,19 @@ def self.versions_from_content(content, regex, &block)
# @param regex [Regexp, nil] a regex used for matching versions
# @param provided_content [String, nil] page content to use in place of
# fetching via Strategy#page_content
+ # @param homebrew_curl [Boolean] w... | true |
Other | Homebrew | brew | ed3042c37a66b5dddcdd426221dbb38f88272f41.json | livecheck: use brewed curl if called for by download URL | Library/Homebrew/test/livecheck/livecheck_spec.rb | @@ -16,7 +16,7 @@
formula("test") do
desc "Test formula"
homepage "https://brew.sh"
- url "https://brew.sh/test-0.0.1.tgz"
+ url "https://brew.sh/test-0.0.1.tgz", using: :homebrew_curl
head "https://github.com/Homebrew/brew.git"
livecheck do
@@ -31,7 +31,7 @@
cask "te... | true |
Other | Homebrew | brew | 2b9784864d184373f1baeb765d38f77624895639.json | docs/Versions: require ABI stability | docs/Versions.md | @@ -17,6 +17,7 @@ Versioned formulae we include in [homebrew/core](https://github.com/homebrew/hom
* Versioned formulae should not have `resource`s that require security updates. For example, a `node@6` formula should not have an `npm` resource but instead rely on the `npm` provided by the upstream tarball.
* Version... | false |
Other | Homebrew | brew | 6337dbfac948e3c5fbfc25477fbe33d5b2b41703.json | ENV/super: enable deterministic archive generation | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | @@ -127,6 +127,12 @@ def setup_build_environment(formula: nil, cc: nil, build_bottle: false, bottle_a
# The tools in /usr/bin proxy to the active developer directory.
# This means we can use them for any combination of CLT and Xcode.
self["HOMEBREW_PREFER_CLT_PROXIES"] = "1"
+
+ # Deterministic timest... | false |
Other | Homebrew | brew | 0c1389d97ce003580edbc4ea8f6c74ca4db4d4c5.json | Update RBI files for simplecov-cobertura. | Library/Homebrew/sorbet/rbi/gems/simplecov-cobertura@2.0.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-cobertura` gem.
# Please instead update this file by running `bin/tapioca gem simplecov-cobertura`.
-# typed: true
-
module SimpleCov
extend ::SimpleCov::Configuration
@@ -66,9 +66,1... | false |
Other | Homebrew | brew | c4b49c52af1853ad8957a6ebedcba9fb5325b7f8.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.8.rbi | @@ -26,6 +26,23 @@ class RBI::ASTVisitor
def parse_name(node); end
end
+class RBI::Arg < ::RBI::Node
+ sig { params(value: String, loc: T.nilable(RBI::Loc)).void }
+ def initialize(value, loc: T.unsafe(nil)); end
+
+ sig { params(other: T.nilable(Object)).returns(T::Boolean) }
+ def ==(other); end
+
+ sig { ... | true |
Other | Homebrew | brew | c4b49c52af1853ad8957a6ebedcba9fb5325b7f8.json | Update RBI files for rbi. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -4282,6 +4282,12 @@ class RBI::Rewriters::Merge
extend ::T::Private::Methods::SingletonMethodHooks
end
+class RBI::Rewriters::RemoveKnownDefinitions::Operation
+ extend ::T::Sig
+ extend ::T::Private::Methods::MethodHooks
+ extend ::T::Private::Methods::SingletonMethodHooks
+end
+
class RBI::Visitor
ext... | true |
Other | Homebrew | brew | 9f9cd757a1d065c7ed783390d92ff7140f6c24b7.json | Update RBI files for parser. | Library/Homebrew/sorbet/rbi/gems/parser@3.0.3.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `parser` gem.
# Please instead update this file by running `bin/tapioca gem parser`.
-# typed: true
-
module Parser
class << self
private
@@ -280,6 +280,7 @@ class Parser::Builders::Default
... | false |
Other | Homebrew | brew | 11c5f8f05ad01439aefcbf518816f6833a1a043d.json | Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependen... | Library/Homebrew/.rubocop.yml | @@ -16,7 +16,7 @@ Lint/NestedMethodDefinition:
Metrics/AbcSize:
Max: 280
Metrics/BlockLength:
- Max: 100
+ Max: 102
Exclude:
# TODO: extract more of the bottling logic
- "dev-cmd/bottle.rb" | true |
Other | Homebrew | brew | 11c5f8f05ad01439aefcbf518816f6833a1a043d.json | Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependen... | Library/Homebrew/brew.rb | @@ -179,10 +179,13 @@ class MissingEnvironmentVariables < RuntimeError; end
exit 1
rescue Exception => e # rubocop:disable Lint/RescueException
onoe e
- if internal_cmd && defined?(OS::ISSUES_URL) &&
- !Homebrew::EnvConfig.no_auto_update?
- $stderr.puts "#{Tty.bold}Please report this issue:#{Tty.reset}"
... | true |
Other | Homebrew | brew | 11c5f8f05ad01439aefcbf518816f6833a1a043d.json | Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependen... | Library/Homebrew/cleanup.rb | @@ -161,6 +161,7 @@ def self.install_formula_clean!(f, dry_run: false)
if cleanup.periodic_clean_due?
cleanup.periodic_clean!
elsif f.latest_version_installed? && !cleanup.skip_clean_formula?(f)
+ ohai "Running `brew cleanup #{f}`..."
cleanup.cleanup_formula(f)
end
end... | true |
Other | Homebrew | brew | 11c5f8f05ad01439aefcbf518816f6833a1a043d.json | Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependen... | Library/Homebrew/cmd/install.rb | @@ -27,8 +27,14 @@ def install_args
Install a <formula> or <cask>. Additional options specific to a <formula> may be
appended to the command.
+ Unless `HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set, `brew upgrade` or `brew reinstall` will be run for
+ outdated dependents and dependent... | true |
Other | Homebrew | brew | 11c5f8f05ad01439aefcbf518816f6833a1a043d.json | Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependen... | Library/Homebrew/cmd/reinstall.rb | @@ -26,6 +26,9 @@ def reinstall_args
Uninstall and then reinstall a <formula> or <cask> using the same options it was
originally installed with, plus any appended options specific to a <formula>.
+ Unless `HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set, `brew upgrade` or `brew reinstall` will... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.