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
b23f66982f823037254e5c4822f1ed2f00c6a2f8.json
Improve external command documentation Extract `brew bundle` and `brew services` docs from their help. Add a little for `brew cask` until we can think about e.g. merging the manpages.
Library/Homebrew/utils.rb
@@ -572,3 +572,7 @@ def tap_and_name_comparison end end end + +def command_help_lines(path) + path.read.lines.grep(/^#:/).map { |line| line.slice(2..-1) } +end
true
Other
Homebrew
brew
b23f66982f823037254e5c4822f1ed2f00c6a2f8.json
Improve external command documentation Extract `brew bundle` and `brew services` docs from their help. Add a little for `brew cask` until we can think about e.g. merging the manpages.
docs/Manpage.md
@@ -907,17 +907,137 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note ## OFFICIAL EXTERNAL COMMANDS - * `bundle`: - Bundler for non-Ruby dependencies from Homebrew: - <https://github.com/Homebrew/homebrew-bundle> + * `bundle` `command`: - * `cask`: - Install macOS app...
true
Other
Homebrew
brew
b23f66982f823037254e5c4822f1ed2f00c6a2f8.json
Improve external command documentation Extract `brew bundle` and `brew services` docs from their help. Add a little for `brew cask` until we can think about e.g. merging the manpages.
manpages/brew.1
@@ -930,16 +930,140 @@ If \fB\-\-keep\-tmp\fR is passed, retain the temporary directory containing the .SH "OFFICIAL EXTERNAL COMMANDS" . .TP -\fBbundle\fR -Bundler for non\-Ruby dependencies from Homebrew: \fIhttps://github\.com/Homebrew/homebrew\-bundle\fR +\fBbundle\fR \fIcommand\fR: +. +.IP +Bundler for non\-Rub...
true
Other
Homebrew
brew
656986153b6be30ed5519a31ab7891253f209da6.json
Stop file ext detection at query param boundaries This commit improves Homebrew’s extension detector in `cask/lib/hbc/download_strategy.rb` a bit so that it won’t cross individual URL query param boundaries any longer: ``` def ext Pathname.new(@url).extname[/[^?&]+/] end ```
Library/Homebrew/cask/lib/hbc/download_strategy.rb
@@ -154,7 +154,7 @@ def referer_args end def ext - Pathname.new(@url).extname[/[^?]+/] + Pathname.new(@url).extname[/[^?&]+/] end end
false
Other
Homebrew
brew
ba830df4e6759c7f3e5c5772484ed28ef6fba3f9.json
Add tests for CurlDownloadStrategy#tarball_path Sometimes, `brew cask fetch`/`install` fails with an error message similar to this: ``` ==> Downloading https://w3g3a5v6.ssl.hwcdn.net/upload2/game/214692/735 Error: Download failed on Cask 'steamed-hams' with message: Operation not supported @ rb_sysopen - /Users/claud...
Library/Homebrew/test/cask/download_strategy_spec.rb
@@ -93,6 +93,66 @@ expect(curl_args.each_cons(2)).to include(["-e", "http://somehost/also"]) end end + + context "with a file name trailing the URL path" do + describe "#tarball_path" do + subject { downloader.tarball_path } + its(:extname) { is_expected.to eq(".dmg") } + ...
false
Other
Homebrew
brew
461bb20b7cd72ec8fc23b9b6b6d75ef6cb534624.json
utils/git: use exact format for last_revision_* Format for oneline can be overridden in user's gitconfig. If that's the case, last_revision_commit_of_file won't work properly, and because of that last_revision_of_file won't work at all. Here's what I was getting when running brew tests: expected: "6bec2de" ...
Library/Homebrew/utils/git.rb
@@ -8,9 +8,10 @@ def last_revision_commit_of_file(repo, file, before_commit: nil) out, = Open3.capture3( HOMEBREW_SHIMS_PATH/"scm/git", "-C", repo, - "log", "--oneline", "--max-count=1", *args, "--", file + "log", "--format=%h", "--abbrev=7", "--max-count=1", + *args, "--", file ) - ...
false
Other
Homebrew
brew
e817bba18d8026b528fb3abb52a9e1a46aaef565.json
upgrade: add HOMEBREW_UPGRADE_CLEANUP variable. Allow users to specify they want `brew upgrade --cleanup` to always be run when they run `brew upgrade`.
Library/Homebrew/cmd/upgrade.rb
@@ -3,7 +3,8 @@ #: #: Options for the `install` command are also valid here. #: -#: If `--cleanup` is specified then remove previously installed <formula> version(s). +#: If `--cleanup` is specified or `HOMEBREW_UPGRADE_CLEANUP` is set then remove +#: previously installed <formula> version(s). #: #: ...
true
Other
Homebrew
brew
e817bba18d8026b528fb3abb52a9e1a46aaef565.json
upgrade: add HOMEBREW_UPGRADE_CLEANUP variable. Allow users to specify they want `brew upgrade --cleanup` to always be run when they run `brew upgrade`.
Library/Homebrew/manpages/brew.1.md.erb
@@ -242,6 +242,9 @@ can take several different forms: This issue typically occurs when using FileVault or custom SSD configurations. + * `HOMEBREW_UPGRADE_CLEANUP`: + If set, `brew upgrade` always assumes `--cleanup` has been passed. + * `HOMEBREW_VERBOSE`: If set, Homebrew always assumes `--ver...
true
Other
Homebrew
brew
e817bba18d8026b528fb3abb52a9e1a46aaef565.json
upgrade: add HOMEBREW_UPGRADE_CLEANUP variable. Allow users to specify they want `brew upgrade --cleanup` to always be run when they run `brew upgrade`.
docs/Manpage.md
@@ -554,7 +554,8 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Options for the `install` command are also valid here. - If `--cleanup` is specified then remove previously installed `formula` version(s). + If `--cleanup` is specified or `HOMEBREW_UPGRADE_CLEANUP` is se...
true
Other
Homebrew
brew
e817bba18d8026b528fb3abb52a9e1a46aaef565.json
upgrade: add HOMEBREW_UPGRADE_CLEANUP variable. Allow users to specify they want `brew upgrade --cleanup` to always be run when they run `brew upgrade`.
manpages/brew.1
@@ -570,7 +570,7 @@ Upgrade outdated, unpinned brews (with existing install options)\. Options for the \fBinstall\fR command are also valid here\. . .IP -If \fB\-\-cleanup\fR is specified then remove previously installed \fIformula\fR version(s)\. +If \fB\-\-cleanup\fR is specified or \fBHOMEBREW_UPGRADE_CLEANUP\fR ...
true
Other
Homebrew
brew
69b9c11ae8dc2dcb6bbc15bf6a841aad707f137e.json
Fix style in `brew create`-generated formulae - Fix indentation oddities - Add empty lines where we expect them in submitted formulae
Library/Homebrew/dev-cmd/create.rb
@@ -170,7 +170,7 @@ def template # Documentation: https://docs.brew.sh/Formula-Cookbook # http://www.rubydoc.info/github/Homebrew/brew/master/Formula # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! - class #{Formulary.class_s(name)} < Formula + ...
false
Other
Homebrew
brew
371dd7feec38ffda3c140dc0afae1b10fc5311c4.json
Homebrew-and-Python: update binary locations. Updated to comply with PEP 394: https://www.python.org/dev/peps/pep-0394/
docs/Homebrew-and-Python.md
@@ -12,10 +12,11 @@ Homebrew provides formulae to brew 3.x and a more up-to-date Python 2.7.x. Homebrew provides one formula for Python 3.x (`python`) and another for Python 2.7.x (`python@2`). The executables are organized as follows so that Python 2 and Python 3 can both be installed without conflict: -* `python`...
false
Other
Homebrew
brew
718a2112d7b7292c6a6017b4d5bcfd185b68baea.json
rubocop.yml: adjust rules for 0.53.0.
Library/.rubocop.yml
@@ -26,6 +26,9 @@ Layout/CaseIndentation: Layout/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true +Layout/EndAlignment: + EnforcedStyleAlignWith: variable + Layout/IndentArray: EnforcedStyle: special_inside_parentheses @@ -52,9 +55,6 @@ Lint/AmbiguousBlockAssociation: Lint/AssignmentInCondition: En...
true
Other
Homebrew
brew
718a2112d7b7292c6a6017b4d5bcfd185b68baea.json
rubocop.yml: adjust rules for 0.53.0.
Library/Homebrew/.rubocop.yml
@@ -68,6 +68,10 @@ Naming/PredicateName: - 'compat/**/*' NameWhitelist: is_32_bit?, is_64_bit? +# f meaning formulae is pretty standard +Naming/UncommunicativeMethodParamName: + Enabled: false + Style/BlockDelimiters: Exclude: - '**/*_spec.rb'
true
Other
Homebrew
brew
36dadbee474cdb80e8a66a410d97179665d2bf64.json
caveats: remove python caveats. These instructions are currently incorrect and need to be ported to `python` 3.x and `python@2` formulae. Until then it's better to not have them than have them be incorrect. Closes #3890.
Library/Homebrew/caveats.rb
@@ -25,7 +25,6 @@ def caveats caveats << function_completion_caveats(:zsh) caveats << function_completion_caveats(:fish) caveats << plist_caveats - caveats << python_caveats caveats << elisp_caveats caveats.compact.join("\n") end @@ -108,53 +107,6 @@ def function_completion_caveats(shell)...
true
Other
Homebrew
brew
36dadbee474cdb80e8a66a410d97179665d2bf64.json
caveats: remove python caveats. These instructions are currently incorrect and need to be ported to `python` 3.x and `python@2` formulae. Until then it's better to not have them than have them be incorrect. Closes #3890.
Library/Homebrew/test/caveats_spec.rb
@@ -201,45 +201,5 @@ def plist expect(caveats).to include(HOMEBREW_PREFIX/"share/fish/vendor_completions.d") end end - - context "python caveats" do - before do - (f.prefix.resolved_path/"lib/python2.7/site-packages").mkpath - end - - context "when f is not keg_only" do - ...
true
Other
Homebrew
brew
7603d05d053db11c7a7606d5fc414cee3b23df13.json
cask dsl caveats
Library/Homebrew/cask/lib/hbc/dsl/caveats.rb
@@ -90,7 +90,7 @@ def eval_caveats(&block) brew cask install java EOS - elsif java_version.include?("9") || java_version.include?("+") + elsif java_version.include?("10") || java_version.include?("+") <<~EOS #{@cask} requires Java #{java_version}. You ca...
false
Other
Homebrew
brew
11817fe1f7d9abf9960fc42598f13c12699d5889.json
Generalize the regex determining the Xcode version. The current regex only matches a single digit for each component of the version (e.g. 9.2). This modifies it to match multiple digits in each component, so that e.g. 10.42 will be matched.
Library/Homebrew/os/mac/xcode.rb
@@ -131,7 +131,7 @@ def detect_version xcodebuild_output = Utils.popen_read(xcodebuild_path, "-version") next unless $CHILD_STATUS.success? - xcode_version = xcodebuild_output[/Xcode (\d(\.\d)*)/, 1] + xcode_version = xcodebuild_output[/Xcode (\d+(\.\d+)*)/, 1] retur...
false
Other
Homebrew
brew
4f1a3ee8dca1eb3e8ccfb116a5ffef6a654b8fd6.json
Update Homebrew-and-Python to describe install I believe the Homebrew-and-Python page could use a description on how to exactly install Python 2.X and 3.X with Homebrew. The syntax is written to my best knowledge (but likely wrong), please update this so that it is correct. Finding out the correct syntax is what a...
docs/Homebrew-and-Python.md
@@ -9,7 +9,26 @@ Homebrew provides formulae to brew 3.x and a more up-to-date Python 2.7.x. **Important:** If you choose to install a Python which isn't either of these two (system Python or brewed Python), the Homebrew team cannot support any breakage that may occur. ## Python 3.x or Python 2.x -Homebrew provides ...
false
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/compat/dependency_collector.rb
@@ -52,11 +52,11 @@ def parse_symbol_spec(spec, tags) output_deprecation(spec, "open-mpi") Dependency.new("open-mpi", tags) when :python, :python2 + output_deprecation(spec, "python@2") + Dependency.new("python@2", tags) + when :python3 output_deprecation(spec, "pyth...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/compat/requirements.rb
@@ -84,16 +84,16 @@ class PostgresqlRequirement < Requirement class PythonRequirement < Requirement fatal true satisfy do - odeprecated("PythonRequirement", "'depends_on \"python\"'") - which "python" + odeprecated("PythonRequirement", "'depends_on \"python@2\"'") + which "python2" end end cla...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/compat/requirements/language_module_requirement.rb
@@ -38,9 +38,9 @@ def the_test when :perl ["/usr/bin/env", "perl", "-e", "use #{@import_name}"] when :python - ["/usr/bin/env", "python", "-c", "import #{@import_name}"] + ["/usr/bin/env", "python2", "-c", "import #{@import_name}"] when :python3 - ["/usr/bin/env", "python3", "-c", "...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/diagnostic.rb
@@ -934,7 +934,7 @@ def check_for_old_homebrew_share_python_in_path from your PATH variable. Python scripts will now install into #{HOMEBREW_PREFIX}/bin. You can delete anything, except 'Extras', from the #{HOMEBREW_PREFIX}/share/python - (and #{HOMEBREW_PREFIX}/share/p...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/exceptions.rb
@@ -343,8 +343,8 @@ class FormulaAmbiguousPythonError < RuntimeError def initialize(formula) super <<~EOS The version of python to use with the virtualenv in the `#{formula.full_name}` formula - cannot be guessed automatically. If the simultaneous use of python and python3 - is intentional, ple...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/formula.rb
@@ -2201,12 +2201,12 @@ def go_resource(name, &block) # # `build.with?` or `build.without? "another_formula"`: # depends_on "postgresql" if build.without? "sqlite" # + # <pre># Python 3.x if the `--with-python` is given to `brew install example` + # depends_on "python3" => :optional</pre> # <p...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/language/python.rb
@@ -89,7 +89,7 @@ def self.included(base) # @param venv_root [Pathname, String] the path to the root of the virtualenv # (often `libexec/"venv"`) # @param python [String] which interpreter to use (e.g. "python" - # or "python3") + # or "python2") # @param formula [Formula] th...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
Library/Homebrew/test/language_module_requirement_spec.rb
@@ -31,10 +31,6 @@ it "does not satisfy invalid dependencies" do expect(described_class.new(:python, "notapackage")).not_to be_satisfied end - - it "satisfies valid dependencies" do - expect(described_class.new(:python, "datetime")).to be_satisfied - end end context "when the languag...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
docs/Gems,-Eggs-and-Perl-Modules.md
@@ -11,8 +11,8 @@ Starting with OS X Lion (10.7), you need `sudo` to install to these like so: `sudo gem install`, `sudo easy_install` or `sudo cpan -i`. An option to avoid sudo is to use an access control list: -`chmod +a 'user:YOUR_NAME_HERE allow add_subdirectory,add_file,delete_child,directory_inherit' /Library...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
docs/Homebrew-and-Python.md
@@ -4,33 +4,32 @@ This page describes how Python is handled in Homebrew for users. See [Python for Homebrew should work with any [CPython](https://stackoverflow.com/questions/2324208/is-there-any-difference-between-cpython-and-python) and defaults to the macOS system Python. -Homebrew provides formulae to brew a m...
true
Other
Homebrew
brew
70253f0009ee8095a5d10ee7bdd891f1fe5cc35c.json
Adjust docs and more internal code for Python 3. Now we have `python` for Python 3 and `python@2` for Python 2 some more adjustments need to be made.
docs/Python-for-Formula-Authors.md
@@ -16,16 +16,16 @@ Applications should unconditionally bundle all of their Python-language dependen ### Python declarations +Formulae for apps that require Python 3 **should** declare an unconditional dependency on `"python"`. These apps **must** work with the current Homebrew Python 3.x formula. + Applications ...
true
Other
Homebrew
brew
84dda31e82607424b435a60504ffc288f16c6ade.json
Add tests for ENV#clear_sensitive_environment!
Library/Homebrew/extend/ENV.rb
@@ -28,9 +28,9 @@ def with_build_environment end def clear_sensitive_environment! - ENV.each_key do |key| + each_key do |key| next unless /(cookie|key|token|password)/i =~ key - ENV.delete key + delete key end end end
true
Other
Homebrew
brew
84dda31e82607424b435a60504ffc288f16c6ade.json
Add tests for ENV#clear_sensitive_environment!
Library/Homebrew/test/ENV_spec.rb
@@ -141,6 +141,20 @@ expect(subject["MAKEFLAGS"]).to eq("-j4") end + + describe "#clear_sensitive_environment!" do + it "removes sensitive environment variables" do + subject["SECRET_TOKEN"] = "password" + subject.clear_sensitive_environment! + expect(subject).not_to include("SECRET_TOKEN")...
true
Other
Homebrew
brew
09f343d4961c454100c01390761c8ebc153fe594.json
rubocop: Add cop to check `depends_on` order and tests
Library/Homebrew/rubocops.rb
@@ -2,6 +2,7 @@ require_relative "./rubocops/formula_desc_cop" require_relative "./rubocops/components_order_cop" require_relative "./rubocops/components_redundancy_cop" +require_relative "./rubocops/dependency_order_cop" require_relative "./rubocops/homepage_cop" require_relative "./rubocops/text_cop" require_re...
true
Other
Homebrew
brew
09f343d4961c454100c01390761c8ebc153fe594.json
rubocop: Add cop to check `depends_on` order and tests
Library/Homebrew/rubocops/dependency_order_cop.rb
@@ -0,0 +1,166 @@ +require_relative "./extend/formula_cop" + +module RuboCop + module Cop + module NewFormulaAudit + # This cop checks for correct order of `depends_on` in a Formula + # + # precedence order: + # build-time > run-time > normal > recommended > optional + class DependencyOrder...
true
Other
Homebrew
brew
09f343d4961c454100c01390761c8ebc153fe594.json
rubocop: Add cop to check `depends_on` order and tests
Library/Homebrew/test/rubocops/dependency_order_cop_spec.rb
@@ -0,0 +1,75 @@ +require_relative "../../rubocops/dependency_order_cop" + +describe RuboCop::Cop::NewFormulaAudit::DependencyOrder do + subject(:cop) { described_class.new } + + context "depends_on" do + it "wrong conditional depends_on order" do + expect_offense(<<~RUBY) + class Foo < Formula + ...
true
Other
Homebrew
brew
db615a419afb99f186fb6df7c859f7538a7524ba.json
dev-cmd/ruby: fix path to dev-cmd/irb and add test
Library/Homebrew/dev-cmd/ruby.rb
@@ -8,6 +8,6 @@ module Homebrew module_function def ruby - exec ENV["HOMEBREW_RUBY_PATH"], "-I#{HOMEBREW_LIBRARY_PATH}", "-rglobal", "-rcmd/irb", *ARGV + exec ENV["HOMEBREW_RUBY_PATH"], "-I#{HOMEBREW_LIBRARY_PATH}", "-rglobal", "-rdev-cmd/irb", *ARGV end end
true
Other
Homebrew
brew
db615a419afb99f186fb6df7c859f7538a7524ba.json
dev-cmd/ruby: fix path to dev-cmd/irb and add test
Library/Homebrew/test/dev-cmd/ruby_spec.rb
@@ -0,0 +1,13 @@ +describe "brew ruby", :integration_test do + it "executes ruby code with Homebrew's libraries loaded" do + expect { brew "ruby", "-e", "exit 0" } + .to be_a_success + .and not_to_output.to_stdout + .and not_to_output.to_stderr + + expect { brew "ruby", "-e", "exit 1" } + .to...
true
Other
Homebrew
brew
2205f62ec672643b845579f8687b0372b256f485.json
irb: add pry support. Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
Library/Homebrew/dev-cmd/irb.rb
@@ -1,11 +1,9 @@ -#: * `irb` [`--examples`]: +#: * `irb` [`--examples`] [`--pry`]: #: Enter the interactive Homebrew Ruby shell. #: #: If `--examples` is passed, several examples will be shown. - -require "formula" -require "keg" -require "irb" +#: If `--pry` is passed or HOMEBREW_PRY is set, pry will be ...
true
Other
Homebrew
brew
2205f62ec672643b845579f8687b0372b256f485.json
irb: add pry support. Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
Library/Homebrew/extend/ARGV.rb
@@ -267,6 +267,10 @@ def fetch_head? include? "--fetch-HEAD" end + def pry? + include?("--pry") || !ENV["HOMEBREW_PRY"].nil? + end + # eg. `foo -ns -i --bar` has three switches, n, s and i def switch?(char) return false if char.length > 1
true
Other
Homebrew
brew
2205f62ec672643b845579f8687b0372b256f485.json
irb: add pry support. Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
Library/Homebrew/manpages/brew.1.md.erb
@@ -183,6 +183,10 @@ can take several different forms: *Note:* Homebrew doesn't require permissions for any of the scopes. + * `HOMEBREW_INSTALL_BADGE`: + Text printed before the installation summary of each successful build. + Defaults to the beer emoji. + * `HOMEBREW_LOGS`: If set, Homebrew wi...
true
Other
Homebrew
brew
2205f62ec672643b845579f8687b0372b256f485.json
irb: add pry support. Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
docs/Manpage.md
@@ -280,11 +280,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note If `--git` (or `-g`) is passed, Homebrew will create a Git repository, useful for creating patches to the software. - * `irb` [`--examples`]: - Enter the interactive Homebrew Ruby shell. - - If `--exa...
true
Other
Homebrew
brew
2205f62ec672643b845579f8687b0372b256f485.json
irb: add pry support. Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
manpages/brew.1
@@ -291,13 +291,6 @@ If \fB\-\-interactive\fR (or \fB\-i\fR) is passed, download and patch \fIformula If \fB\-\-git\fR (or \fB\-g\fR) is passed, Homebrew will create a Git repository, useful for creating patches to the software\. . .TP -\fBirb\fR [\fB\-\-examples\fR] -Enter the interactive Homebrew Ruby shell\. -. -...
true
Other
Homebrew
brew
d4a3fc088f7baddf5a9bb1f9609987ffb4311046.json
travis.yml: fix bundler caching.
.travis.yml
@@ -3,7 +3,7 @@ cache: directories: - $HOME/Library/Caches/Homebrew/style - $HOME/Library/Caches/Homebrew/tests - - $HOME/Library/Homebrew/vendor/bundle + - Library/Homebrew/vendor/bundle branches: only: - master
true
Other
Homebrew
brew
d4a3fc088f7baddf5a9bb1f9609987ffb4311046.json
travis.yml: fix bundler caching.
Library/Homebrew/dev-cmd/tap-new.rb
@@ -50,8 +50,7 @@ def tap_new osx_image: xcode9.2 cache: directories: - - $HOME/.gem/ruby - - Library/Homebrew/vendor/bundle + - /usr/local/Homebrew/Library/Homebrew/vendor/bundle branches: only: - master
true
Other
Homebrew
brew
650d6dbaac625a758881a215a35d8d4a248de5bf.json
_config.yml: use extensionless permalinks.
docs/_config.yml
@@ -12,6 +12,8 @@ plugins: - jekyll-sitemap - jekyll-seo-tag +permalink: :title + defaults: - scope: path: ""
false
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Acceptable-Formulae.md
@@ -2,14 +2,14 @@ Some formulae should not go in [homebrew/core](https://github.com/Homebrew/homebrew-core). But there are -additional [Interesting Taps and Forks](Interesting-Taps-and-Forks) and anyone can start their +additional [Interesting Taps and Forks](Interesting-Taps-and-Forks.md) and anyone can start thei...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Bottles.md
@@ -8,7 +8,7 @@ If a bottle is available and usable it will be downloaded and poured automatical Bottles will not be used if the user requests it (see above), if the formula requests it (with `pour_bottle?`), if any options are specified during installation (bottles are all compiled with default options), if the bottl...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Brew-Test-Bot-For-Core-Contributors.md
@@ -5,7 +5,7 @@ If a build has run and passed on `brew test-bot` then it can be used to quickly There are two types of Jenkins jobs you will interact with: ## [Homebrew Core Pull Requests](https://jenkins.brew.sh/job/Homebrew%20Core/) -This job automatically builds any pull requests submitted to Homebrew/homebrew-c...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Building-Against-Non-Homebrew-Dependencies.md
@@ -8,4 +8,4 @@ As Homebrew became primarily a binary package manager, most users were fulfillin ## Today -If you wish to build against custom non-Homebrew dependencies that are provided by Homebrew (e.g. a non-Homebrew, non-macOS `ruby`) then you must [create and maintain your own tap](How-to-Create-and-Maintain-...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Common-Issues.md
@@ -121,7 +121,7 @@ To list all files that would be deleted: Don't follow the advice here but fix by using `Language::Python.setup_install_args` in the formula as described in -[Python for Formula Authors](Python-for-Formula-Authors). +[Python for Formula Authors](Python-for-Formula-Authors.md). ### Upgrading ma...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/External-Commands.md
@@ -44,7 +44,7 @@ Note they are largely untested, and as always, be careful about running untested ### brew-livecheck Check if there is a new upstream version of a formula. -See the [`README`](https://github.com/Homebrew/homebrew-livecheck/blob/master/README) for more info and usage. +See the [`README`](https://git...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/FAQ.md
@@ -76,11 +76,11 @@ the launchctl PATH for _all users_. For earlier versions of macOS, see [this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). ## How do I contribute to Homebrew? -Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING). +Read [CONTRIBUTING.md](ht...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Formula-Cookbook.md
@@ -29,15 +29,15 @@ Make sure you run `brew update` before you start. This turns your Homebrew insta Before submitting a new formula make sure your package: -* meets all our [Acceptable Formulae](Acceptable-Formulae) requirements +* meets all our [Acceptable Formulae](Acceptable-Formulae.md) requirements * ...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Homebrew-and-Python.md
@@ -1,6 +1,6 @@ # Python -This page describes how Python is handled in Homebrew for users. See [Python for Formula Authors](Python-for-Formula-Authors) for advice on writing formulae to install packages written in Python. +This page describes how Python is handled in Homebrew for users. See [Python for Formula Autho...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/How-To-Open-a-Homebrew-Pull-Request.md
@@ -34,7 +34,7 @@ To make a new branch and submit it for review, create a GitHub pull request with 1. Check out the `master` branch with `git checkout master`. 2. Retrieve new changes to the `master` branch with `brew update`. 3. Create a new branch from the latest `master` branch with `git checkout -b <YOUR_BRANCH_...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/How-to-Create-and-Maintain-a-Tap.md
@@ -27,7 +27,7 @@ If it’s on GitHub, users can install any of your formulae with file here. If they want to get your tap without installing any formula at the same time, -users can add it with the [`brew tap` command](Taps). +users can add it with the [`brew tap` command](Taps.md). If it’s on GitHub, they can us...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/How-to-build-software-outside-Homebrew-with-Homebrew-keg-only-dependencies.md
@@ -2,7 +2,7 @@ ## What does "keg-only" mean? -The [FAQ](FAQ) briefly explains this. +The [FAQ](FAQ.md) briefly explains this. As an example:
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Installation.md
@@ -4,7 +4,7 @@ The suggested and easiest way to install Homebrew is on the [homepage](https://brew.sh). The standard script installs Homebrew to `/usr/local` so that -[you don’t need sudo](FAQ) when you +[you don’t need sudo](FAQ.md) when you `brew install`. It is a careful script; it can be run even if you have ...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Maintainer-Guidelines.md
@@ -5,7 +5,7 @@ access** to Homebrew’s repository and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not a beginner’s guide. -Maybe you were looking for the [Formula Cookbook](Formula-Cookbook)? +Maybe you were looking for the [Formula Cookbook](Formula-Co...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/New-Maintainer-Checklist.md
@@ -59,6 +59,6 @@ If they accept, follow a few steps to get them set up: - Invite them to the [`homebrew` private maintainers 1Password](https://homebrew.1password.com/signin) - Invite them to [Google Analytics](https://analytics.google.com/analytics/web/?authuser=1#management/Settings/a76679469w115400090p120682403/%...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Node-for-Formula-Authors.md
@@ -82,7 +82,7 @@ In your formula's `install` method, do any installation steps which need to be d system "npm", "install", *Language::Node.local_npm_install_args ``` -This will install all of your Node modules dependencies to your local build path. You can now continue with your build steps and take care of the in...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/README.md
@@ -1,46 +1,46 @@ # Documentation ## Users -- [`brew` man-page (command documentation)](Manpage) -- [Troubleshooting](Troubleshooting) -- [Installation](Installation) -- [Frequently Asked Questions](FAQ) -- [Common Issues](Common-Issues) +- [`brew` man-page (command documentation)](Manpage.md) +- [Troubleshooting](...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Tips-N'-Tricks.md
@@ -3,7 +3,7 @@ ## Installing previous versions of formulae The supported method of installing specific versions of -some formulae is to see if there is a versioned formula (e.g. `gcc@6`) available. If the version you’re looking for isn’t available, consider [opening a pull request](How-To-Open-a-Homebrew-Pull-Requ...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Troubleshooting.md
@@ -12,7 +12,7 @@ Follow these steps to fix common problems: * Run `brew doctor` and fix all the warnings (**outdated Xcode/CLT and unbrewed dylibs are very likely to cause problems**). * Check that **Command Line Tools for Xcode (CLT)** and **Xcode** are up to date. * If commands fail with permissions errors, check...
true
Other
Homebrew
brew
190e665bb1db54d452ed9e0bf93c6985bd8dab5f.json
Revert "docs: use short links." This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
docs/Versions.md
@@ -18,6 +18,6 @@ Versioned formulae we include in [homebrew/core](https://github.com/homebrew/hom * Versioned formulae should be as similar as possible and sensible to the unversioned formulae. Creating or updating a versioned formula should be a chance to ask questions of the unversioned formula e.g. can some unused...
true
Other
Homebrew
brew
d05b8522d5f51db5ca2f75fe322848df9b8ff88b.json
README: use docs.brew.sh link.
README.md
@@ -1,7 +1,7 @@ # Homebrew [![GitHub release](https://img.shields.io/github/release/Homebrew/brew.svg)](https://github.com/Homebrew/brew/releases) -Features, usage and installation instructions are [summarised on the homepage](https://brew.sh). Terminology (e.g. the difference between a Cellar, Tap, Cask and so for...
false
Other
Homebrew
brew
a1bf2c072c9d2064f304a1294c51b565e8a81853.json
Use \d instead of 0-9 in regex
Library/Homebrew/system_config.rb
@@ -134,7 +134,7 @@ def describe_java return "N/A" unless which "java" java_version = Utils.popen_read("java", "-version") return "N/A" unless $CHILD_STATUS.success? - java_version[/java version "([0-9\._]+)"/, 1] || "N/A" + java_version[/java version "([\d\._]+)"/, 1] || "N/A" end ...
false
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Acceptable-Formulae.md
@@ -2,14 +2,14 @@ Some formulae should not go in [homebrew/core](https://github.com/Homebrew/homebrew-core). But there are -additional [Interesting Taps and Forks](Interesting-Taps-and-Forks.md) and anyone can start their +additional [Interesting Taps and Forks](Interesting-Taps-and-Forks) and anyone can start thei...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Bottles.md
@@ -8,7 +8,7 @@ If a bottle is available and usable it will be downloaded and poured automatical Bottles will not be used if the user requests it (see above), if the formula requests it (with `pour_bottle?`), if any options are specified during installation (bottles are all compiled with default options), if the bottl...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Brew-Test-Bot-For-Core-Contributors.md
@@ -5,7 +5,7 @@ If a build has run and passed on `brew test-bot` then it can be used to quickly There are two types of Jenkins jobs you will interact with: ## [Homebrew Core Pull Requests](https://jenkins.brew.sh/job/Homebrew%20Core/) -This job automatically builds any pull requests submitted to Homebrew/homebrew-c...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Building-Against-Non-Homebrew-Dependencies.md
@@ -8,4 +8,4 @@ As Homebrew became primarily a binary package manager, most users were fulfillin ## Today -If you wish to build against custom non-Homebrew dependencies that are provided by Homebrew (e.g. a non-Homebrew, non-macOS `ruby`) then you must [create and maintain your own tap](How-to-Create-and-Maintain-...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Common-Issues.md
@@ -121,7 +121,7 @@ To list all files that would be deleted: Don't follow the advice here but fix by using `Language::Python.setup_install_args` in the formula as described in -[Python for Formula Authors](Python-for-Formula-Authors.md). +[Python for Formula Authors](Python-for-Formula-Authors). ### Upgrading ma...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/External-Commands.md
@@ -44,7 +44,7 @@ Note they are largely untested, and as always, be careful about running untested ### brew-livecheck Check if there is a new upstream version of a formula. -See the [`README`](https://github.com/Homebrew/homebrew-livecheck/blob/master/README.md) for more info and usage. +See the [`README`](https://...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/FAQ.md
@@ -76,11 +76,11 @@ the launchctl PATH for _all users_. For earlier versions of macOS, see [this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). ## How do I contribute to Homebrew? -Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md). +Read [CONTRIBUTING.md]...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Formula-Cookbook.md
@@ -29,15 +29,15 @@ Make sure you run `brew update` before you start. This turns your Homebrew insta Before submitting a new formula make sure your package: -* meets all our [Acceptable Formulae](Acceptable-Formulae.md) requirements +* meets all our [Acceptable Formulae](Acceptable-Formulae) requirements * ...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Homebrew-and-Python.md
@@ -1,6 +1,6 @@ # Python -This page describes how Python is handled in Homebrew for users. See [Python for Formula Authors](Python-for-Formula-Authors.md) for advice on writing formulae to install packages written in Python. +This page describes how Python is handled in Homebrew for users. See [Python for Formula Au...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/How-To-Open-a-Homebrew-Pull-Request.md
@@ -34,7 +34,7 @@ To make a new branch and submit it for review, create a GitHub pull request with 1. Check out the `master` branch with `git checkout master`. 2. Retrieve new changes to the `master` branch with `brew update`. 3. Create a new branch from the latest `master` branch with `git checkout -b <YOUR_BRANCH_...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/How-to-Create-and-Maintain-a-Tap.md
@@ -27,7 +27,7 @@ If it’s on GitHub, users can install any of your formulae with file here. If they want to get your tap without installing any formula at the same time, -users can add it with the [`brew tap` command](Taps.md). +users can add it with the [`brew tap` command](Taps). If it’s on GitHub, they can us...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/How-to-build-software-outside-Homebrew-with-Homebrew-keg-only-dependencies.md
@@ -2,7 +2,7 @@ ## What does "keg-only" mean? -The [FAQ](FAQ.md) briefly explains this. +The [FAQ](FAQ) briefly explains this. As an example:
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Installation.md
@@ -4,7 +4,7 @@ The suggested and easiest way to install Homebrew is on the [homepage](https://brew.sh). The standard script installs Homebrew to `/usr/local` so that -[you don’t need sudo](FAQ.md) when you +[you don’t need sudo](FAQ) when you `brew install`. It is a careful script; it can be run even if you have ...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Maintainer-Guidelines.md
@@ -5,7 +5,7 @@ access** to Homebrew’s repository and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not a beginner’s guide. -Maybe you were looking for the [Formula Cookbook](Formula-Cookbook.md)? +Maybe you were looking for the [Formula Cookbook](Formula...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/New-Maintainer-Checklist.md
@@ -59,6 +59,6 @@ If they accept, follow a few steps to get them set up: - Invite them to the [`homebrew` private maintainers 1Password](https://homebrew.1password.com/signin) - Invite them to [Google Analytics](https://analytics.google.com/analytics/web/?authuser=1#management/Settings/a76679469w115400090p120682403/%...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Node-for-Formula-Authors.md
@@ -82,7 +82,7 @@ In your formula's `install` method, do any installation steps which need to be d system "npm", "install", *Language::Node.local_npm_install_args ``` -This will install all of your Node modules dependencies to your local build path. You can now continue with your build steps and take care of the in...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/README.md
@@ -1,46 +1,46 @@ # Documentation ## Users -- [`brew` man-page (command documentation)](Manpage.md) -- [Troubleshooting](Troubleshooting.md) -- [Installation](Installation.md) -- [Frequently Asked Questions](FAQ.md) -- [Common Issues](Common-Issues.md) +- [`brew` man-page (command documentation)](Manpage) +- [Troub...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Tips-N'-Tricks.md
@@ -3,7 +3,7 @@ ## Installing previous versions of formulae The supported method of installing specific versions of -some formulae is to see if there is a versioned formula (e.g. `gcc@6`) available. If the version you’re looking for isn’t available, consider [opening a pull request](How-To-Open-a-Homebrew-Pull-Requ...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Troubleshooting.md
@@ -12,7 +12,7 @@ Follow these steps to fix common problems: * Run `brew doctor` and fix all the warnings (**outdated Xcode/CLT and unbrewed dylibs are very likely to cause problems**). * Check that **Command Line Tools for Xcode (CLT)** and **Xcode** are up to date. * If commands fail with permissions errors, check...
true
Other
Homebrew
brew
e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.json
docs: use short links.
docs/Versions.md
@@ -18,6 +18,6 @@ Versioned formulae we include in [homebrew/core](https://github.com/homebrew/hom * Versioned formulae should be as similar as possible and sensible to the unversioned formulae. Creating or updating a versioned formula should be a chance to ask questions of the unversioned formula e.g. can some unused...
true
Other
Homebrew
brew
c83dd0d04b857161b47a43b54ba56c7296ac50c0.json
brew style: replace tabs with spaces
Library/Homebrew/test/os/linux/dependency_collector_spec.rb
@@ -12,41 +12,41 @@ context "when xz, zip, and bzip2 are not available" do it "creates a resource dependency from a '.xz' URL" do - resource.url("http://example.com/foo.xz") - allow_any_instance_of(Object).to receive(:which).with("xz") - expect(subject.add(resource)).to eq(Dependency.new("xz", [:build])) ...
false
Other
Homebrew
brew
a9c64c319f8b8ef4aa3c0265bbe735002daa0d60.json
gist-logs: require API credentials. Anonymous gists are going away shortly: https://github.com/blog/2503-deprecation-notice-removing-anonymous-gist-creation
Library/Homebrew/cmd/gist-logs.rb
@@ -39,6 +39,16 @@ def gistify_logs(f) files["00.tap.out"] = { content: tap } end + if GitHub.api_credentials_type == :none + puts <<~EOS + You can create a new personal access token: + #{GitHub::ALL_SCOPES_URL} + and then set the new HOMEBREW_GITHUB_API_TOKEN as the authenti...
false
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/Gemfile
@@ -5,6 +5,7 @@ require_relative "../constants" gem "parallel_tests" gem "rspec" gem "rspec-its", require: false +gem "rspec-retry", require: false gem "rspec-wait", require: false gem "rubocop", HOMEBREW_RUBOCOP_VERSION
true
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/Gemfile.lock
@@ -31,6 +31,8 @@ GEM rspec-mocks (3.6.0) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.6.0) + rspec-retry (0.5.6) + rspec-core (> 3.3, < 3.8) rspec-support (3.6.0) rspec-wait (0.0.9) rspec (>= 3, < 4) @@ -58,9 +60,10 @@ DEPENDENCIES parallel_tests rspec rspec-its +...
true
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/cmd/search_spec.rb
@@ -25,7 +25,7 @@ .and be_a_success end - it "falls back to a GitHub tap search when no formula is found", :needs_network do + it "falls back to a GitHub tap search when no formula is found", :needs_network, retry: 3 do expect { brew "search", "caskroom/cask/firefox" } .to output(/firefox/).to...
true
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/cmd/services_spec.rb
@@ -1,4 +1,4 @@ -describe "brew services", :integration_test, :needs_macos, :needs_network do +describe "brew services", :integration_test, :needs_macos, :needs_network, retry: 3 do it "allows controlling services" do setup_remote_tap "homebrew/services"
true
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/dev-cmd/pull_spec.rb
@@ -6,7 +6,7 @@ .and be_a_failure end - it "fetches a patch from a GitHub commit or pull request and applies it", :needs_network do + it "fetches a patch from a GitHub commit or pull request and applies it", :needs_network, retry: 3 do CoreTap.instance.path.cd do system "git", "init" sy...
true
Other
Homebrew
brew
c57ab279ba4c723c275864e4f99c55a1cbc62a67.json
Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
Library/Homebrew/test/spec_helper.rb
@@ -2,6 +2,7 @@ require "pathname" require "rspec/its" require "rspec/wait" +require "rspec/retry" require "rubocop" require "rubocop/rspec/support" require "set"
true
Other
Homebrew
brew
40ca03e975041b4fce9a3097fed5739653c039f3.json
Add undeclared dependencies to Tab when installing An installed formula doesn't get optlinked until _after_ it's installed, meaning that we can't rely on `opt_prefix` to get the right keg. So, if not optlinked, fall back to the formula's prefix, which will be that of the current installation.
Library/Homebrew/formula.rb
@@ -13,6 +13,7 @@ require "tap" require "keg" require "migrator" +require "os/mac/linkage_checker" require "extend/ENV" require "language/python" @@ -1840,9 +1841,14 @@ def declared_runtime_dependencies end def undeclared_runtime_dependencies - return [] unless optlinked? + if optlinked? + keg...
false
Other
Homebrew
brew
c946da88ab07772ac4becd45ef0c82a60bbfc515.json
linkage_checker: Distinguish indirect deps from undeclared deps
Library/Homebrew/os/mac/linkage_checker.rb
@@ -14,6 +14,7 @@ def initialize(keg, formula = nil) @system_dylibs = Set.new @broken_dylibs = Set.new @variable_dylibs = Set.new + @indirect_deps = [] @undeclared_deps = [] @reverse_links = Hash.new { |h, k| h[k] = Set.new } @unnecessary_deps = [] @@ -52,7 +53,7 @@ def check_dylibs ...
false
Other
Homebrew
brew
c32865011d1536eb6f7e626a3cb389d35beda48a.json
xcode_requirement: handle nil @version. When the Xcode requirement doesn't specify a version then we need to guard this check.
Library/Homebrew/requirements/xcode_requirement.rb
@@ -22,7 +22,7 @@ def message A full installation of Xcode.app#{version} is required to compile this software. Installing just the Command Line Tools is not sufficient. EOS - if Version.new(MacOS::Xcode.latest_version) < Version.new(@version) + if @version && Version.new(MacOS::Xcode.latest_ver...
false
Other
Homebrew
brew
7fffccba05f8f31d86ae81ee14b81f8ff0c633b5.json
audit: Remove FILEUTILS_METHODS constant This constant hasn't been used since there was an `audit_line` method, and as such is vestigial.
Library/Homebrew/dev-cmd/audit.rb
@@ -189,8 +189,6 @@ class FormulaAuditor swig ].freeze - FILEUTILS_METHODS = FileUtils.singleton_methods(false).map { |m| Regexp.escape(m) }.join "|" - def initialize(formula, options = {}) @formula = formula @new_formula = options[:new_formula]
false
Other
Homebrew
brew
601af55b43bc96627359eca06eeec4bf9881c890.json
Add root dirname as a escape value too
Library/Homebrew/download_strategy.rb
@@ -306,7 +306,7 @@ def ext url_pathname = Pathname.new(@url) until ext = url_pathname.extname[/[^?]+/] url_pathname = url_pathname.dirname - return if url_pathname.to_s == "." + return if url_pathname.to_s == "." || url_pathname.to_s == "/" end ext end
false