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
f4707a8041181133c92b2beca88a39ec92137e19.json
upgrade: reject formulae checked in earlier levels
Library/Homebrew/cmd/upgrade.rb
@@ -255,7 +255,7 @@ def upgradable_dependents(kegs, formulae) [formulae_to_upgrade, formulae_pinned] end - def broken_dependents(kegs, formulae) + def broken_dependents(kegs, formulae, scanned = []) formulae_to_reinstall = Set.new formulae_pinned_and_outdated = Set.new @@ -266,6 +266,8 @@ def br...
false
Other
Homebrew
brew
953a1bf20b6944ef14bd9f6e5f5bc37ed191eba8.json
Add quotes around the brew invocation
docs/Shell-Completion.md
@@ -12,7 +12,7 @@ To make Homebrew's completions available in `bash`, you must source the definiti ```sh if type brew &>/dev/null; then - HOMEBREW_PREFIX=$(brew --prefix) + HOMEBREW_PREFIX="$(brew --prefix)" if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then source "${HOMEBREW_PREFIX}...
false
Other
Homebrew
brew
24ef7fa5c8eb8e313a7169e4a55f88e21dea277b.json
remove xattr unsupported option in macOS 10.15
Library/Homebrew/cask/quarantine.rb
@@ -154,7 +154,6 @@ def propagate(from: nil, to: nil) "--", xattr, "-w", - "-s", QUARANTINE_ATTRIBUTE, ...
false
Other
Homebrew
brew
c6cb20a768eba296396b8c7879434cde3916cdef.json
Fix frozen string bug
Library/Homebrew/exceptions.rb
@@ -466,7 +466,7 @@ def initialize(flags, bottled: true) require_text = "requires" end - message = <<~EOS + message = +<<~EOS The following #{flag_text}: #{flags.join(", ")} #{require_text} building tools, but none are installed.
true
Other
Homebrew
brew
c6cb20a768eba296396b8c7879434cde3916cdef.json
Fix frozen string bug
Library/Homebrew/test/exceptions_spec.rb
@@ -225,3 +225,9 @@ class Baz < Formula; end its(:to_s) { is_expected.to match(/This bottle does not contain the formula file/) } end + +describe BuildFlagsError do + subject { described_class.new(["-s"]) } + + its(:to_s) { is_expected.to match(/flag:\s+-s\nrequires building tools/) } +end
true
Other
Homebrew
brew
86feb5a9deeffbf0b41850098c0fd3505d8a1673.json
audit: replace depends_on with uses_from_macos
Library/Homebrew/dev-cmd/audit.rb
@@ -394,8 +394,8 @@ def audit_deps dep_f.keg_only_reason.valid? && !%w[apr apr-util openblas openssl openssl@1.1].include?(dep.name) new_formula_problem( - "Dependency '#{dep.name}' may be unnecessary as it is provided " \ - "by macOS; try to build this...
true
Other
Homebrew
brew
86feb5a9deeffbf0b41850098c0fd3505d8a1673.json
audit: replace depends_on with uses_from_macos
Library/Homebrew/test/dev-cmd/audit_spec.rb
@@ -316,7 +316,7 @@ class Foo < Formula fa.audit_deps end - its(:new_formula_problems) { are_expected.to match([/unnecessary/]) } + its(:new_formula_problems) { are_expected.to match([/is provided by macOS/]) } end end end
true
Other
Homebrew
brew
209d12b89f5a43d8aa69747307965d301c3d6e38.json
vendor-install: remove ARM bottles until built.
Library/Homebrew/cmd/vendor-install.sh
@@ -29,16 +29,6 @@ then ruby_URL2="https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.6.3/portable-ruby--2.6.3.x86_64_linux.bottle.tar.gz" ruby_SHA="e8c9b6d3dc5f40844e07b4b694897b8b7cb5a7dab1013b3b8712a22868f98c98" ;; - aarch64) - ruby_URL="$HOMEBREW_BOTTLE_DOMAIN/bottle...
false
Other
Homebrew
brew
157a9191e3505d3b2eba1954143875787a7434d1.json
Fix minor typo in How-to-Create-and-Maintain-a-Tap
docs/How-to-Create-and-Maintain-a-Tap.md
@@ -37,7 +37,7 @@ 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). If it’s on GitHub, they can use `brew tap user/repo`, where `user` is your -GitHub username and `homebrew-repo` your repository. +GitHub username and `homebrew-rep...
false
Other
Homebrew
brew
69c1b4fcf984c6da97534a59bd917d3ddd14936c.json
subversion_spec: fix svnadmin calls on Linux. Ensure that we only use `xcrun` on Catalina or newer.
Library/Homebrew/test/unpack_strategy/subversion_spec.rb
@@ -8,7 +8,9 @@ let(:path) { working_copy } before do - safe_system "xcrun", "svnadmin", "create", repo + svnadmin = ["svnadmin"] + svnadmin = ["xcrun", *svnadmin] if OS.mac? && MacOS.version >= :catalina + safe_system(*svnadmin, "create", repo) safe_system "svn", "checkout", "file://#{repo}", ...
false
Other
Homebrew
brew
cf34e1bec8f6579b9c22935581163430d8ffb780.json
os/mac/diagnostic: allow Ruby 2.6.3 on Catalina.
Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -139,7 +139,11 @@ def check_if_xcode_needs_clt_installed end def check_ruby_version - ruby_version = "2.3.7" + ruby_version = if MacOS.version >= :catalina + "2.6.3" + else + "2.3.7" + end return if RUBY_VERSION == ruby_version return if...
false
Other
Homebrew
brew
36bc11b01a1f4bd8d8364842e7d477c6f285cddb.json
utils/shell: match preferred shell by symbol.
Library/Homebrew/utils/shell.rb
@@ -39,8 +39,8 @@ def export_value(key, value, shell = preferred) # return the shell profile file based on user's preferred shell def profile - return "#{ENV["ZDOTDIR"]}/.zshrc" if preferred == "zsh" && ENV["ZDOTDIR"].present? - + return "#{ENV["ZDOTDIR"]}/.zshrc" if preferred == :zsh && ENV...
false
Other
Homebrew
brew
9fc495125dd730319014983903cbcdb3db5c746e.json
audit: add gcab 1.3 to whitelist
Library/Homebrew/dev-cmd/audit.rb
@@ -759,6 +759,7 @@ def audit_specs pygtkglext 1.1.0 gtk-mac-integration 2.1.3 gtk-doc 1.31 + gcab 1.3 ].each_slice(2).to_a.map do |formula, version| [formula, version.split(".")[0..1].join(".")] end
false
Other
Homebrew
brew
bb2c835025ebf44616df814f06b3f185f30c035f.json
Installation: recommend High Sierra and newer.
docs/Installation.md
@@ -11,7 +11,7 @@ it does it too. You have to confirm everything it will do before it starts. ## macOS Requirements * A 64-bit Intel CPU <sup>[1](#1)</sup> -* macOS 10.12 (or higher) <sup>[2](#2)</sup> +* macOS High Sierra (10.13) (or higher) <sup>[2](#2)</sup> * Command Line Tools (CLT) for Xcode: `xcode-select -...
false
Other
Homebrew
brew
1cd75e4298be0b11185506cb16d67497d335f91c.json
sandbox: allow more TTYs. This is needed on Catalina. Fixes #6546
Library/Homebrew/sandbox.rb
@@ -163,7 +163,7 @@ class SandboxProfile (literal "/dev/random") (literal "/dev/zero") (regex #"^/dev/fd/[0-9]+$") - (regex #"^/dev/ttys?[0-9]*$") + (regex #"^/dev/tty[a-z0-9]*$") ) (deny file-write*) ; deny non-whitelist file write operations ...
false
Other
Homebrew
brew
8ec48b0c72c24c90c7deee594264591feb808549.json
Fix symlink validation in Mojave
Library/Homebrew/unpack_strategy/dmg.rb
@@ -29,7 +29,7 @@ def dmg_metadata? # symlinks to system directories (commonly to /Applications) def system_dir_symlink? - symlink? && MacOS.system_dir?(readlink) + symlink? && MacOS.system_dir?(realpath) end def bom
false
Other
Homebrew
brew
7855bb88b6d25b34b43b56f5373e8830565645e6.json
Add cask instructions to tap docs Loosely based on (now deleted) https://github.com/Homebrew/homebrew-cask/blob/4c72606867d7aa92987c550082769d0f20e6121c/doc/alternate_cask_taps.md Cask naming issues are from experimentation.
docs/How-to-Create-and-Maintain-a-Tap.md
@@ -1,7 +1,7 @@ # How to Create and Maintain a Tap -[Taps](Taps.md) are external sources of Homebrew formulae and/or external commands. They -can be created by anyone to provide their own formulae and/or external commands +[Taps](Taps.md) are external sources of Homebrew formulae, casks and/or external commands. Th...
false
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
Library/Homebrew/brew.sh
@@ -466,6 +466,20 @@ update-preinstall() { then export HOMEBREW_AUTO_UPDATING="1" + # Skip auto-update if the cask/core tap has been updated in the + # last $HOMEBREW_AUTO_UPDATE_SECS. + if [[ "$HOMEBREW_COMMAND" = "cask" ]] + then + tap_fetch_head="$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-ca...
true
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
Library/Homebrew/cmd/update.sh
@@ -337,7 +337,7 @@ EOS if [[ -z "$HOMEBREW_AUTO_UPDATE_SECS" ]] then - HOMEBREW_AUTO_UPDATE_SECS="60" + HOMEBREW_AUTO_UPDATE_SECS="300" fi # check permissions @@ -451,12 +451,6 @@ EOS # origin branch name is, and use that. If not set, fall back to "master". # the refspec ensures that th...
true
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
Library/Homebrew/manpages/brew.1.md.erb
@@ -134,7 +134,7 @@ Note that environment variables must have a value set to be detected. For exampl * `HOMEBREW_AUTO_UPDATE_SECS`: If set, Homebrew will only check for autoupdates once per this seconds interval. - *Default:* `60`. + *Default:* `300`. * `HOMEBREW_AWS_ACCESS_KEY_ID`, `HOMEBREW_AWS_S...
true
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
docs/Manpage.md
@@ -1068,7 +1068,7 @@ Note that environment variables must have a value set to be detected. For exampl * `HOMEBREW_AUTO_UPDATE_SECS`: If set, Homebrew will only check for autoupdates once per this seconds interval. - *Default:* `60`. + *Default:* `300`. * `HOMEBREW_AWS_ACCESS_KEY_ID`, `HOMEBREW_AWS...
true
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
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" "September 2019" "Homebrew" "brew-cask" +.TH "BREW\-CASK" "1" "October 2019" "Homebrew" "brew-cask" . .SH "NAME" \fBbrew\-cask\fR \- a friendly binary installer for macOS
true
Other
Homebrew
brew
8ff2e9ae4ea2ada3df9fbcedda8f6fc86c06265f.json
Improve speed of HOMEBREW_AUTO_UPDATE_SECS This variable allows a user to configure how often `brew update` runs. With the previous implementation, however, it was still pretty slow as it would run some of `brew update` even within the timeout. This feels related to complaints about Homebrew "feeling slow" since we en...
manpages/brew.1
@@ -1329,7 +1329,7 @@ If set, instructs Homebrew to prefix all download URLs, including those for bott If set, Homebrew will only check for autoupdates once per this seconds interval\. . .IP -\fIDefault:\fR \fB60\fR\. +\fIDefault:\fR \fB300\fR\. . .TP \fBHOMEBREW_AWS_ACCESS_KEY_ID\fR, \fBHOMEBREW_AWS_SECRET_ACCES...
true
Other
Homebrew
brew
caf7df5840d9507ff99fcf8385ffa1f42ada6e2d.json
Cask: add doctor check for xattr CC: Homebrew/homebrew-cask#69660
Library/Homebrew/cask/cmd/doctor.rb
@@ -25,6 +25,7 @@ def summary_header def run check_software_versions + check_xattr check_quarantine_support check_install_location check_staging_location @@ -121,6 +122,29 @@ def check_environment_variables (locale_variables + environment_variables).sort.each...
false
Other
Homebrew
brew
eeaadc114823d4c130079536da1a3ecae030adc5.json
README: remove Azure Pipelines badge. We're using GitHub Actions now.
README.md
@@ -19,8 +19,6 @@ Second, read the [Troubleshooting Checklist](https://docs.brew.sh/Troubleshootin **If you don't read these it will take us far longer to help you with your problem.** ## Contributing -[![Azure Pipelines](https://img.shields.io/vso/build/Homebrew/56a87eb4-3180-495a-9117-5ed6c79da737/1.svg)](https:/...
false
Other
Homebrew
brew
8ff7601a92b9200c660706d60e04aa63200baa73.json
define default prefix constants also use them to detect if prefix line in bottle block is needed
Library/Homebrew/dev-cmd/bottle.rb
@@ -16,7 +16,7 @@ <% if !root_url.start_with?(HOMEBREW_BOTTLE_DEFAULT_DOMAIN) %> root_url "<%= root_url %>" <% end %> - <% if ![Homebrew::DEFAULT_PREFIX, "/usr/local"].include?(prefix) %> + <% if ![HOMEBREW_DEFAULT_PREFIX, LINUXBREW_DEFAULT_PREFIX].include?(prefix) %> prefix "<%= prefix %>" ...
true
Other
Homebrew
brew
8ff7601a92b9200c660706d60e04aa63200baa73.json
define default prefix constants also use them to detect if prefix line in bottle block is needed
Library/Homebrew/global.rb
@@ -52,14 +52,17 @@ HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ENV["HOMEBREW_BOTTLE_DEFAULT_DOMAIN"] HOMEBREW_BOTTLE_DOMAIN = ENV["HOMEBREW_BOTTLE_DOMAIN"] +HOMEBREW_DEFAULT_PREFIX = "/usr/local" +LINUXBREW_DEFAULT_PREFIX = "/home/linuxbrew/.linuxbrew" + require "fileutils" require "os" require "os/global" module Homeb...
true
Other
Homebrew
brew
8ff7601a92b9200c660706d60e04aa63200baa73.json
define default prefix constants also use them to detect if prefix line in bottle block is needed
Library/Homebrew/os/linux/global.rb
@@ -2,8 +2,8 @@ module Homebrew DEFAULT_PREFIX ||= if ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"] - "/usr/local" + HOMEBREW_DEFAULT_PREFIX else - "/home/linuxbrew/.linuxbrew" + LINUXBREW_DEFAULT_PREFIX end.freeze end
true
Other
Homebrew
brew
b31b14f7869c921f95f46d563ae13034113b5fe6.json
cat: use HOMEBREW_VISUAL as pager if set
Library/Homebrew/cmd/cat.rb
@@ -25,6 +25,7 @@ def cat raise "`brew cat` doesn't support multiple arguments" if args.remaining.size > 1 cd HOMEBREW_REPOSITORY - safe_system "cat", formulae.first.path, *Homebrew.args.passthrough + pager = ENV["HOMEBREW_VISUAL"] || "cat" + safe_system pager, formulae.first.path, *Homebrew.args.p...
false
Other
Homebrew
brew
eb9a31b52b0643b3b88f75ce509145fe45fdd18d.json
requirement_spec: use describe correctly.
Library/Homebrew/test/requirement_spec.rb
@@ -39,7 +39,7 @@ end describe "#fatal?" do - context "#fatal true is specified" do + describe "#fatal true is specified" do let(:klass) do Class.new(described_class) do fatal true @@ -49,13 +49,13 @@ it { is_expected.to be_fatal } end - context "#fatal is omitt...
false
Other
Homebrew
brew
e88f6b9da9fab7dde364a8049b023b736b6ef002.json
args: Add passthrough method and tests
Library/Homebrew/cli/args.rb
@@ -21,16 +21,14 @@ def option_to_name(option) end def cli_args - return @cli_args unless @cli_args.nil? + return @cli_args if @cli_args @cli_args = [] processed_options.each do |short, long| option = long || short switch = "#{option_to_name(option...
true
Other
Homebrew
brew
e88f6b9da9fab7dde364a8049b023b736b6ef002.json
args: Add passthrough method and tests
Library/Homebrew/cmd/cat.rb
@@ -25,7 +25,6 @@ def cat raise "`brew cat` doesn't support multiple arguments" if args.remaining.size > 1 cd HOMEBREW_REPOSITORY - cat_args = Homebrew.args.options_only - CLI::Parser.global_options.values.map(&:first).flatten - safe_system "cat", formulae.first.path, *cat_args + safe_system "cat",...
true
Other
Homebrew
brew
e88f6b9da9fab7dde364a8049b023b736b6ef002.json
args: Add passthrough method and tests
Library/Homebrew/cmd/list.rb
@@ -70,8 +70,7 @@ def list puts Formatter.columns(full_names) else ENV["CLICOLOR"] = nil - ls_args = Homebrew.args.options_only - CLI::Parser.global_options.values.map(&:first).flatten - safe_system "ls", *ls_args << HOMEBREW_CELLAR + safe_system "ls", *Homebrew.args.passth...
true
Other
Homebrew
brew
e88f6b9da9fab7dde364a8049b023b736b6ef002.json
args: Add passthrough method and tests
Library/Homebrew/test/cli/parser_spec.rb
@@ -230,5 +230,10 @@ parser.parse(["--foo", "--bar=value", "-v", "-s", "a", "b", "cdefg"]) expect(Homebrew.args.flags_only).to eq %w[--foo --bar=value --verbose] end + + it "#passthrough" do + parser.parse(["--foo", "--bar=value", "-v", "-s", "a", "b", "cdefg"]) + expect(Homebrew.args.pa...
true
Other
Homebrew
brew
da19c15c101eb3ebecf5b01f9185dc6a92ae6f23.json
create: simplify conditional in template
Library/Homebrew/formula_creator.rb
@@ -150,7 +150,7 @@ def install "--prefix=\#{prefix}" # system "cmake", ".", *std_cmake_args <% end %> - <% if mode != :meson and mode != :go and mode != :python %> + <% if mode == :autotools or mode == :cmake %> system "make", "install...
false
Other
Homebrew
brew
f6ef26a127fdcc2687004ffef198f519fd160cfd.json
Fix OS version logic for uses_from_macos
Library/Homebrew/extend/os/mac/software_spec.rb
@@ -23,9 +23,9 @@ def uses_from_macos(deps, **args) def add_mac_dependency?(args) args.each { |key, version| args[key] = OS::Mac::Version.from_symbol(version) } - return false if args[:after] && OS::Mac.version < args[:after] + return false if args[:after] && OS::Mac.version >= args[:after] - retur...
true
Other
Homebrew
brew
f6ef26a127fdcc2687004ffef198f519fd160cfd.json
Fix OS version logic for uses_from_macos
Library/Homebrew/test/os/mac/software_spec_spec.rb
@@ -13,43 +13,46 @@ allow(OS::Mac).to receive(:version).and_return(OS::Mac::Version.new(sierra_os_version)) end - it "allows specifying dependencies before certain version" do + it "allows specifying macOS dependencies before a certain version" do spec.uses_from_macos("foo", before: :high_sie...
true
Other
Homebrew
brew
9bd77b18197ecf5e3b4d048fb2452d7be474ee13.json
formula API: expose uses_from_macos list
Library/Homebrew/extend/os/mac/software_spec.rb
@@ -4,12 +4,18 @@ class SoftwareSpec undef uses_from_macos def uses_from_macos(deps, **args) + @uses_from_macos_elements ||= [] + if deps.is_a?(Hash) args = deps deps = Hash[*args.shift] end - depends_on(deps) if add_mac_dependency?(args) + if add_mac_dependency?(args) + ...
true
Other
Homebrew
brew
9bd77b18197ecf5e3b4d048fb2452d7be474ee13.json
formula API: expose uses_from_macos list
Library/Homebrew/formula.rb
@@ -428,6 +428,9 @@ def aliases # The {Dependency}s for the currently active {SoftwareSpec}. delegate deps: :active_spec + # Dependencies provided by macOS for the currently active {SoftwareSpec}. + delegate uses_from_macos_elements: :active_spec + # The {Requirement}s for the currently active {SoftwareSpe...
true
Other
Homebrew
brew
9bd77b18197ecf5e3b4d048fb2452d7be474ee13.json
formula API: expose uses_from_macos list
Library/Homebrew/software_spec.rb
@@ -26,6 +26,7 @@ class SoftwareSpec attr_reader :dependency_collector attr_reader :bottle_specification attr_reader :compiler_failures + attr_reader :uses_from_macos_elements def_delegators :@resource, :stage, :fetch, :verify_download_integrity, :source_modified_time def_delegators :@resource, :downl...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/.rubocop_cask.yml
@@ -3,6 +3,8 @@ inherit_from: ./.rubocop_shared.yml Cask/HomepageMatchesUrl: Description: 'Ensure that the homepage and url match, otherwise add a comment. More info at https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comme...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/cask/cmd/style.rb
@@ -31,7 +31,7 @@ def install_rubocop def cask_paths @cask_paths ||= if args.empty? - Tap.map(&:cask_dir).select(&:directory?) + Tap.map(&:cask_dir).select(&:directory?).concat(test_cask_paths) elsif args.any? { |file| File.exist?(file) } args.map { |path| Pathnam...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/cask/cmd/home_spec.rb
@@ -10,13 +10,13 @@ it_behaves_like "a command that handles invalid options" it "opens the homepage for the specified Cask" do - expect(described_class).to receive(:open_url).with("https://brew.sh") + expect(described_class).to receive(:open_url).with("https://brew.sh/") described_class.run("local-ca...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/cask/cmd/info_spec.rb
@@ -12,7 +12,7 @@ described_class.run("local-caffeine") }.to output(<<~EOS).to_stdout local-caffeine: 1.2.3 - https://brew.sh + https://brew.sh/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/local-caffeine.rb ==> Name @@ -41,7 +41,7 @@ ...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb
@@ -5,7 +5,7 @@ command = described_class.new("homepage", "local-caffeine") expect { command.run - }.to output("https://brew.sh\n").to_stdout + }.to output("https://brew.sh/\n").to_stdout end it "raises an exception when stanza is unknown/unsupported" do
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/cask/cmd/style_spec.rb
@@ -80,8 +80,12 @@ end it { - expect(subject).to contain_exactly(a_path_ending_with("/homebrew/homebrew-cask/Casks"), - a_path_ending_with("/third-party/homebrew-tap/Casks")) + expect(subject).to contain_exactly( + a_path_ending_with("/hom...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb
@@ -3,7 +3,7 @@ sha256 'badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb
@@ -3,6 +3,6 @@ url do # to be lazily evaluated - fail 'Boom' + raise 'Boom' end end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' installer manual: 'Caffeine.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb
@@ -1,9 +1,9 @@ -cask => 'invalid-header-format' do +cask 'invalid-header-format', :invalid do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Ca...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' homepage 'https://www.brew.sh/local-caffeine' app 'Caffeine.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb
@@ -4,7 +4,7 @@ url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" url 'https://brew.sh/caffeine.zip' - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb
@@ -4,7 +4,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb
@@ -1,10 +1,10 @@ cask 'local-transmission' do - name 'Transmission' version '2.61' sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://brew.sh' + name 'Transmission' + homepage 'https://brew.sh/' ...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb
@@ -2,7 +2,7 @@ version '1.2.3' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb
@@ -1,5 +1,5 @@ cask 'missing-url' do version '1.2.3' - homepage 'https://brew.sh' + homepage 'https://brew.sh/' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb
@@ -1,4 +1,4 @@ cask 'missing-version' do - url 'https://localhost/something.dmg' - homepage 'https://brew.sh' + url 'https://brew.sh/TestCask.dmg' + homepage 'https://brew.sh/' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb
@@ -3,7 +3,7 @@ sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Transmission.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb
@@ -3,7 +3,7 @@ sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'container' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app', target: 'AnotherName.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb
@@ -3,12 +3,12 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' # a do block may print and use a DSL caveats do - puts 'This caveat is co...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
@@ -7,7 +7,7 @@ pkg 'MyFancyPkg/Fancy.pkg' - uninstall script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: %w[--please] }, + uninstall script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: ['--please'] }, quit: 'my.fancy.package.app', login_item: 'F...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' installer manual: 'Caffeine.app' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb
@@ -1,18 +1,18 @@ cask 'with-languages' do version '1.2.3' - language "zh" do - sha256 "abc123" - "zh-CN" + language 'zh' do + sha256 'abc123' + 'zh-CN' end - language "en-US", default: true do - sha256 "xyz789" - "en-US" + language 'en-US', default: true do + sha256 'xyz789' + 'e...
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb
@@ -5,5 +5,5 @@ url "file://#{TEST_FIXTURE_DIR}/cask/naked_non_executable" homepage 'https://brew.sh/with-binary' - binary "naked_non_executable" + binary 'naked_non_executable' end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb
@@ -9,7 +9,6 @@ postflight do end - postflight do end end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb
@@ -9,7 +9,6 @@ preflight do end - preflight do end end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb
@@ -3,7 +3,7 @@ sha256 '3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e' url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb
@@ -3,7 +3,7 @@ sha256 'd687c22a21c02bd8f07da9302c8292b93a04df9a929e3f04d09aea6c76f75c65' url "file://#{TEST_FIXTURE_DIR}/cask/caffeines-subdir.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeines/Caffeine Mini.app' app 'Caffeines/Caffeine Pro.app'
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb
@@ -7,5 +7,5 @@ pkg 'MyFancyPkg/Fancy.pkg' - uninstall early_script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: %w[--please] } + uninstall early_script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: ['--please'] } end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb
@@ -8,6 +8,5 @@ pkg 'MyFancyPkg/Fancy.pkg' uninstall rmdir: "#{TEST_TMPDIR}/empty_directory_path" - uninstall delete: "#{TEST_TMPDIR}/empty_directory_path" end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb
@@ -9,7 +9,6 @@ uninstall_postflight do end - uninstall_postflight do end end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb
@@ -9,7 +9,6 @@ uninstall_preflight do end - uninstall_preflight do end end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb
@@ -16,6 +16,6 @@ uninstall script: { executable: "#{appdir}/MyFancyApp.app/uninstall.sh", - sudo: false + sudo: false, } end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb
@@ -7,5 +7,5 @@ pkg 'MyFancyPkg/Fancy.pkg' - uninstall script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: %w[--please] } + uninstall script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: ['--please'] } end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb
@@ -7,5 +7,5 @@ pkg 'MyFancyPkg/Fancy.pkg' - zap early_script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: %w[--please] } + zap early_script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: ['--please'] } end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb
@@ -8,6 +8,5 @@ pkg 'MyFancyPkg/Fancy.pkg' zap rmdir: "#{TEST_TMPDIR}/empty_directory_path" - zap delete: "#{TEST_TMPDIR}/empty_directory_path" end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb
@@ -7,5 +7,5 @@ pkg 'MyFancyPkg/Fancy.pkg' - zap script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: %w[--please] } + zap script: { executable: 'MyFancyPkg/FancyUninstaller.tool', args: ['--please'] } end
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb
@@ -11,7 +11,7 @@ zap script: { executable: 'MyFancyPkg/FancyUninstaller.tool', - args: %w[--please], + args: ['--please'], }, quit: 'my.fancy.package.app', login_item: 'Fancy',
true
Other
Homebrew
brew
45806f6a9799b25ec256b3512ea965dc07c5cd9d.json
Include test casks in the cask style check. Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style". This change includes these test cask paths in the checked paths, and ...
Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://brew.sh' + homepage 'https://brew.sh/' app 'Caffeine.app' end
true
Other
Homebrew
brew
c9a75db27d36dcf3a8fa85590e7e3c0b61de3862.json
cask: recommend adoptopenjdk as per #6040
Library/Homebrew/cask/dsl/caveats.rb
@@ -87,17 +87,17 @@ def eval_caveats(&block) if java_version == :any <<~EOS #{@cask} requires Java. You can install the latest version with: - brew cask install java + brew cask install adoptopenjdk EOS elsif java_version.include?("11") || j...
false
Other
Homebrew
brew
a9b9d4613decfca219ba07b752e7ef1df58f72c3.json
cask: return nil instead of "" if no caveats
Library/Homebrew/cask/cask.rb
@@ -147,7 +147,7 @@ def to_h "version" => version, "sha256" => sha256, "artifacts" => artifacts.map(&method(:to_h_gsubs)), - "caveats" => to_h_string_gsubs(caveats), + "caveats" => (to_h_string_gsubs(caveats) unless caveats.empty?), "de...
false
Other
Homebrew
brew
fbc13f05dd67656915c320cf33201f75af2d60ba.json
utils/curl: extract status checks into method.
Library/Homebrew/utils/curl.rb
@@ -94,7 +94,7 @@ def curl_check_http_content(url, user_agents: [:default], check_content: false, user_agents.each do |ua| details = curl_http_content_headers_and_checksum(url, hash_needed: hash_needed, user_agent: ua) user_agent = ua - break if (100..299).include?(details[:status].to_i) + break if h...
false
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/cask/audit.rb
@@ -1,5 +1,6 @@ # frozen_string_literal: true +require "cask/blacklist" require "cask/checkable" require "cask/download" require "digest" @@ -30,6 +31,7 @@ def check_token_conflicts? end def run! + check_blacklist check_required_stanzas check_version check_sha256 @@ -320,6 +3...
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/cask/blacklist.rb
@@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Cask + module Blacklist + def self.blacklisted_reason(name) + case name + when /^adobe\-(after|illustrator|indesign|photoshop|premiere)/ + "Adobe casks were removed because they are too difficult to maintain." + when /^audacity$/ + ...
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/test/cask/audit_spec.rb
@@ -399,6 +399,28 @@ def include_msg?(messages, msg) end end + describe "blacklist checks" do + context "when the Cask isn't blacklisted" do + let(:cask_token) { "adobe-air" } + + it { is_expected.to pass } + end + + context "when the Cask is blacklisted" do + contex...
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/test/cask/blacklist_spec.rb
@@ -0,0 +1,21 @@ +# frozen_string_literal: true + +describe Cask::Blacklist, :cask do + describe "::blacklisted_reason" do + matcher :blacklist do |name| + match do |expected| + expected.blacklisted_reason(name) + end + end + + it { is_expected.not_to blacklist("adobe-air") } + it { is_exp...
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb
@@ -0,0 +1,10 @@ +cask 'adobe-air' do + version '1.2.3' + sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b' + + url 'https://brew.sh/TestCask.dmg' + name 'Adobe Air' + homepage 'https://brew.sh/' + + app 'TestCask.app' +end
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb
@@ -0,0 +1,10 @@ +cask 'adobe-illustrator' do + version '1.2.3' + sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b' + + url 'https://brew.sh/TestCask.dmg' + name 'Adobe Illustrator' + homepage 'https://brew.sh/' + + app 'TestCask.app' +end
true
Other
Homebrew
brew
af10d13381bb89045a1359a5b8c6274189f5f542.json
Check blacklisted Casks when auditing. In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` ...
Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb
@@ -0,0 +1,10 @@ +cask 'pharo' do + version '1.2.3' + sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b' + + url 'https://brew.sh/ThirdParty.dmg' + name 'Pharo' + homepage 'https://brew.sh/' + + app 'ThirdParty.app' +end
true
Other
Homebrew
brew
23294a5647dc565b12700a36cc90dc5f38ccc2e9.json
Docs: Add a link to the linuxbrew-core maintainer guide
docs/README.md
@@ -47,6 +47,7 @@ - [New Maintainer Checklist](New-Maintainer-Checklist.md) - [Maintainers: Avoiding Burnout](Maintainers-Avoiding-Burnout.md) - [Maintainer Guidelines](Maintainer-Guidelines.md) +- [Homebrew/linuxbrew-core Maintainer Guide](Homebrew-linuxbrew-core-Maintainer-Guide.md) - [Brew Test Bot For Maintaine...
false