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
3dc0df5a774272766e2187b46df97742b3aec28a.json
missing_formula.rb: add help message for cargo ...modeled after the existing message for pip. Also sync format of the gfortran and lzma messages, and use typographic apostrophe in the *tex message.
Library/Homebrew/missing_formula.rb
@@ -15,7 +15,7 @@ def blacklisted_reason(name) EOS when "tex", "tex-live", "texlive", "latex" then <<~EOS Installing TeX from source is weird and gross, requires a lot of patches, - and only builds 32-bit (and thus can't use Homebrew dependencies) + and only builds 32-bit ...
false
Other
Homebrew
brew
04473795b1abed43463cb4668a75cf3b0ea30b75.json
docs: Remove Linux from the unsupported tap list
docs/Interesting-Taps-and-Forks.md
@@ -32,5 +32,3 @@ Your taps are Git repositories located at `$(brew --repository)/Library/Taps`. ## Unsupported interesting forks * [mistydemeo/tigerbrew](https://github.com/mistydemeo/tigerbrew): Experimental Tiger PowerPC version. - -* [Linuxbrew/brew](https://github.com/Linuxbrew/brew): Experimental Linux ve...
false
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
Library/Homebrew/dev-cmd/man.rb
@@ -67,22 +67,22 @@ def build_man_page variables[:global_options] = global_options_manpage readme = HOMEBREW_REPOSITORY/"README.md" - variables[:lead_maintainer] = - readme.read[/(Homebrew's lead maintainer .*\.)/, 1] + variables[:lead] = + readme.read[/(Homebrew's project lead .*\.)/, 1] ...
true
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
Library/Homebrew/manpages/brew.1.md.erb
@@ -308,17 +308,17 @@ Homebrew Documentation: <https://docs.brew.sh> ## AUTHORS -<%= lead_maintainer.concat("\n") %> +<%= lead.concat("\n") %> -<%= leadership.concat("\n") %> +<%= plc.concat("\n") %> -<%= brew_maintainers.concat("\n") %> +<%= tsc.concat("\n") %> -<%= linux_maintainers.concat("\n") %> +<%= li...
true
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
README.md
@@ -35,15 +35,15 @@ Good luck! Please report security issues to our [HackerOne](https://hackerone.com/homebrew/). ## Who Are You? -Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid). +Homebrew's project lead is [Mike McQuaid](https://github.com/MikeMcQuaid). -Homebrew's project leadershi...
true
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
docs/Maintainer-Guidelines.md
@@ -156,30 +156,7 @@ All maintainers (and lead maintainer) communication through any medium is bound Maintainers should feel free to pleasantly disagree with the work and decisions of other maintainers. Healthy, friendly, technical disagreement between maintainers is actively encouraged and should occur in public on...
true
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
docs/Manpage.md
@@ -1183,15 +1183,15 @@ Homebrew Documentation: <https://docs.brew.sh> ## AUTHORS -Homebrew's lead maintainer is Mike McQuaid. +Homebrew's project lead is Mike McQuaid. -Homebrew's project leadership committee is Mike McQuaid, Misty De Meo and Markus Reiter. +Homebrew's project leadership committee is Misty De M...
true
Other
Homebrew
brew
947b90961bd4a5d903f39ba870d92da9e711d2f7.json
Note leadership changes Today the Homebrew maintainers elected a new PLC, TSC and project lead. Documentation is to follow detailing exactly the responsibilities for each of these roles but adjust these to reflect the current state until that point.
manpages/brew.1
@@ -1431,19 +1431,19 @@ Homebrew Documentation: \fIhttps://docs\.brew\.sh\fR \fBbrew\-cask\fR(1), \fBgit\fR(1), \fBgit\-log\fR(1) . .SH "AUTHORS" -Homebrew\'s lead maintainer is Mike McQuaid\. +Homebrew\'s project lead is Mike McQuaid\. . .P -Homebrew\'s project leadership committee is Mike McQuaid, Misty De Meo a...
true
Other
Homebrew
brew
ff4544eebd4fb711b44b80bdd6e569caf1dce9a8.json
cmd/update: Add quiet flag
Library/Homebrew/cmd/update-report.rb
@@ -26,6 +26,7 @@ def update_report_args switch "--preinstall", description: "Run in 'auto-update' mode (faster, less output)." switch :force + switch :quiet switch :debug switch :verbose hide_from_man_page!
false
Other
Homebrew
brew
6db1b0abd869c091a889c5342203599a3291d3eb.json
Handle regex not finding anything
Library/Homebrew/utils/curl.rb
@@ -60,7 +60,7 @@ def curl_download(*args, to: nil, **options) supports_partial_download = http_status.to_i == 206 # Partial Content if supports_partial_download && destination.exist? && - destination.size == %r{^.*Content-Range: bytes \d+-\d+/(\d+)\r\n.*$}m.match(headers)[1].to_i + destination.size...
false
Other
Homebrew
brew
6fe75fb1542995cdc641ca77f0529bfbb66f958e.json
cleanup: fix stale cask detection. This method is also run to check formulae and if a formula and cask have the same name (e.g. `cmake`) then this method would mark all formulae downloads to being stale. Instead, check the `dirname` (which we're using for globs anyway) to double check that this is definitely a stale ...
Library/Homebrew/cleanup.rb
@@ -112,6 +112,8 @@ def stale_formula?(scrub) def stale_cask?(scrub) return false unless name = basename.to_s[/\A(.*?)\-\-/, 1] + return if dirname.basename.to_s != "Cask" + cask = begin Cask::CaskLoader.load(name) rescue Cask::CaskUnavailableError
false
Other
Homebrew
brew
7c1d3bef2b8a3c40dc4150a0355339c0d36f4c2d.json
Commit typo manpage updates.
docs/Manpage.md
@@ -49,7 +49,7 @@ If `regenerate-uuid` is passed, regenerate UUID used in Homebrew's analytics. ### `cat` *`formula`* -Display the source to *`formula`*. +Display the source of *`formula`*. ### `cleanup` [*`options`*] [*`formula`*|*`cask`*]
true
Other
Homebrew
brew
7c1d3bef2b8a3c40dc4150a0355339c0d36f4c2d.json
Commit typo manpage updates.
manpages/brew-cask.1
@@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW\-CASK" "1" "January 2019" "Homebrew" "brew-cask" +.TH "BREW\-CASK" "1" "February 2019" "Homebrew" "brew-cask" . .SH "NAME" \fBbrew\-cask\fR \- a friendly binary installer for macOS
true
Other
Homebrew
brew
7c1d3bef2b8a3c40dc4150a0355339c0d36f4c2d.json
Commit typo manpage updates.
manpages/brew.1
@@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "January 2019" "Homebrew" "brew" +.TH "BREW" "1" "February 2019" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for macOS @@ -45,7 +45,7 @@ If \fBstate\fR is passed, display an...
true
Other
Homebrew
brew
fd4e45c688631db4c24841e98a811376d4a58e08.json
lines_spec: fix a typo.
Library/Homebrew/cmd/update-report.rb
@@ -4,6 +4,7 @@ require "descriptions" require "cleanup" require "description_cache_store" +require "cli_parser" module Homebrew module_function
true
Other
Homebrew
brew
fd4e45c688631db4c24841e98a811376d4a58e08.json
lines_spec: fix a typo.
Library/Homebrew/test/rubocops/lines_spec.rb
@@ -650,7 +650,7 @@ def install RUBY end - it "dependecies which have to vendored" do + it "dependencies which have to vendored" do expect_offense(<<~RUBY) class Foo < Formula desc "foo"
true
Other
Homebrew
brew
f1d6c0f5a459e0a3ebefc6b15646e35d40d3ff80.json
completions/zsh: fix a typo.
completions/zsh/_brew
@@ -115,7 +115,7 @@ __brew_common_commands() { 'link:link a formula' 'list:list files in a formula or not-installed formulae' 'log:git commit log for a formula' - 'missing:check all installed formuale for missing dependencies.' + 'missing:check all installed formulae for missing dependencies.' ...
false
Other
Homebrew
brew
4ace1af297b633b1297a57650f5ca85c5aa9becb.json
help: improve command --help output.
Library/Homebrew/help.rb
@@ -76,10 +76,13 @@ def help(cmd = nil, flags = {}) def command_help(path) # Let OptionParser generate help text for commands which have a parser defined + cmd = path.basename(path.extname) + cmd_args_method_name = "#{cmd.to_s.tr("-", "_")}_args".to_sym begin - cmd = path.basename(...
true
Other
Homebrew
brew
4ace1af297b633b1297a57650f5ca85c5aa9becb.json
help: improve command --help output.
Library/Homebrew/test/cmd/help_spec.rb
@@ -20,7 +20,7 @@ it "prints help for a documented shell command" do expect { brew "help", "update" } - .to output(/^brew update/).to_stdout + .to output(/^Usage: brew update/).to_stdout .and be_a_success end
true
Other
Homebrew
brew
1bdcd2001c53556a3cdc472b0b3797d3822a800b.json
cli_parser: allow hiding from man page.
Library/Homebrew/cli_parser.rb
@@ -5,7 +5,7 @@ module Homebrew module CLI class Parser - attr_reader :processed_options + attr_reader :processed_options, :hide_from_man_page def self.parse(args = ARGV, &block) new(&block).parse(args) @@ -29,6 +29,7 @@ def initialize(&block) @conflicts = [] @proc...
false
Other
Homebrew
brew
a10ba20459d8dec55d09ee0d4b6442258ea642eb.json
brew.1.md.erb: improve output consistency.
Library/Homebrew/manpages/brew.1.md.erb
@@ -29,52 +29,55 @@ For the full command list, see the [COMMANDS](#commands) section. With `--verbose` or `-v`, many commands print extra debugging information. Note that these flags should only appear after a command. - * `install` <formula>: - Install <formula>. +### `install` <formula>: - * `uninstall` <f...
false
Other
Homebrew
brew
0fff6e0c09f2d1bdf9d1486b193840f0b1bc356e.json
man: improve manpage output.
Library/Homebrew/dev-cmd/man.rb
@@ -11,24 +11,8 @@ require "erb" require "ostruct" require "cli_parser" -require "dev-cmd/audit" -require "dev-cmd/bottle" -require "dev-cmd/bump-formula-pr" -require "dev-cmd/create" -require "dev-cmd/edit" -require "dev-cmd/extract" -require "dev-cmd/formula" -require "dev-cmd/irb" -require "dev-cmd/linkage" -requ...
false
Other
Homebrew
brew
51a260cf1cb467265b645f2ed7a99e7ac76fee12.json
deps: accept formula options. Also, cleanup usage of `<formula>`. As requested in comments of #5587.
Library/Homebrew/cmd/deps.rb
@@ -1,13 +1,13 @@ -#: * `deps` [`--1`] [`-n`] [`--union`] [`--full-name`] [`--installed`] [`--include-build`] [`--include-optional`] [`--skip-recommended`] [`--include-requirements`] <formulae>: -#: Show dependencies for <formulae>. When given multiple formula arguments, -#: show the intersection of dependencies...
true
Other
Homebrew
brew
51a260cf1cb467265b645f2ed7a99e7ac76fee12.json
deps: accept formula options. Also, cleanup usage of `<formula>`. As requested in comments of #5587.
docs/Manpage.md
@@ -79,16 +79,16 @@ these flags should only appear after a command. a bug report, you will likely be asked for this information if you do not provide it. - * `deps` [`--1`] [`-n`] [`--union`] [`--full-name`] [`--installed`] [`--include-build`] [`--include-optional`] [`--skip-recommended`] [`--include-requi...
true
Other
Homebrew
brew
51a260cf1cb467265b645f2ed7a99e7ac76fee12.json
deps: accept formula options. Also, cleanup usage of `<formula>`. As requested in comments of #5587.
manpages/brew.1
@@ -88,8 +88,8 @@ If \fB\-\-quiet\fR is passed, list only the names of commands without the header Show Homebrew and system configuration useful for debugging\. If you file a bug report, you will likely be asked for this information if you do not provide it\. . .TP -\fBdeps\fR [\fB\-\-1\fR] [\fB\-n\fR] [\fB\-\-union...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
.gitignore
@@ -25,6 +25,7 @@ **/vendor/bundle **/vendor/ruby **/vendor/bundle-standalone/ruby/*/bin +**/vendor/bundle-standalone/ruby/*/build_info/ **/vendor/bundle-standalone/ruby/*/cache **/vendor/bundle-standalone/ruby/*/extensions **/vendor/bundle-standalone/ruby/*/gems/*/* @@ -93,15 +94,33 @@ # Ignore rubocop's (and...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/download_strategy.rb
@@ -5,6 +5,9 @@ require "lazy_object" require "cgi" +require "mechanize/version" +require "mechanize/http/content_disposition_parser" + class AbstractDownloadStrategy extend Forwardable include FileUtils @@ -363,9 +366,20 @@ def resolve_url_basename_time(url) end end - filenames = - lin...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/vendor/Gemfile
@@ -3,6 +3,7 @@ source "https://rubygems.org" gem "activesupport" gem "concurrent-ruby" gem "backports" +gem "mechanize" gem "plist" gem "ruby-macho" gem "rubocop-rspec"
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/vendor/Gemfile.lock
@@ -9,10 +9,34 @@ GEM ast (2.4.0) backports (3.11.4) concurrent-ruby (1.1.4) + connection_pool (2.2.2) + domain_name (0.5.20180417) + unf (>= 0.0.5, < 1.0.0) + http-cookie (1.0.3) + domain_name (~> 0.5) i18n (1.5.3) concurrent-ruby (~> 1.0) jaro_winkler (1.5.2) + me...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/vendor/bundle-standalone/bundler/setup.rb
@@ -12,8 +12,24 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/backports-3.11.4/lib" $:.unshift "#{path}/" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/connection_pool-2.2.2/lib" +$:.unshift "#{path}/../#{ruby_eng...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/content_disposition_parser.rb
@@ -0,0 +1,191 @@ +# coding: BINARY + +require 'strscan' +require 'time' + +class Mechanize::HTTP + ContentDisposition = Struct.new :type, :filename, :creation_date, + :modification_date, :read_date, :size, :parameters +end + +## +# Parser Content-Disposition headers that loosely follows RFC 2183. +# +# Beyond RFC ...
true
Other
Homebrew
brew
de5b35876f31f540f1f7e02d6eb18dd88355702f.json
Use Mechanize to parse Content-Disposition.
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/mechanize-2.7.6/lib/mechanize/version.rb
@@ -0,0 +1,3 @@ +class Mechanize + VERSION = "2.7.6" +end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/deps.rb
@@ -98,6 +98,7 @@ def deps_args "debugging the `--installed`/`--all` display mode." switch :verbose switch :debug + conflicts "--installed", "--all" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/desc.rb
@@ -37,6 +37,7 @@ def desc_args description: "Search just the descriptions for provided <text>. If <text> is flanked by slashes, "\ "it is interpreted as a regular expression." switch :verbose + conflicts "--search=", "--name=", "--description=" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/fetch.rb
@@ -60,6 +60,8 @@ def fetch_args "even if it would not be used during installation." switch :verbose switch :debug + conflicts "--devel", "--HEAD" + conflicts "--build-from-source", "--build-bottle", "--force-bottle" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/info.rb
@@ -79,6 +79,7 @@ def info_args switch :verbose, description: "See more verbose analytics data." switch :debug + conflicts "--all", "--installed" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/install.rb
@@ -146,6 +146,9 @@ def install_args "package into a Homebrew package." switch "-g", "--git", description: "Create a Git repository, useful for creating patches to the software." + conflicts "--ignore-dependencies", "--only-dependencies" + conflicts "--devel", "--HEAD" + ...
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/options.rb
@@ -29,6 +29,7 @@ def options_args switch "--installed", description: "Show options for all installed formulae." switch :debug + conflicts "--all", "--installed" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/outdated.rb
@@ -46,6 +46,7 @@ def outdated_args "formula is outdated. Otherwise, the repository's HEAD will be checked for "\ "updates when a new stable or devel version has been released." switch :debug + conflicts "--quiet", "--verbose", "--json=" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/reinstall.rb
@@ -60,6 +60,7 @@ def reinstall_args description: "Print the verification and postinstall steps." switch "--display-times", description: "Print install times for each formula at the end of the run." + conflicts "--build-from-source", "--force-bottle" formula_options end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/unpack.rb
@@ -34,6 +34,7 @@ def unpack_args switch :force switch :verbose switch :debug + conflicts "--git", "--patch" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/upgrade.rb
@@ -81,6 +81,7 @@ def upgrade_args description: "Print the verification and postinstall steps." switch "--display-times", description: "Print install times for each formula at the end of the run." + conflicts "--build-from-source", "--force-bottle" formula_options end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/cmd/uses.rb
@@ -59,6 +59,7 @@ def uses_args switch "--HEAD", description: "Show usage of <formulae> by HEAD build." switch :debug + conflicts "--devel", "--HEAD" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/dev-cmd/bump-formula-pr.rb
@@ -104,6 +104,7 @@ def bump_formula_pr_args switch :quiet switch :verbose switch :debug + conflicts "--no-audit", "--strict" conflicts "--url", "--tag" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/dev-cmd/create.rb
@@ -59,6 +59,7 @@ def create_args switch :force switch :verbose switch :debug + conflicts "--autotools", "--cmake", "--meson" end end
true
Other
Homebrew
brew
867b155479be4a50e02580e05df770aec84438be.json
Add missing conflicts to command options.
Library/Homebrew/dev-cmd/test.rb
@@ -41,6 +41,7 @@ def test_args description: "Keep the temporary files created for the test." switch :verbose switch :debug + conflicts "--devel", "--HEAD" end end
true
Other
Homebrew
brew
c3ba863a30e9b21e42453e103155492d114adc2e.json
cmd/install: Add description for `--fetch-HEAD` option
Library/Homebrew/cmd/install.rb
@@ -129,7 +129,10 @@ def install_args description: "If <formula> defines it, install the development version." switch "--HEAD", description: "If <formula> defines it, install the HEAD version, aka master, trunk, unstable." - switch "--fetch-HEAD" + switch "--fetch-HEAD", + desc...
false
Other
Homebrew
brew
ad4b3b0e7f93ec53b68ce11a29bea0ba48097f15.json
Fix printf error on bash launch
Library/Homebrew/brew.sh
@@ -58,7 +58,7 @@ git() { numeric() { # Condense the exploded argument into a single return value. # shellcheck disable=SC2086,SC2183 - printf "%01d%02d%02d%02d" ${1//./ } + printf "%01d%02d%02d%02d" ${1//[.rc]/ } } HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty --abbrev=7 2>/dev...
false
Other
Homebrew
brew
fd74ce2de65ef16e30b833f3e9fe448d3bd10efd.json
cmd: remove misrendered markdown link.
Library/Homebrew/cmd/gist-logs.rb
@@ -2,7 +2,7 @@ #: Upload logs for a failed build of <formula> to a new Gist. #: #: <formula> is usually the name of the formula to install, but it can be specified -#: in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). +#: in several different ways. #: #: If `--with-hostnam...
true
Other
Homebrew
brew
fd74ce2de65ef16e30b833f3e9fe448d3bd10efd.json
cmd: remove misrendered markdown link.
Library/Homebrew/cmd/install.rb
@@ -2,7 +2,7 @@ #: Install <formula>. #: #: <formula> is usually the name of the formula to install, but it can be specified -#: in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). +#: in several different ways. #: #: If `--debug` (or `-d`) is passed and brewing fails, open a...
true
Other
Homebrew
brew
fd74ce2de65ef16e30b833f3e9fe448d3bd10efd.json
cmd: remove misrendered markdown link.
docs/Manpage.md
@@ -182,7 +182,7 @@ these flags should only appear after a command. Upload logs for a failed build of *`formula`* to a new Gist. *`formula`* is usually the name of the formula to install, but it can be specified - in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). + in several...
true
Other
Homebrew
brew
fd74ce2de65ef16e30b833f3e9fe448d3bd10efd.json
cmd: remove misrendered markdown link.
manpages/brew.1
@@ -184,7 +184,7 @@ If \fB\-\-force\-bottle\fR is passed, download a bottle if it exists for the cur Upload logs for a failed build of \fIformula\fR to a new Gist\. . .IP -\fIformula\fR is usually the name of the formula to install, but it can be specified in several different ways\. See \fISPECIFYING FORMULAE\fR\. ...
true
Other
Homebrew
brew
9126a5cf8dbee31eae9df92d25c58c3337e55ed6.json
cmd/install: fix missing formula handling.
Library/Homebrew/cmd/install.rb
@@ -180,209 +180,207 @@ def install end end - begin - formulae = [] - - unless ARGV.casks.empty? - cask_args = [] - cask_args << "--force" if args.force? - cask_args << "--debug" if args.debug? - cask_args << "--verbose" if args.verbose? - - ARGV.casks.each ...
false
Other
Homebrew
brew
28fa8a7c97da99ec8e8726c2d7fb35347765db00.json
version: add CPU tests. Add a new API inspired by discussion in https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given CPU option is supported by a version of macOS.
Library/Homebrew/extend/os/mac/hardware.rb
@@ -1,6 +1,6 @@ module Hardware - def self.oldest_cpu - if MacOS.version >= :mojave + def self.oldest_cpu(version = MacOS.version) + if version >= :mojave :nehalem else generic_oldest_cpu
true
Other
Homebrew
brew
28fa8a7c97da99ec8e8726c2d7fb35347765db00.json
version: add CPU tests. Add a new API inspired by discussion in https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given CPU option is supported by a version of macOS.
Library/Homebrew/hardware.rb
@@ -134,7 +134,7 @@ def cores_as_words end end - def oldest_cpu + def oldest_cpu(_version = nil) if Hardware::CPU.intel? if Hardware::CPU.is_64_bit? :core2
true
Other
Homebrew
brew
28fa8a7c97da99ec8e8726c2d7fb35347765db00.json
version: add CPU tests. Add a new API inspired by discussion in https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given CPU option is supported by a version of macOS.
Library/Homebrew/os/mac/version.rb
@@ -38,6 +38,17 @@ def to_sym def pretty_name to_sym.to_s.split("_").map(&:capitalize).join(" ") end + + # For OS::Mac::Version compatability + def requires_nehalem_cpu? + Hardware.oldest_cpu(self) == :nehalem + end + # https://en.wikipedia.org/wiki/Nehalem_(microarchit...
true
Other
Homebrew
brew
28fa8a7c97da99ec8e8726c2d7fb35347765db00.json
version: add CPU tests. Add a new API inspired by discussion in https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given CPU option is supported by a version of macOS.
Library/Homebrew/test/os/mac/version_spec.rb
@@ -46,4 +46,9 @@ expect(described_class.new("10.14").pretty_name).to eq("Mojave") expect(described_class.new("10.10").pretty_name).to eq("Yosemite") end + + specify "#requires_nehalem_cpu?" do + expect(described_class.new("10.14").requires_nehalem_cpu?).to be true + expect(described_class.new("10.1...
true
Other
Homebrew
brew
28fa8a7c97da99ec8e8726c2d7fb35347765db00.json
version: add CPU tests. Add a new API inspired by discussion in https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given CPU option is supported by a version of macOS.
Library/Homebrew/version/null.rb
@@ -26,6 +26,15 @@ def null? true end + # For OS::Mac::Version compatability + def requires_nehalem_cpu? + false + end + alias_method :requires_sse4?, :requires_nehalem_cpu? + alias_method :requires_sse41?, :requires_nehalem_cpu? + alias_method :requires_sse42?, :requires_nehalem_cp...
true
Other
Homebrew
brew
f8c574bbc08d4361bbb85a66194941f7f96a17cc.json
docs/Shell-Completion: read both types of bash completions. And guard against either of them being missing. Fixes #5610
docs/Shell-Completion.md
@@ -12,13 +12,19 @@ To make Homebrew's completions available in `bash`, you must source the definiti ```sh if type brew 2&>/dev/null; then - source "$(brew --prefix)/etc/bash_completion.d/*" -else - echo "run: brew install git bash-completion" + for COMPLETION in $(brew --prefix)/etc/bash_completion.d/* + do + ...
false
Other
Homebrew
brew
c2bbd9df7e6d0860dc144cc12d44ed5d75efcb21.json
Remove unneeded `curl_openssl_or_deps` invocation This fixes a regression introduced in #5626 [1], which removed `curl_openssl_or_deps` and left a single call in the code. [1]: https://github.com/Homebrew/brew/pull/5626
Library/Homebrew/dev-cmd/audit.rb
@@ -1134,7 +1134,7 @@ def audit_urls # pull request. next if url =~ %r{^https://dl.bintray.com/homebrew/mirror/} - if http_content_problem = curl_check_http_content(url, require_http: curl_openssl_or_deps) + if http_content_problem = curl_check_http_content(url) pr...
true
Other
Homebrew
brew
c2bbd9df7e6d0860dc144cc12d44ed5d75efcb21.json
Remove unneeded `curl_openssl_or_deps` invocation This fixes a regression introduced in #5626 [1], which removed `curl_openssl_or_deps` and left a single call in the code. [1]: https://github.com/Homebrew/brew/pull/5626
Library/Homebrew/utils/curl.rb
@@ -69,12 +69,12 @@ def curl_output(*args, **options) print_stderr: false) end -def curl_check_http_content(url, user_agents: [:default], check_content: false, strict: false, require_http: false) +def curl_check_http_content(url, user_agents: [:default], check_content: false, strict: false) retu...
true
Other
Homebrew
brew
5084831a2b33a4a04604e9d16f49187f9ddfd2a8.json
vendor-install: use Mavericks portable Ruby. This is not universal so is smaller (8MB vs 12MB). It also performs 5-10% faster at: https://rubybench.org/ruby/ruby/releases?result_type=array_sample_100k___50k
Library/Homebrew/cmd/vendor-install.sh
@@ -16,9 +16,9 @@ if [[ -n "$HOMEBREW_MACOS" ]] then if [[ "$HOMEBREW_PROCESSOR" = "Intel" ]] then - ruby_URL="$HOMEBREW_BOTTLE_DOMAIN/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz" - ruby_URL2="https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.3.7/portable-ruby-2....
false
Other
Homebrew
brew
b24e96e28da945cf063f5868f32afeed7e002dd1.json
diagnostic: ignore case in origin comparison On circle-ci we do: git remote set-url origin $CIRCLE_REPOSITORY_URL which is defined as: https://github.com/linuxbrew/homebrew-core This is being compared to: https://github.com/Linuxbrew/homebrew-core
Library/Homebrew/diagnostic.rb
@@ -583,7 +583,7 @@ def check_coretap_git_origin properly. You can solve this by adding the Homebrew remote: git -C "#{coretap_path}" remote add origin #{Formatter.url(CoreTap.instance.default_remote)} EOS - elsif origin !~ %r{#{CoreTap.instance.full_name}(\.git|/)?$} + ...
false
Other
Homebrew
brew
80d8d441a288f1a77633d981380e6657f0ff8231.json
python_virtualenv_constants: upgrade virtualenv to 16.3.0
Library/Homebrew/language/python_virtualenv_constants.rb
@@ -1,4 +1,6 @@ PYTHON_VIRTUALENV_URL = - "https://github.com/pypa/virtualenv/archive/16.2.0.tar.gz".freeze + "https://files.pythonhosted.org/packages/8b/f4" \ + "/360aa656ddb0f4168aeaa1057d8784b95d1ce12f34332c1cf52420b6db4e" \ + "/virtualenv-16.3.0.tar.gz".freeze PYTHON_VIRTUALENV_SHA256 = - "448def1220df9960e6...
false
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/.rubocop.yml
@@ -64,10 +64,10 @@ Metrics/LineLength: IgnoredPatterns: ['#: '] # we won't change backward compatible predicate names -# TODO: deprecate whitelisted names and move to compat Naming/PredicateName: Exclude: - 'compat/**/*' + # can't rename these NameWhitelist: is_32_bit?, is_64_bit? # whitelist tho...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/brew.rb
@@ -95,7 +95,7 @@ end if ENV["HOMEBREW_BUILD_FROM_SOURCE"] - odeprecated("HOMEBREW_BUILD_FROM_SOURCE", "--build-from-source") + odisabled("HOMEBREW_BUILD_FROM_SOURCE", "--build-from-source") end if internal_cmd
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/build_environment.rb
@@ -41,7 +41,7 @@ def build_env_keys(env) MACOSX_DEPLOYMENT_TARGET PKG_CONFIG_PATH PKG_CONFIG_LIBDIR HOMEBREW_DEBUG HOMEBREW_MAKE_JOBS HOMEBREW_VERBOSE HOMEBREW_SVN HOMEBREW_GIT - HOMEBREW_SDKROOT HOMEBREW_BUILD_FROM_SOURCE + HOMEBREW_SDKROOT MAKE GIT CPP ACLOCAL_PATH PATH C...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/cleanup.rb
@@ -158,7 +158,6 @@ def initialize(*args, dry_run: false, scrub: false, days: nil, cache: HOMEBREW_C def self.install_formula_clean!(f) return if ENV["HOMEBREW_NO_INSTALL_CLEANUP"] - return unless ENV["HOMEBREW_INSTALL_CLEANUP"] cleanup = Cleanup.new if cleanup.periodic_clean_due? @@ ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/cmd/install.rb
@@ -31,10 +31,6 @@ #: source even if a bottle is provided. Dependencies will still be installed #: from bottles if they are available. #: -#: If `HOMEBREW_BUILD_FROM_SOURCE` is set, regardless of whether `--build-from-source` was -#: passed, then both <formula> and the dependencies installed as part of t...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/cmd/prune.rb
@@ -25,7 +25,6 @@ def prune_args def prune prune_args.parse - odeprecated("'brew prune'", "'brew cleanup'") - Cleanup.new(dry_run: args.dry_run?).prune_prefix_symlinks_and_directories + odisabled("'brew prune'", "'brew cleanup'") end end
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/cmd/reinstall.rb
@@ -3,9 +3,6 @@ #: #: If `--display-times` is passed, install times for each formula are printed #: at the end of the run. -#: -#: If `HOMEBREW_INSTALL_CLEANUP` is set then remove previously installed versions -#: of upgraded <formulae> as well as the HOMEBREW_CACHE for that formula. require "formula_...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/cmd/upgrade.rb
@@ -28,13 +28,10 @@ module Homebrew module_function def upgrade - # TODO: deprecate for next minor release. if ARGV.include?("--cleanup") - ENV["HOMEBREW_INSTALL_CLEANUP"] = "1" - odeprecated("'brew upgrade --cleanup'", "'HOMEBREW_INSTALL_CLEANUP'") + odisabled("'brew upgrade --cleanup'")...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat.rb
@@ -1,8 +1,2 @@ -require "compat/extend/os/mac/utils/bottles" require "compat/os/mac" -require "compat/requirements/x11_requirement" -require "compat/requirements/xcode_requirement" -require "compat/cask" -require "compat/download_strategy" require "compat/formula" -require "compat/tap"
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/cask.rb
@@ -1,21 +0,0 @@ -require "compat/cask/cache" -require "compat/cask/cask_loader" -require "compat/cask/caskroom" -require "compat/cask/dsl" - -module Cask - class << self - module Compat - def init - Cache.delete_legacy_cache - - Caskroom.migrate_caskroom_from_repo_to_prefix - Caskroom.mig...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/cask/cache.rb
@@ -1,17 +0,0 @@ -module Cask - module Cache - class << self - module Compat - def delete_legacy_cache - legacy_cache = HOMEBREW_CACHE.join("Casks") - return unless legacy_cache.exist? - - ohai "Deleting legacy cache at #{legacy_cache}" - FileUtils.remove_entry_secure...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/cask/cask_loader.rb
@@ -1,24 +0,0 @@ -module Cask - module CaskLoader - class FromContentLoader; end - - class FromPathLoader < FromContentLoader - module Compat - private - - # TODO: can't delete this code until the merge of - # https://github.com/Homebrew/brew/pull/4730 or an equivalent. - def cas...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/cask/caskroom.rb
@@ -1,49 +0,0 @@ -module Cask - module Caskroom - class << self - module Compat - def migrate_legacy_caskroom - return if path.exist? - - legacy_caskroom_path = Pathname.new("/opt/homebrew-cask/Caskroom") - return if path == legacy_caskroom_path - return unless legacy...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/cask/dsl.rb
@@ -1,22 +0,0 @@ -module Cask - class DSL - module Compat - # TODO: can't delete this code until the merge of - # https://github.com/Homebrew/brew/pull/4730 or an equivalent. - - def gpg(*) - odisabled "the `gpg` stanza" - end - - def license(*) - odisabled "the `license` stan...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/download_strategy.rb
@@ -1,256 +0,0 @@ -require "download_strategy" - -# S3DownloadStrategy downloads tarballs from AWS S3. -# To use it, add `:using => :s3` to the URL section of your -# formula. This download strategy uses AWS access tokens (in the -# environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`) -# to sign the ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/extend/os/mac/utils/bottles.rb
@@ -1,19 +0,0 @@ -module Utils - class Bottles - class Collector - module Compat - private - - def tag_without_or_later(tag) - return super unless tag.to_s.end_with?("_or_later") - - odisabled "`or_later` bottles", - "bottles without `or_later` (or_later is ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/formula.rb
@@ -2,40 +2,15 @@ class Formula module Compat # Run `scons` using a Homebrew-installed version rather than whatever is # in the `PATH`. - # TODO: deprecate - def scons(*args) - odeprecated("scons", 'system "scons"') - - system Formulary.factory("scons").opt_bin/"scons", *args + def scons...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/os/mac.rb
@@ -3,7 +3,7 @@ module Mac class << self module Compat def prefer_64_bit? - odeprecated("MacOS.prefer_64_bit?") + odisabled("MacOS.prefer_64_bit?") Hardware::CPU.is_64_bit? end end
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/requirements/x11_requirement.rb
@@ -1,15 +0,0 @@ -require "requirement" - -class X11Requirement < Requirement - module Compat - def initialize(tags = []) - if tags.first.to_s.match?(/(\d\.)+\d/) - odisabled('depends_on :x11 => "X.Y.Z"') - end - - super(tags) - end - end - - prepend Compat -end
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/requirements/xcode_requirement.rb
@@ -1,21 +0,0 @@ -require "requirement" - -class XcodeRequirement < Requirement - module Compat - def initialize(tags = []) - @version = if tags.first.to_s.match?(/(\d\.)+\d/) - tags.shift - else - tags.find do |tag| - next unless tag.to_s.match?(/(\d\.)+\d/) - odisabled('d...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/compat/tap.rb
@@ -1,47 +0,0 @@ -class Tap - module Compat - def initialize(user, repo) - super - - return unless user == "caskroom" - - old_initial_revision_var = "HOMEBREW_UPDATE_BEFORE#{repo_var}" - old_current_revision_var = "HOMEBREW_UPDATE_AFTER#{repo_var}" - - new_user = "Homebrew" - new_repo ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/dev-cmd/tests.rb
@@ -61,7 +61,6 @@ def tests ENV.delete("HOMEBREW_NO_GITHUB_API") ENV.delete("HOMEBREW_NO_EMOJI") ENV.delete("HOMEBREW_DEVELOPER") - ENV.delete("HOMEBREW_INSTALL_CLEANUP") ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1" ENV["HOMEBREW_NO_COMPAT"] = "1" if args.no_compat? ENV["HO...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/diagnostic.rb
@@ -115,15 +115,6 @@ def check_for_installed_developer_tools EOS end - def check_build_from_source - return unless ENV["HOMEBREW_BUILD_FROM_SOURCE"] - - <<~EOS - You have HOMEBREW_BUILD_FROM_SOURCE set. - #{please_create_pull_requests} - EOS - end - ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/extend/ARGV.rb
@@ -219,15 +219,10 @@ def build_from_source? switch?("s") || include?("--build-from-source") end - def build_all_from_source? - !ENV["HOMEBREW_BUILD_FROM_SOURCE"].nil? - end - # Whether a given formula should be built from source during the current # installation run. def build_formula_from_sour...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -15,7 +15,6 @@ def fatal_build_from_source_checks def supported_configuration_checks %w[ - check_build_from_source check_for_unsupported_macos ].freeze end
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/formula.rb
@@ -2510,7 +2510,7 @@ def cxxstdlib_check(check_type) # version '7.1' # end</pre> def fails_with(compiler, &block) - odeprecated "fails_with :gcc_4_0" if compiler == :gcc_4_0 + odisabled "fails_with :gcc_4_0" if compiler == :gcc_4_0 specs.each { |spec| spec.fails_with(compiler, &block)...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/formula_installer.rb
@@ -46,7 +46,7 @@ def initialize(formula) @show_header = false @ignore_deps = false @only_deps = false - @build_from_source = ARGV.build_from_source? || ARGV.build_all_from_source? + @build_from_source = ARGV.build_from_source? @build_bottle = false @force_bottle = ARGV.force_bottle? ...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/manpages/brew.1.md.erb
@@ -192,16 +192,6 @@ Note that environment variables must have a value set to be detected. For exampl *Default:* the beer emoji. - * `HOMEBREW_INSTALL_CLEANUP`: - If set, `brew install`, `brew upgrade` and `brew reinstall` will remove - previously installed version(s) of the installed/upgraded formulae....
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/os.rb
@@ -18,7 +18,6 @@ def self.linux? # Don't tell people to report issues on unsupported configurations. if !OS::Mac.prerelease? && !OS::Mac.outdated_release? && - !ENV["HOMEBREW_BUILD_FROM_SOURCE"] && ARGV.none? { |v| v.start_with?("--cc=") } && ENV["HOMEBREW_PREFIX"] == "/usr/loca...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/software_spec.rb
@@ -208,7 +208,7 @@ def patch(strip = :p1, src = nil, &block) end def fails_with(compiler, &block) - odeprecated "fails_with :gcc_4_0" if compiler == :gcc_4_0 + odisabled "fails_with :gcc_4_0" if compiler == :gcc_4_0 compiler_failures << CompilerFailure.create(compiler, &block) end
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/test/cmd/upgrade_spec.rb
@@ -1,19 +1,10 @@ describe "brew upgrade", :integration_test do - it "upgrades a Formula to the latest version" do + it "upgrades a Formula and cleans up old versions" do setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath expect { brew "upgrade" }.to be_a_success - expe...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
Library/Homebrew/test/diagnostic_checks_spec.rb
@@ -6,12 +6,6 @@ expect(subject.inject_file_list(%w[/a /b], "foo:\n")).to eq("foo:\n /a\n /b\n") end - specify "#check_build_from_source" do - ENV["HOMEBREW_BUILD_FROM_SOURCE"] = "1" - expect(subject.check_build_from_source) - .to match("You have HOMEBREW_BUILD_FROM_SOURCE set.") - end - spe...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
docs/FAQ.md
@@ -90,8 +90,6 @@ following conditions: will use a bottled version of the formula, but `brew install --enable-bar <formula>` will trigger a source build. * The `--build-from-source` option is invoked. -* The environment variable `HOMEBREW_BUILD_FROM_SOURCE` is set -(intended for developers only). * The machine is n...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
docs/Manpage.md
@@ -269,10 +269,6 @@ these flags should only appear after a command. source even if a bottle is provided. Dependencies will still be installed from bottles if they are available. - If `HOMEBREW_BUILD_FROM_SOURCE` is set, regardless of whether `--build-from-source` was - passed, then both *`formula`* a...
true
Other
Homebrew
brew
eed1444d61ee6e61c3b683e45effcd3cbaafed94.json
Update deprecations and cleanup - Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
manpages/brew.1
@@ -276,9 +276,6 @@ If \fB\-\-cc=\fR\fIcompiler\fR is passed, attempt to compile using \fIcompiler\f If \fB\-\-build\-from\-source\fR (or \fB\-s\fR) is passed, compile the specified \fIformula\fR from source even if a bottle is provided\. Dependencies will still be installed from bottles if they are available\. . .I...
true
Other
Homebrew
brew
0015803ddd9a946d2e0c46482abeaf593007d831.json
Update Azure Pipelines Use latest macOS/Xcode settings.
azure-pipelines.yml
@@ -1,10 +1,10 @@ jobs: - job: macOS pool: - vmImage: xcode9-macos10.13 + vmImage: macOS-10.13 steps: - bash: | - sudo xcode-select --switch /Applications/Xcode_10.app/Contents/Developer + sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer HOMEBREW_REPOS...
false