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 | 1f963267b6bd415ce3024bb7860d5253ad8e0132.json | Update Rubocop style.
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed. | Library/Homebrew/extend/ENV/super.rb | @@ -139,7 +139,7 @@ def determine_pkg_config_path
end
def determine_pkg_config_libdir
- paths = %W[/usr/lib/pkgconfig]
+ paths = %w[/usr/lib/pkgconfig]
paths += homebrew_extra_pkg_config_paths
paths.to_path_s
end | true |
Other | Homebrew | brew | 1f963267b6bd415ce3024bb7860d5253ad8e0132.json | Update Rubocop style.
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed. | Library/Homebrew/locale.rb | @@ -51,20 +51,20 @@ def initialize(language, region, script)
def include?(other)
other = self.class.parse(other) unless other.is_a?(self.class)
- [:language, :region, :script].all? { |var|
+ [:language, :region, :script].all? do |var|
if other.public_send(var).nil?
true
else
... | true |
Other | Homebrew | brew | 1f963267b6bd415ce3024bb7860d5253ad8e0132.json | Update Rubocop style.
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed. | Library/Homebrew/tap.rb | @@ -206,7 +206,7 @@ def install(options = {})
end
ohai "Unshallowing #{name}" unless quiet
- args = %W[fetch --unshallow]
+ args = %w[fetch --unshallow]
args << "-q" if quiet
path.cd { safe_system "git", *args }
return | true |
Other | Homebrew | brew | 1f963267b6bd415ce3024bb7860d5253ad8e0132.json | Update Rubocop style.
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed. | Library/Homebrew/utils/formatter.rb | @@ -78,9 +78,9 @@ def columns(*objects, gap_size: 2)
rows.times do |row_index|
item_indices_for_row = row_index.step(objects.size - 1, rows).to_a
- first_n = item_indices_for_row[0...-1].map { |index|
+ first_n = item_indices_for_row[0...-1].map do |index|
objects[index] + "".rjust(col_... | true |
Other | Homebrew | brew | 0ae1785703cc816725c78bbff4b390b918d6fd29.json | formula: use names for formula comparison
* Causes a bug in Formula#installed_alias_target_changed? when
Formula#superseds_an_installed_formula? returns true because
Formula#old_installed_formulae includes f for some Formula f.
* Causes a bug when foo@2.4 with alias foo has HEAD or devel version and
we try to `... | Library/Homebrew/formula.rb | @@ -1167,7 +1167,7 @@ def current_installed_alias_target
# Returns false if the formula wasn't installed with an alias.
def installed_alias_target_changed?
target = current_installed_alias_target
- target && target != self
+ target && target.name != name
end
# Is this formula the target of an a... | false |
Other | Homebrew | brew | e8b6aa4ed16b662cf7a3847e6f7995ca8c8e0194.json | cask/spec: replace with_env_var with with_environment | Library/Homebrew/cask/spec/cask/cli_spec.rb | @@ -41,14 +41,14 @@
end
it "respects the env variable when choosing what appdir to create" do
- EnvHelper.with_env_var("HOMEBREW_CASK_OPTS", "--appdir=/custom/appdir") do
+ with_environment "HOMEBREW_CASK_OPTS" => "--appdir=/custom/appdir" do
expect(Hbc).to receive(:appdir=).with(Pathname... | true |
Other | Homebrew | brew | e8b6aa4ed16b662cf7a3847e6f7995ca8c8e0194.json | cask/spec: replace with_env_var with with_environment | Library/Homebrew/cask/spec/spec_helper.rb | @@ -16,6 +16,7 @@
# add Homebrew-Cask to load path
$LOAD_PATH.push(project_root.join("lib").to_s)
+require "test/helper/env"
require "test/helper/shutup"
Dir["#{project_root}/spec/support/*.rb"].each(&method(:require))
@@ -61,5 +62,6 @@ class Tap
RSpec.configure do |config|
config.order = :random
+ confi... | true |
Other | Homebrew | brew | e8b6aa4ed16b662cf7a3847e6f7995ca8c8e0194.json | cask/spec: replace with_env_var with with_environment | Library/Homebrew/cask/spec/support/env_helper.rb | @@ -1,16 +0,0 @@
-module EnvHelper
- class << self
- def with_env_var(key, val)
- was_defined = ENV.key? "key"
- old_value = ENV["key"]
- ENV[key] = val
- yield
- ensure
- if was_defined
- ENV[key] = old_value
- else
- ENV.delete(key)
- end
- end
- end
-end | true |
Other | Homebrew | brew | fba00f2bbfd970ece1d2503a333a9a2730ae5b63.json | testing_env: extract with_environment to helper module | Library/Homebrew/test/helper/env.rb | @@ -0,0 +1,15 @@
+module Test
+ module Helper
+ module Env
+ def with_environment(partial_env)
+ old = ENV.to_hash
+ ENV.update partial_env
+ begin
+ yield
+ ensure
+ ENV.replace old
+ end
+ end
+ end
+ end
+end | true |
Other | Homebrew | brew | fba00f2bbfd970ece1d2503a333a9a2730ae5b63.json | testing_env: extract with_environment to helper module | Library/Homebrew/test/testing_env.rb | @@ -63,7 +63,9 @@ def after_teardown
end
class TestCase < ::Minitest::Test
+ require "test/helper/env"
require "test/helper/shutup"
+ include Test::Helper::Env
include Test::Helper::Shutup
include VersionAssertions
@@ -112,16 +114,6 @@ def bundle_path(name)
Pathname.new("#{TEST_DIR... | true |
Other | Homebrew | brew | 6e1c132f99166c716c991d687e4017167c2a37d0.json | Remove Cask’s `which` method. | Library/Homebrew/cask/lib/hbc/cli.rb | @@ -107,7 +107,7 @@ def self.run_command(command, *rest)
if command.respond_to?(:run)
# usual case: built-in command verb
command.run(*rest)
- elsif require? Utils.which("brewcask-#{command}.rb").to_s
+ elsif require? which("brewcask-#{command}.rb").to_s
# external command as... | true |
Other | Homebrew | brew | 6e1c132f99166c716c991d687e4017167c2a37d0.json | Remove Cask’s `which` method. | Library/Homebrew/cask/lib/hbc/utils.rb | @@ -38,34 +38,6 @@ def odebug(title, *sput)
module Hbc
module Utils
- def self.which(cmd, path = ENV["PATH"])
- unless File.basename(cmd) == cmd.to_s
- # cmd contains a directory element
- cmd_pn = Pathname(cmd)
- return nil unless cmd_pn.absolute?
- return resolve_executable(c... | true |
Other | Homebrew | brew | 5d606dd0a275446f00f31884ac042572f3a620ad.json | Use SystemCommand.run instead of custom wrapper.
There is an existing `SystemCommand.run` that executes command with
`sudo`. Use that instead of yet another custom wrapper. | Library/Homebrew/cask/lib/hbc/caskroom.rb | @@ -13,7 +13,7 @@ def migrate_caskroom_from_repo_to_prefix
FileUtils.mv repo_caskroom, Hbc.caskroom
else
opoo "#{Hbc.caskroom.parent} is not writable, sudo is needed to move the Caskroom."
- command "/bin/mv", repo_caskroom, Hbc.caskroom.parent, :use_sudo => true
+ SystemCommand.r... | false |
Other | Homebrew | brew | ef70677e881855f1e7b51f158752e1ee78b27a96.json | Add test for `Formatter.columns`. | Library/Homebrew/cask/spec/formatter_spec.rb | @@ -0,0 +1,56 @@
+require "spec_helper"
+require "utils/formatter"
+require "utils/tty"
+
+describe Formatter do
+ describe "::columns" do
+ let(:input) {
+ [
+ 'aa',
+ 'bbb',
+ 'ccc',
+ 'dd'
+ ]
+ }
+ subject { described_class.columns(input) }
+
+ it "doesn't output c... | false |
Other | Homebrew | brew | d9242c540d82ec25019896a043410dd07b831609.json | Fix wrong ordering on when clauses in audit.rb
It looks like a rebase/merge conflict remmenet. | Library/Homebrew/dev-cmd/audit.rb | @@ -406,10 +406,9 @@ def audit_deps
depends_on :ruby => "1.8"
where "1.8" is the minimum version of Ruby required.
EOS
- when "open-mpi", "mpich"
- problem <<-EOS.undent
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
+ when "open-mp... | false |
Other | Homebrew | brew | a4e092a1c49bf7a81244a1f04ef1e115176754cc.json | add cask reinstall command | Library/Homebrew/cask/lib/hbc/cli.rb | @@ -15,6 +15,7 @@
require "hbc/cli/info"
require "hbc/cli/install"
require "hbc/cli/list"
+require "hbc/cli/reinstall"
require "hbc/cli/search"
require "hbc/cli/style"
require "hbc/cli/uninstall" | true |
Other | Homebrew | brew | a4e092a1c49bf7a81244a1f04ef1e115176754cc.json | add cask reinstall command | Library/Homebrew/cask/lib/hbc/cli/reinstall.rb | @@ -0,0 +1,48 @@
+module Hbc
+ class CLI
+ class Reinstall < Install
+ def self.install_casks(cask_tokens, force, skip_cask_deps, require_sha)
+ count = 0
+ cask_tokens.each do |cask_token|
+ begin
+ cask = Hbc.load(cask_token)
+
+ if cask.installed?
+ ... | true |
Other | Homebrew | brew | a4e092a1c49bf7a81244a1f04ef1e115176754cc.json | add cask reinstall command | Library/Homebrew/cask/test/cask/cli/reinstall_test.rb | @@ -0,0 +1,17 @@
+require "test_helper"
+
+describe Hbc::CLI::Reinstall do
+ it "allows reinstalling a Cask" do
+ Hbc::CLI::Install.run("local-transmission")
+ Hbc.load("local-transmission").must_be :installed?
+ Hbc::CLI::Reinstall.run("local-transmission")
+ Hbc.load("local-transmission").must_be :instal... | true |
Other | Homebrew | brew | ebe50703cad152d73150d3f7701a43f26c7839e1.json | README.md: fix URL for jawshooah | README.md | @@ -40,7 +40,7 @@ This is our PGP key which is valid until May 24, 2017.
## Who Are You?
Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid).
-Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apjanke), [Xu Cheng](https://git... | false |
Other | Homebrew | brew | 4c87852df36e648f0feacc479f42c81429c36237.json | Add maintainers from Cask. | README.md | @@ -40,7 +40,7 @@ This is our PGP key which is valid until May 24, 2017.
## Who Are You?
Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid).
-Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apjanke), [Xu Cheng](https://git... | true |
Other | Homebrew | brew | 4c87852df36e648f0feacc479f42c81429c36237.json | Add maintainers from Cask. | docs/brew.1.html | @@ -760,7 +760,7 @@ <h2 id="AUTHORS">AUTHORS</h2>
<p>Homebrew's lead maintainer is Mike McQuaid.</p>
-<p>Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Tim Smith and Alex Dunn.</p>
+<p>Homebr... | true |
Other | Homebrew | brew | 4c87852df36e648f0feacc479f42c81429c36237.json | Add maintainers from Cask. | manpages/brew.1 | @@ -1027,7 +1027,7 @@ Homebrew Documentation: \fIhttps://github\.com/Homebrew/brew/blob/master/docs/\f
Homebrew\'s lead maintainer is Mike McQuaid\.
.
.P
-Homebrew\'s current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, ilovezfs, Martin Afanasjew, Uladzislau Sh... | true |
Other | Homebrew | brew | beb30653fb67c2bd792114c250942ab651a7db39.json | README: add significant previous maintainers. | README.md | @@ -40,9 +40,9 @@ This is our PGP key which is valid until May 24, 2017.
## Who Are You?
Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid).
-Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apjanke), [Xu Cheng](https://git... | true |
Other | Homebrew | brew | beb30653fb67c2bd792114c250942ab651a7db39.json | README: add significant previous maintainers. | docs/brew.1.html | @@ -760,9 +760,9 @@ <h2 id="AUTHORS">AUTHORS</h2>
<p>Homebrew's lead maintainer is Mike McQuaid.</p>
-<p>Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Tim Smith and Alex Dunn.<... | true |
Other | Homebrew | brew | beb30653fb67c2bd792114c250942ab651a7db39.json | README: add significant previous maintainers. | manpages/brew.1 | @@ -1027,10 +1027,10 @@ Homebrew Documentation: \fIhttps://github\.com/Homebrew/brew/blob/master/docs/\f
Homebrew\'s lead maintainer is Mike McQuaid\.
.
.P
-Homebrew\'s current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasje... | true |
Other | Homebrew | brew | 5163aa5d21a612738362a186e6d45e6fb1daa94a.json | formula_installer: Remove obsolete hard dependency on cctools.
ruby-macho now performs all relocations in Homebrew.
Additionally, delete the defunct CctoolsRequirement. | Library/Homebrew/formula_installer.rb | @@ -12,7 +12,6 @@
require "hooks/bottles"
require "debrew"
require "sandbox"
-require "requirements/cctools_requirement"
require "emoji"
require "development_tools"
@@ -234,7 +233,6 @@ def install
pour_bottle = pour_bottle?(warn: true)
if pour_bottle
begin
- install_relocation_tools unles... | true |
Other | Homebrew | brew | 5163aa5d21a612738362a186e6d45e6fb1daa94a.json | formula_installer: Remove obsolete hard dependency on cctools.
ruby-macho now performs all relocations in Homebrew.
Additionally, delete the defunct CctoolsRequirement. | Library/Homebrew/requirements/cctools_requirement.rb | @@ -1,13 +0,0 @@
-# Represents a general requirement for utilities normally installed by Xcode,
-# the CLT, or provided by the cctools formula. In particular, this requirement
-# allows Homebrew to pull in the cctools formula and use its utilities to
-# perform relocation operations on systems that do not have either X... | true |
Other | Homebrew | brew | ec03dcfe952c3948dc07d9b02e2b5a574ee7e3b8.json | Fix warning for HOMEBREW_REPOSITORY at /usr/local | Library/Homebrew/brew.sh | @@ -278,6 +278,7 @@ EOS
check-run-command-as-root
if [[ "$HOMEBREW_PREFIX" = "/usr/local" &&
+ "$HOMEBREW_PREFIX" != "$HOMEBREW_REPOSITORY" &&
"$HOMEBREW_CELLAR" = "$HOMEBREW_REPOSITORY/Cellar" ]]
then
cat >&2 <<EOS | false |
Other | Homebrew | brew | d8a6863283048cd2cc1f7fb78178b2fc19420e0c.json | keg_relocate: use xargs to batch file arguments | Library/Homebrew/keg_relocate.rb | @@ -72,13 +72,14 @@ def text_files
# file with that fix is only available in macOS Sierra.
# http://bugs.gw.com/view.php?id=292
with_custom_locale("C") do
- path.find do |pn|
- next if pn.symlink? || pn.directory?
- next if Metafiles::EXTENSIONS.include? pn.extname
- if Utils.po... | false |
Other | Homebrew | brew | 9eaf221885c6340ce5a737b54d8d6bb652c197bb.json | Allow auditing of a single language of a cask. | Library/Homebrew/cask/lib/hbc/auditor.rb | @@ -1,15 +1,16 @@
module Hbc
class Auditor
def self.audit(cask, audit_download: false, check_token_conflicts: false)
- if languages_blocks = cask.instance_variable_get(:@dsl).instance_variable_get(:@language_blocks)
+ if !ARGV.value("language") &&
+ languages_blocks = cask.instance_variable_ge... | false |
Other | Homebrew | brew | 58d998e20826a9d7b319b9677c91391240e22297.json | postinstall: allow write access to cellars in repository.
If HOMEBREW_CELLAR (or HOMEBREW_PREFIX) are children of
HOMEBREW_REPOSITORY it’s important to deny write to the repository and
enable write to the Cellar/prefix afterwards. | Library/Homebrew/cmd/postinstall.rb | @@ -35,10 +35,10 @@ def run_post_install(formula)
sandbox.record_log(formula.logs/"postinstall.sandbox.log")
sandbox.allow_write_temp_and_cache
sandbox.allow_write_log(formula)
- sandbox.allow_write_cellar(formula)
sandbox.allow_write_xcode
- sandbox.allow_write_path HO... | false |
Other | Homebrew | brew | d51cd15e0c748d1b2a35f6327a131622b6ee48b7.json | Create caskroom without sudo in writable parent.
In case the parent directory of Caskroom is writable for the user, we
don't need to use `sudo` to execute commands.
Make a generic method to run commands that has an option to switch sudo
so that we can run commands with and without sudo. | Library/Homebrew/cask/lib/hbc/caskroom.rb | @@ -13,7 +13,7 @@ def migrate_caskroom_from_repo_to_prefix
FileUtils.mv repo_caskroom, Hbc.caskroom
else
opoo "#{Hbc.caskroom.parent} is not writable, sudo is needed to move the Caskroom."
- sudo "/bin/mv", repo_caskroom.to_s, Hbc.caskroom.parent.to_s
+ command "/bin/mv", repo_cas... | false |
Other | Homebrew | brew | d00f35b8c4dcdcbf86074015f0471f27e3dc2aaa.json | FIX: cask changes /usr/local ownership recursively
Relatively old code in Hbc::Caskroom recursively changes the ownership
of the directory where the Caskroom directory exists, that changes
entire files in /usr/local to user:staff if Homebrew setup with default
configuration.
This is really dangerous because it's easy ... | Library/Homebrew/cask/lib/hbc/caskroom.rb | @@ -13,32 +13,25 @@ def migrate_caskroom_from_repo_to_prefix
FileUtils.mv repo_caskroom, Hbc.caskroom
else
opoo "#{Hbc.caskroom.parent} is not writable, sudo is needed to move the Caskroom."
- system "/usr/bin/sudo", "--", "/bin/mv", "--", repo_caskroom.to_s, Hbc.caskroom.parent.to_s
+ ... | false |
Other | Homebrew | brew | 21ff82be7f7cc64866d41d0fdc905b66d714196f.json | diagnostic: handle HOMEBREW_TEMP mktmpdir failure.
Fixes #1223. | Library/Homebrew/diagnostic.rb | @@ -644,13 +644,18 @@ def check_for_multiple_volumes
real_cellar = HOMEBREW_CELLAR.realpath
where_cellar = volumes.which real_cellar
- tmp = Pathname.new(Dir.mktmpdir("doctor", HOMEBREW_TEMP))
begin
- real_tmp = tmp.realpath.parent
- where_tmp = volumes.which real_t... | false |
Other | Homebrew | brew | 5efb158860d0a919587c52e65e651153cda9a887.json | cleanup: remove GLIDE_HOME cache directories
This is needed since some formulae now set
ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}" | Library/Homebrew/cleanup.rb | @@ -50,7 +50,7 @@ def self.cleanup_cache(cache = HOMEBREW_CACHE)
cleanup_path(path) { path.unlink }
next
end
- if %w[java_cache npm_cache].include?(path.basename.to_s) && path.directory?
+ if %w[glide_home java_cache npm_cache].include?(path.basename.to_s) && path.directory?... | false |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/CONDUCT.md | @@ -1,74 +0,0 @@
-# Contributor Covenant Code of Conduct
-
-## Our Pledge
-
-In the interest of fostering an open and welcoming environment, we as
-contributors and maintainers pledge to making participation in our project and
-our community a harassment-free experience for everyone, regardless of age, body
-size, disa... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/CONTRIBUTING.md | @@ -1,71 +0,0 @@
-# How To Contribute
-
-:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
-
-* [Updating a Cask](#updating-a-cask)
-* [Getting Set Up To Contribute](#getting-set-up-to-contribute)
-* [Adding a Cask](#adding-a-cask)
-* [Style guide](#style-guide)
-* [Reporting Bugs](README.md#re... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/README.md | @@ -1,73 +0,0 @@
-# Homebrew-Cask
-
-_“To install, drag this icon…” no more!_
-
-Homebrew-Cask extends [Homebrew](http://brew.sh) and brings its elegance, simplicity, and speed to the installation and management of GUI macOS applications such as Google Chrome and Adium.
-
-We do this by providing a friendly Homebrew-st... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/USAGE.md | @@ -1,230 +0,0 @@
-# How to Use Homebrew-Cask
-
-## Getting Started
-
-First ensure you have Homebrew version `0.9.5` or higher:
-
-```bash
-$ brew --version
-0.9.5
-```
-
-## Frequently Used Commands
-
-Homebrew-Cask is implemented as a subcommand of Homebrew. All Homebrew-Cask commands begin with `brew cask`. Homebre... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md | @@ -1,58 +0,0 @@
-# All stanzas
-
-## Required Stanzas
-
-Each of the following stanzas is required for every Cask.
-
-| name | multiple occurrences allowed? | value |
-| ------------------ |------------------------------ | ----------- |
-| `version` | no | applic... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/readme.md | @@ -1,172 +0,0 @@
-# Synopsis
-
-## Casks Are Ruby Blocks
-
-Each Cask is a Ruby block, beginning with a special header line. The Cask definition itself is always enclosed in a `do … end` block. Example:
-
-```ruby
-cask 'alfred' do
- version '2.7.1_387'
- sha256 'a3738d0513d736918a6d71535ef3d85dd184af267c05698e49ac4... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/app.md | @@ -1,43 +0,0 @@
-# app
-
-In the simple case of a string argument to `app`, the source file is moved to the target `~/Applications` directory. For example:
-
-```ruby
-app 'Alfred 2.app'
-```
-
-moves the source to:
-
-```bash
-/Applications/Alfred 2.app
-```
-
-from a source file such as:
-
-```bash
-/usr/local/Caskr... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/appcast.md | @@ -1,23 +0,0 @@
-# appcast
-
-The value of the `appcast` stanza is a string, holding the URL for an appcast which provides information on future updates.
-
-## Required Appcast Parameters
-
-| key | value |
-| ------------- | ----------- |
-| `checkpoint:` | a string holding a custom checksum of the mo... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/caveats.md | @@ -1,53 +0,0 @@
-# caveats
-
-Sometimes there are particularities with the installation of a piece of software that cannot or should not be handled programatically by Homebrew-Cask. In those instances, `caveats` is the way to inform the user. Information in `caveats` is displayed when a cask is invoked with either `in... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/conflicts_with.md | @@ -1,14 +0,0 @@
-# conflicts_with
-
-`conflicts_with` is used to declare conflicts that keep a Cask from installing or working correctly.
-
-Several keys are accepted by `conflicts_with`, but none of them are yet enforced by the backend implementation. It is fine to proactively add `conflicts_with` stanzas to Casks in... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/depends_on.md | @@ -1,109 +0,0 @@
-# depends_on
-
-`depends_on` is used to declare dependencies and requirements for a Cask.
-`depends_on` is not consulted until `install` is attempted.
-
-## depends_on cask:
-
-The value should be another Cask token, needed by the current Cask.
-
-Example use: [`SSHFS`](https://github.com/caskroom/ho... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/flight.md | @@ -1,24 +0,0 @@
-# \*flight
-
-## Evaluation of Blocks is Always Deferred
-
-The Ruby blocks defined by `preflight`, `postflight`, `uninstall_preflight`, and `uninstall_postflight` are not evaluated until install time or uninstall time. Within a block, you may refer to the `@cask` instance variable, and invoke any met... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/gpg.md | @@ -1,11 +0,0 @@
-# gpg Stanza Details
-
-**This is a stub for upcoming functionality, and is not fully documented**.
-
-The `gpg` stanza contains signature information for GPG-signed distributions. The form is:
-
-```ruby
-gpg <signature>, <parameter>: <value>
-```
-
-where `<parameter>` is one of `key_id:` or `key_ur... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/installer.md | @@ -1,33 +0,0 @@
-# installer
-
-This stanza must always be accompanied by [`uninstall`](uninstall.md).
-
-The `installer` stanza takes a series of key-value pairs, the first key of which must be `manual:` or `script:`.
-
-## installer manual:
-
-`installer manual:` takes a single string value, describing a GUI install... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/name.md | @@ -1,9 +0,0 @@
-# name
-
-`name` accepts a UTF-8 string defining the full name of the software, and is used to help with searchability and disambiguation. It can be repeated multiple times if there are useful alternative names.
-
-Its first instance should use the latin alphabet, include the software vendor’s name, an... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/pkg.md | @@ -1,19 +0,0 @@
-# pkg
-
-This stanza must always be accompanied by [`uninstall`](uninstall.md)
-
-The first argument to the `pkg` stanza should be a relative path to the `.pkg` file to be installed. For example:
-
-```ruby
-pkg 'Unity.pkg'
-```
-
-Subsequent arguments to `pkg` are key/value pairs which modify the ins... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/sha256.md | @@ -1,17 +0,0 @@
-# sha256
-
-## Calculating the SHA256
-
-The `sha256` value is usually calculated by the command:
-
-```bash
-$ shasum -a 256 <file>
-```
-
-## Special Value `:no_check`
-
-The special value `sha256 :no_check` is used to turn off SHA checking whenever checksumming is impractical due to the upstream co... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/suite.md | @@ -1,11 +0,0 @@
-# suite
-
-Some distributions provide a suite of multiple applications, or an application with required data, to be installed together in a subdirectory of `/Applications`.
-
-For these Casks, use the `suite` stanza to define the directory containing the application suite. Example (from [sketchup.rb](... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/uninstall.md | @@ -1,199 +0,0 @@
-# uninstall
-
-IF YOU CANNOT DESIGN A WORKING `UNINSTALL` STANZA, PLEASE SUBMIT YOUR CASK ANYWAY. The maintainers will help you write an `uninstall` stanza, just ask!
-
-## uninstall pkgutil: Is The Easiest and Most Useful
-
-`pkgutil:` is the easiest and most useful `uninstall` directive. See [Unins... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/url.md | @@ -1,132 +0,0 @@
-# url
-
-## HTTPS URLs are Preferred
-
-If available, an HTTPS URL is preferred. A plain HTTP URL should only be used in the absence of a secure alternative.
-
-## Additional HTTP/S URL Parameters
-
-When a plain URL string is insufficient to fetch a file, additional information may be provided to th... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/version.md | @@ -1,53 +0,0 @@
-# version
-
-`version`, while related to the app’s own versioning, doesn’t have to follow it exactly. It is common to change it slightly so it can be [interpolated](https://en.wikipedia.org/wiki/String_interpolation#Ruby) in other stanzas, usually in `url` to create a Cask that only needs `version` an... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/stanzas/zap.md | @@ -1,24 +0,0 @@
-# zap
-
-## zap Stanza Purpose
-
-The `zap` stanza describes a more complete uninstallation of files associated with a Cask. The `zap` procedures will never be performed by default, but only if the user invokes the `zap` verb:
-
-```bash
-$ brew cask zap td-toolbelt # also removes org.ruby... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/cask_language_reference/token_reference.md | @@ -1,127 +0,0 @@
-# Cask Token Reference
-
-This document describes the algorithm implemented in the `generate_cask_token` script, and covers detailed rules and exceptions which are not needed in most cases.
-
-* [Purpose](#purpose)
-* [Finding the Simplified Name of the Vendor’s Distribution](#finding-the-simplified-... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/development/adding_a_cask.md | @@ -1,309 +0,0 @@
-## Adding a Cask
-
-Making a new Cask is easy. Follow the directions in [Getting Set Up To Contribute](../../CONTRIBUTING.md#getting-set-up-to-contribute) to begin.
-
-### Examples
-
-Here’s a Cask for `shuttle` as an example. Note the comment above `url`, which is needed when [the url and homepage h... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/development/hacking.md | @@ -1,160 +0,0 @@
-# Hacking on Homebrew-Cask
-
-If you’d like to hack on the Ruby code that drives this project, please join us, we’d love to have you!
-
-## Goals, Design, and Philosophy
-
-Homebrew-Cask is an attempt to make a Linux-style package manager for precompiled macOS software. Homebrew-Cask is not yet as fe... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/development/maintaining.md | @@ -1,79 +0,0 @@
-# Maintaining Homebrew-Cask
-
-__vv NOTE - DRAFT DOC! vv__
-
-This doc is just at a starting point. The maintainers team will be collaborating on it and we’ll remove this header when we feel like it’s stable.
-
-__^^ NOTE - DRAFT DOC! ^^__
-
-As a relatively large open source project with plenty of da... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/faq/apps_with_malware.md | @@ -1,13 +0,0 @@
-# Apps that bundle malware
-
-Unfortunately, in the world of software there are bad actors that bundle malware with their apps. Even so, Homebrew-Cask has long decided it is not a gatekeeper ([macOS already has one](https://support.apple.com/en-us/HT202491)) and [users are expected to know about the s... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/faq/not_a_discoverability_service.md | @@ -1,15 +0,0 @@
-# Homebrew-Cask is not a discoverability service
-
-Ever since the inception of Homebrew-Cask, various requests fell under the umbrella of this reply. Though a somewhat popular request, after careful consideration on multiple occasions we’ve always come back to the same conclusion: we’re not a discove... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/faq/rejected_casks.md | @@ -1,19 +0,0 @@
-# Rejected Casks
-
-Before submitting a Cask to any of our repos, you must read [our documentation on acceptable Casks](../development/adding_a_cask.md#finding-a-home-for-your-cask) and perform a (at least quick) search to see if there were any previous attempts to introduce it.
-
-Common reasons to r... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/bug_report.md | @@ -1,27 +0,0 @@
-Bug report:
-Remember to follow the [pre bug report](https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md) guide beforehand. Failure to do so might get your issue closed.
-
-#### Description of issue
-
-[insert a detailed description of your issue here]
-
-<detail... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/cask_request.md | @@ -1,14 +0,0 @@
-Cask request:
-### Cask details
-
-(Please fill out as much as possible)
-
-**Name** -
-
-**Homepage** -
-
-**License** -
-
-**Download URL** -
-
-**Description** - | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/feature_request.md | @@ -1,13 +0,0 @@
-Feature request:
-### Description of feature/enhancement
-
-
-
-### Justification
-
-
-
-### Example use case
-
-
- | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/issue_dead_app.md | @@ -1,8 +0,0 @@
-Dead app:
-
-* Insert the name of the cask in the title, after the `:`.
-* Insert the name of the cask and a link to it in the body of this issue (example: [`alfred`](https://github.com/caskroom/homebrew-cask/blob/master/Casks/alfred.rb)).
-* Insert a link to the page that informs about the app being ... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/issue_outdated_cask.md | @@ -1,8 +0,0 @@
-Outdated cask:
-
-* Insert the name of the cask in the title, after the `:`.
-* Insert the name of the cask and a link to it in the body of this issue (example: [`alfred`](https://github.com/caskroom/homebrew-cask/blob/master/Casks/alfred.rb)).
-* Insert the new version of the app.
-* After all that *... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/issue_outdated_cask_but_cannot_find_link.md | @@ -1,8 +0,0 @@
-Outdated cask but cannot find link:
-
-* Insert the name of the cask in the title, after the `:`.
-* Insert the name of the cask and a link to it in the body of this issue (example: [`alfred`](https://github.com/caskroom/homebrew-cask/blob/master/Casks/alfred.rb)).
-* Insert a detailed explanation of ... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/issue_templates/issue_source_not_there_and_cannot_find_it.md | @@ -1,8 +0,0 @@
-Source not there and cannot find it:
-
-* Insert the name of the cask in the title, after the `:`.
-* Insert the name of the cask and a link to it in the body of this issue (example: [`alfred`](https://github.com/caskroom/homebrew-cask/blob/master/Casks/alfred.rb)).
-* Insert a detailed explanation of... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/readme.md | @@ -1,12 +0,0 @@
-# Cask Language Reference
-
-+ [Synopsis](cask_language_reference/readme.md)
-+ [Token reference](cask_language_reference/token_reference.md)
-+ [Stanza list](cask_language_reference/all_stanzas.md)
-+ [Stanza documentation](cask_language_reference/stanzas/)
-
-# Contributing
-
-+ [Contributing to the... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/a_cask_fails_to_install.md | @@ -1,79 +0,0 @@
-<sup><sub>[Go back](../../README.md#reporting-bugs)</sup></sub>
-
-# A cask fails to install
-
-Possible reasons:
-
-* [`curl` error](#curl-error)
-* [`Permission denied` error](#permission-denied-error)
-* [`sha256 mismatch` error](#sha256-mismatch-error)
-* [`source is not there` error](#source-is-n... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/brew_cask_list_shows_wrong_information.md | @@ -1,7 +0,0 @@
-<sup><sub>[Go back](../../README.md#reporting-bugs)</sup></sub>
-
-# `brew cask list` shows wrong information
-
-We know. [`brew cask list` is broken](https://github.com/caskroom/homebrew-cask/issues/14058) and has been for quite a while. Pull requests to fix the outstanding problems are welcome.
-
-**... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/curl_error_fix_curlrc.md | @@ -1,5 +0,0 @@
-<sup><sub>[Go back](a_cask_fails_to_install.md#curl-error)</sup></sub>
-
-First, lets tackle a common problem: do you have a `.curlrc` file? Those are a frequent cause of issues of this nature. Before anything else, remove that file and try again. If it now works, do not open an issue. Incompatible `.c... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/curl_error_fix_no_download.md | @@ -1,10 +0,0 @@
-<sup><sub>[Go back](curl_error_fix_vendor.md)</sup></sub>
-
-There are a few reasons why you might not be finding a download:
-
-* You can’t access the vendor’s website at all. [Continue here](curl_error_fix_wont_fix.md).
-* You can access the vendor’s site but they’re informing you the app is now dis... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/curl_error_fix_outdated.md | @@ -1,11 +0,0 @@
-<sup><sub>[Go back](curl_error_fix_vendor.md)</sup></sub>
-
-Since the download started, it likely means the cask is outdated. Lets fix it:
-
-1. Look around the app’s website and find out what the latest version is. It will likely be expressed in the URL used to download it.
-2. Take a look at the ca... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/curl_error_fix_vendor.md | @@ -1,8 +0,0 @@
-<sup><sub>[Go back](curl_error_fix_curlrc)</sup></sub>
-
-Lets now see if the issue is upstream:
-
-1. Got to the vendor’s website (`brew cask home {{cask_name}}`).
-2. Find the download link for the app and click on it.
-
-Does it download? [Yes](curl_error_fix_outdated.md) | [No](curl_error_fix_wont_... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/curl_error_fix_wont_fix.md | @@ -1,9 +0,0 @@
-<sup><sub>[Go back](curl_error_fix_vendor.md)</sup></sub>
-
-This means the issue isn’t in any way related to Homebrew-Cask, but with the vendor or your connection.
-
-Start by diagnosing your connection (try to download other casks, go around the web). If the problem is with your connection, try a web... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/permission_denied_error_fix_appdir.md | @@ -1,7 +0,0 @@
-<sup><sub>[Go back](a_cask_fails_to_install.md#permission-denied-error)</sup></sub>
-
-In this case, it’s likely you’re a standard user and don’t have permissions to write to `/Applications` (which is now our default). If you never changed your default installation directory for apps and were using Hom... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/permission_denied_error_fix_bundle.md | @@ -1,5 +0,0 @@
-<sup><sub>[Go back](permission_denied_error_fix_appdir.md)</sup></sub>
-
-Some app bundles don’t have certain permissions that might be necessary for us to move them to the appropriate location. You may check such permissions with `ls -ls {{path_to_app_bundle}}`. If you see something like `dr-xr-xr-x` ... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/pre_bug_report.md | @@ -1,15 +0,0 @@
-Before reporting a bug, lets make sure everything is right with your setup.
-
-When reporting bugs, remember that Homebrew-Cask is an independent project from Homebrew. Do your best to direct bug reports to the appropriate project. If your command started with `brew cask`, bring the bug to us first.
-... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/sha256_mismatch_error_fix_icomplete.md | @@ -1,5 +0,0 @@
-<sup><sub>[Go back](a_cask_fails_to_install.md#sha256-mismatch-error)</sup></sub>
-
-First, lets see if the problem was with your download. Delete the downloaded file (its location will be pointed out right under the `Actual` shasum line) and try again.
-
-If the problem persists, [the cask must be out... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/sha256_mismatch_error_fix_outdated.md | @@ -1,13 +0,0 @@
-<sup><sub>[Go back](sha256_mismatch_error_fix_icomplete.md)</sup></sub>
-
-Lets bring the cask up to date. It’ll likely need a new version, but it’s possible the version has remained the same (happens occasionally when the vendor updates the app in place).
-
-1. Got to the vendor’s website (`brew cask... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/source_is_not_there_fix.md | @@ -1,28 +0,0 @@
-<sup><sub>[Go back](a_cask_fails_to_install.md#source-is-not-there-error)</sup></sub>
-
-First, you need to identify which artifact is not being handled correctly anymore. It’s explicit in the error message: if it says `Error: It seems the App source…'` the problem is [`app`](https://github.com/caskro... | true |
Other | Homebrew | brew | 5cae4532bfade512c156f8d4c6b84f9714e4fef3.json | Remove Homebrew Cask documentation. | Library/Homebrew/cask/doc/reporting_bugs/uninstall_wrongly_reports_cask_as_not_installed.md | @@ -1,11 +0,0 @@
-<sup><sub>[Go back](../../README.md#reporting-bugs)</sup></sub>
-
-# `uninstall` wrongly reports cask as not installed
-
-Reports of this bug are usually accompanied with the output of `brew cask list` showing the cask is indeed installed. [You should not rely on `brew cask list`](https://github.com/c... | true |
Other | Homebrew | brew | 8e231d8ef509e4e1c4c9d034354db4187ad05939.json | brew.sh: improve user agent with no git repo.
`Homebrew/>1.0.0 (no git repository) (Macintosh; Intel macOS 10.7.5)...)
reads pretty weirdly in a user agent and I've had complaints that `>`
may be an invalid character in some cases. | Library/Homebrew/brew.sh | @@ -1,7 +1,9 @@
HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty 2>/dev/null)"
+HOMEBREW_USER_AGENT_VERSION="$HOMEBREW_VERSION"
if [[ -z "$HOMEBREW_VERSION" ]]
then
HOMEBREW_VERSION=">1.0.0 (no git repository)"
+ HOMEBREW_USER_AGENT_VERSION="1.X.Y"
fi
# A depth of 1 means this comman... | false |
Other | Homebrew | brew | ca68085e5977ecd36f566325764b4f86e75447f4.json | Fix unused argument | Library/Homebrew/cask/lib/hbc/dsl.rb | @@ -204,7 +204,7 @@ def sha256(arg = nil)
@sha256 ||= arg
end
- def license(arg = nil)
+ def license(*)
odeprecated "Hbc::DSL#license"
end
| false |
Other | Homebrew | brew | d4927815a510a867bb5d674fc0e38bf1b3ac1e88.json | Remove license from all documentation | Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md | @@ -11,7 +11,6 @@ Each of the following stanzas is required for every Cask.
| `url` | no | URL to the `.dmg`/`.zip`/`.tgz`/`.tbz2` file that contains the application.<br />A [comment](stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment) should be added if the hos... | true |
Other | Homebrew | brew | d4927815a510a867bb5d674fc0e38bf1b3ac1e88.json | Remove license from all documentation | Library/Homebrew/cask/doc/cask_language_reference/readme.md | @@ -12,7 +12,6 @@ cask 'alfred' do
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
name 'Alfred'
homepage 'https://www.alfredapp.com/'
- license :freemium
app 'Alfred 2.app'
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
@@ -88,7 +87,6 @@ cask 'myapp' do
name 'MyApp'
v... | true |
Other | Homebrew | brew | d4927815a510a867bb5d674fc0e38bf1b3ac1e88.json | Remove license from all documentation | Library/Homebrew/cask/doc/cask_language_reference/stanzas/license.md | @@ -1,47 +0,0 @@
-# license
-
-The `license` stanza is not free-form. A single value must be chosen from a list of valid symbols.
-
-The values for `license` are categories, rather than fully-specified licenses. For example, `:gpl` is a category; we do not distinguish between versions of the GPL. Similarly, `:cc` and `... | true |
Other | Homebrew | brew | d4927815a510a867bb5d674fc0e38bf1b3ac1e88.json | Remove license from all documentation | Library/Homebrew/cask/doc/development/adding_a_cask.md | @@ -17,7 +17,6 @@ cask 'shuttle' do
checkpoint: 'c3dea2ed479b3ebba7c56ace6040901795f6dc6be92f9ffc30cc808d31723f17'
name 'Shuttle'
homepage 'https://fitztrev.github.io/shuttle/'
- license :mit
app 'Shuttle.app'
@@ -36,7 +35,6 @@ cask 'airstream' do
url 'https://s3-us-west-2.amazonaws.com/airs... | true |
Other | Homebrew | brew | d4927815a510a867bb5d674fc0e38bf1b3ac1e88.json | Remove license from all documentation | Library/Homebrew/cask/lib/hbc/cli/create.rb | @@ -26,7 +26,6 @@ def self.template(cask_token)
url 'https://'
name ''
homepage ''
- license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
app ''
end | true |
Other | Homebrew | brew | 47d57ca99526d47897a0bbe98a1f6a5ba466167f.json | Immortalize virtualenvs better
virtualenvs remember the prefix of the python that created them and do
magic to load packages from them; help them remember a more durable
path. | Library/Homebrew/language/python.rb | @@ -215,6 +215,13 @@ def create
f.unlink
f.make_symlink new_target
end
+
+ Pathname.glob(@venv_root/"lib/python*/orig-prefix.txt").each do |prefix_file|
+ prefix_path = prefix_file.read
+ python = prefix_path.include?("python3") ? "python3" : "python"
... | false |
Other | Homebrew | brew | bbea4ac87123c8565d350d11bfae79de105c493c.json | fix bad method name in test | Library/Homebrew/test/test_build_options.rb | @@ -42,8 +42,8 @@ def test_invalid_options
refute_includes @bad_build.invalid_options, "--with-baz"
end
- def test_invalid_opt_names
- assert_empty @build.invalid_opt_names
- assert_equal @bad_build.invalid_opt_names, %w[--without-abc --without-bas]
+ def test_invalid_option_names
+ assert_empty @b... | false |
Other | Homebrew | brew | 108d0761eed42c0e7800b0d59a9948b45eb57def.json | Fix exit code for multilingual cask audit. | Library/Homebrew/cask/lib/hbc/auditor.rb | @@ -1,20 +1,22 @@
module Hbc
class Auditor
def self.audit(cask, audit_download: false, check_token_conflicts: false)
- saved_languages = MacOS.instance_variable_get(:@languages)
-
if languages_blocks = cask.instance_variable_get(:@dsl).instance_variable_get(:@language_blocks)
- languages_blo... | false |
Other | Homebrew | brew | 23a38e0ff6beb26f86eca0c56b25d6100375b60d.json | virtualenv_install_with_resources: select correct python
`virtualenv_install_with_resources` will now attempt to guess the
desired Python based on the active build options and based on the
dependencies and requirements. When the situation is ambiguous (e.g.,
`depends_on :python3` and `build.with? "python"` is true) ra... | Library/Homebrew/exceptions.rb | @@ -294,6 +294,17 @@ def message
end
end
+class FormulaAmbiguousPythonError < RuntimeError
+ def initialize(formula)
+ super <<-EOS.undent
+ The version of python to use with the virtualenv in the `#{formula.full_name}` formula
+ cannot be guessed automatically. If the simultaneous use of python and... | true |
Other | Homebrew | brew | 23a38e0ff6beb26f86eca0c56b25d6100375b60d.json | virtualenv_install_with_resources: select correct python
`virtualenv_install_with_resources` will now attempt to guess the
desired Python based on the active build options and based on the
dependencies and requirements. When the situation is ambiguous (e.g.,
`depends_on :python3` and `build.with? "python"` is true) ra... | Library/Homebrew/language/python.rb | @@ -139,11 +139,33 @@ def virtualenv_create(venv_root, python = "python", formula = self)
venv
end
+ # Returns true if a formula option for the specified python is currently
+ # active or if the specified python is required by the formula. Valid
+ # inputs are "python", "python3", :pyth... | true |
Other | Homebrew | brew | 87299af22547093a4efb9c4a5e06b55bb51f9ff7.json | Add test for `language` stanza. | Library/Homebrew/cask/test/cask/dsl_test.rb | @@ -122,6 +122,39 @@
end
end
+ describe "language stanza" do
+ after(:each) do
+ ENV["HOMEBREW_LANGUAGES"] = nil
+ end
+
+ it "allows multilingual casks" do
+ cask = lambda {
+ Hbc::Cask.new("cask-with-apps") do
+ language "FIRST_LANGUAGE" do
+ :first
+ ... | true |
Other | Homebrew | brew | 87299af22547093a4efb9c4a5e06b55bb51f9ff7.json | Add test for `language` stanza. | Library/Homebrew/os/mac.rb | @@ -42,7 +42,11 @@ def cat
end
def languages
- @languages ||= Utils.popen_read("defaults", "read", ".GlobalPreferences", "AppleLanguages").scan(/[^ \n"(),]+/)
+ if ENV["HOMEBREW_LANGUAGES"]
+ ENV["HOMEBREW_LANGUAGES"].split(",")
+ else
+ @languages ||= Utils.popen_read("defaults... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.