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 | 63eb5214e43e5c411f13bd8996dc74b55afbb3db.json | remove unnecessary method argument | Library/Homebrew/utils/repology.rb | @@ -20,7 +20,7 @@ def parse_repology_api
page_no = 1
ohai "\n- Paginating repology api page: #{page_no}"
- outdated_packages = query_repology_api("")
+ outdated_packages = query_repology_api
last_package_index = outdated_packages.size - 1
response_size = outdated_packages.size
| false |
Other | Homebrew | brew | 64ebecf0c1e07f9d5354e3d7fefb4241369e74b3.json | replace HTTP with curl | Library/Homebrew/utils/repology.rb | @@ -1,16 +1,12 @@
# frozen_string_literal: true
-require "net/http"
-require "json"
+require "utils/curl"
module RepologyParser
def call_api(url)
ohai "- Calling API #{url}" if Homebrew.args.verbose?
uri = URI(url)
- response = Net::HTTP.get(uri)
-
- ohai "Parsing response" if Homebrew.args.ver... | false |
Other | Homebrew | brew | 198b7ade596813ff2b01cc885ad3aab58c1550d1.json | remove redundant files | scripts/README.md | @@ -1,47 +0,0 @@
-# 0.0.1-API-Parser
-
-Parser for fixing this: https://github.com/Homebrew/brew/issues/5725
-
-## Overview
-
-Homebrew is used to install software (packages). Homebrew uses 'formulae' to determine how a package is installed.
-This project will automatically check which packages have had newer versions ... | true |
Other | Homebrew | brew | 198b7ade596813ff2b01cc885ad3aab58c1550d1.json | remove redundant files | scripts/helpers/api_parser.rb | @@ -1,133 +0,0 @@
-require 'net/http'
-require 'json'
-
-require_relative 'brew_commands'
-require_relative 'homebrew_formula'
-
-class ApiParser
- def call_api(url)
- puts "- Calling API #{url}"
- uri = URI(url)
- response = Net::HTTP.get(uri)
-
- puts "- Parsing response"
- JSON.parse(response)
- end... | true |
Other | Homebrew | brew | 198b7ade596813ff2b01cc885ad3aab58c1550d1.json | remove redundant files | scripts/helpers/parsed_file.rb | @@ -1,23 +0,0 @@
-require 'fileutils'
-
-class ParsedFile
-
- def get_latest_file(directory)
- puts "- retrieving latest file in directory: #{directory}"
- Dir.glob("#{directory}/*").max_by(1) {|f| File.mtime(f)}[0]
- end
-
- def save_to(directory, data)
- # Create directory if does not exist
- FileU... | true |
Other | Homebrew | brew | c3c70f137bfaa651b9745529cffaac3f4b622840.json | remove extraneous file | scripts/helpers/parsed_file.rb | @@ -1,23 +0,0 @@
-require 'fileutils'
-
-class ParsedFile
-
- def get_latest_file(directory)
- puts "- retrieving latest file in directory: #{directory}"
- Dir.glob("#{directory}/*").max_by(1) {|f| File.mtime(f)}[0]
- end
-
- def save_to(directory, data)
- # Create directory if does not exist
- FileU... | false |
Other | Homebrew | brew | f82da9009fe0f862df5ed534d3914a51bf4718f2.json | remove unnecessary explicit return val | Library/Homebrew/utils/update.rb | @@ -120,8 +120,7 @@ def display_version_data(outdated_packages)
puts "==============Formatted outdated packages============\n"
outdated_packages.each do |package_name, package_details|
- puts ""
- puts "Formula: #{package_name}"
+ puts "\nFormula: #{package_name}"
puts "Current formula... | true |
Other | Homebrew | brew | f82da9009fe0f862df5ed534d3914a51bf4718f2.json | remove unnecessary explicit return val | scripts/helpers/brew_commands.rb | @@ -1,7 +1,7 @@
require "open3"
class BrewCommands
-
+
def livecheck_check_formula(formula_name)
puts "- livecheck formula : #{formula_name}"
command_args = [
@@ -20,7 +20,7 @@ def parse_livecheck_response(livecheck_output)
# eg: ["burp", "2.2.18", "2.2.18"]
package_name, brew_version, lat... | true |
Other | Homebrew | brew | 05d7c40ea5fb14243bdba939ab9ef86196269468.json | place api_parser code into util module | Library/Homebrew/utils/update.rb | @@ -2,5 +2,130 @@
require 'json'
module Utils
-
+ class ApiParser
+ def call_api(url)
+ puts "- Calling API #{url}"
+ uri = URI(url)
+ response = Net::HTTP.get(uri)
+
+ puts "- Parsing response"
+ JSON.parse(response)
+ end
+
+ def query_repology_api(last_package_in_response = '... | false |
Other | Homebrew | brew | 5b3530b23de9beff1eb8bf68ab77832b9a219aaa.json | Apply suggestions from code review
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/test/dev-cmd/audit_spec.rb | @@ -111,7 +111,6 @@ class Foo < Formula
RUBY
fa.audit_license
- p fa.problems
expect(fa.problems.first).to match "No license specified for package."
end
| true |
Other | Homebrew | brew | 5b3530b23de9beff1eb8bf68ab77832b9a219aaa.json | Apply suggestions from code review
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/utils/github.rb | @@ -477,8 +477,8 @@ def sponsors_by_tier(user)
end
def get_repo_license(user, repo)
- res = GitHub.open_api("#{GitHub::API_URL}/repos/#{user}/#{repo}/license")
- return unless res.key?("license")
+ response = GitHub.open_api("#{GitHub::API_URL}/repos/#{user}/#{repo}/license")
+ return unless respons... | true |
Other | Homebrew | brew | 087ee9ab6cab8d76cae9ccba519704b71eedf7af.json | sorbet: update hidden definitions | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -19429,10 +19429,6 @@ class RuboCop::AST::Node
def cask_block?(node=T.unsafe(nil)); end
- def find_pattern_type?(); end
-
- def forward_arg_type?(); end
-
def key_node(node=T.unsafe(nil)); end
def method_node(node=T.unsafe(nil)); end
@@ -19604,6 +19600,10 @@ class RuboCop::Cop::FormulaAudit::Miscell... | false |
Other | Homebrew | brew | 8d55c87adbe9b080310b02c52ab226c4641dfd9a.json | components order: fix audit and add test | Library/Homebrew/rubocops/components_order.rb | @@ -226,11 +226,10 @@ def check_order(component_precedence_list, body_node)
next if succeeding_component.empty?
offensive_nodes = check_precedence(preceding_component, succeeding_component)
- break if offensive_nodes
+ return [present_components, offensive_nodes... | true |
Other | Homebrew | brew | 8d55c87adbe9b080310b02c52ab226c4641dfd9a.json | components order: fix audit and add test | Library/Homebrew/test/rubocops/components_order_spec.rb | @@ -77,6 +77,37 @@ def plist
RUBY
end
+ it "When `install` precedes `depends_on`" do
+ expect_offense(<<~RUBY)
+ class Foo < Formula
+ url "https://brew.sh/foo-1.0.tgz"
+
+ def install
+ end
+
+ depends_on "openssl"
+ ^^^^^^^^^^^^^^^^^^^^ `depend... | true |
Other | Homebrew | brew | da2a426ec83bbe637040b9981bff68852ece8dc0.json | update-license-data: use curl_download instead of curl | Library/Homebrew/dev-cmd/update-license-data.rb | @@ -30,9 +30,8 @@ def update_license_data_args
def update_license_data
update_license_data_args.parse
ohai "Updating SPDX license data..."
- spdx_download_result = curl(SPDX_DATA_URL, print_stdout: false)
- SPDX_PATH.unlink if SPDX_PATH.exist?
- SPDX_PATH.write(spdx_download_result.stdout)
+ cu... | false |
Other | Homebrew | brew | 0ee9cc0b084a900b887efe08ba9a064e0a4adce9.json | sorbet/files.yaml: add new files | Library/Homebrew/sorbet/files.yaml | @@ -652,6 +652,7 @@ false:
- ./test/rubocops/components_redundancy_spec.rb
- ./test/rubocops/conflicts_spec.rb
- ./test/rubocops/dependency_order_spec.rb
+ - ./test/rubocops/deprecate_spec.rb
- ./test/rubocops/formula_desc_spec.rb
- ./test/rubocops/homepage_spec.rb
- ./test/rubocops/lines_spec.rb
@@ ... | false |
Other | Homebrew | brew | 0ea6245094673beb6022c3f1482a461a3b59bb30.json | Revert "Pathname::write: allow optional override"
This reverts commit 93d46c6d6c69d5279404bce211cb2f48120076f9. | Library/Homebrew/extend/pathname.rb | @@ -150,8 +150,8 @@ def install_symlink_p(src, new_basename)
alias old_write write
# We assume this pathname object is a file, obviously
- def write(content, overwrite = false, *open_args)
- raise "Will not overwrite #{self}" if exist? && !overwrite
+ def write(content, *open_args)
+ raise "Will not ove... | false |
Other | Homebrew | brew | 5b3ac1fcb2d4fdfecaa37184fb1c76f10b2eabe5.json | update-license-data: modify arguments when calling methods | Library/Homebrew/dev-cmd/update-license-data.rb | @@ -30,8 +30,8 @@ def update_license_data_args
def update_license_data
update_license_data_args.parse
ohai "Updating SPDX license data..."
- spdx_download_result = curl(SPDX_DATA_URL)
- SPDX_PATH.write(spdx_download_result.stdout, true)
+ spdx_download_result = curl(SPDX_DATA_URL, print_stdout: fa... | false |
Other | Homebrew | brew | 93d46c6d6c69d5279404bce211cb2f48120076f9.json | Pathname::write: allow optional override | Library/Homebrew/extend/pathname.rb | @@ -150,8 +150,8 @@ def install_symlink_p(src, new_basename)
alias old_write write
# We assume this pathname object is a file, obviously
- def write(content, *open_args)
- raise "Will not overwrite #{self}" if exist?
+ def write(content, overwrite = false, *open_args)
+ raise "Will not overwrite #{self}... | false |
Other | Homebrew | brew | 7d4fadc2bbd50f7ea5e2eeef8f846b6f32fc6cf1.json | Update man pages | docs/Manpage.md | @@ -1030,10 +1030,10 @@ directory.
### `update_license_data` *`cmd`*
- Update SPDX license data in the Homebrew repository.
+ Update SPDX license data in the Homebrew repository.
* `--fail-if-changed`:
- Return a failing status code if current license data's version is different fromthe upstream. This can be ... | true |
Other | Homebrew | brew | 7d4fadc2bbd50f7ea5e2eeef8f846b6f32fc6cf1.json | Update man pages | manpages/brew.1 | @@ -1336,7 +1336,7 @@ Update SPDX license data in the Homebrew repository\.
.
.TP
\fB\-\-fail\-if\-changed\fR
-Return a failing status code if current license data\'s version is different fromthe upstream\. This can be used to notify CI when the SPDX license data is out of date\.
+Return a failing status code if cur... | true |
Other | Homebrew | brew | 29a9225b3fdda1c276b5930fa1402f3811ad7d50.json | remove extraneous file | scripts/helpers/parsed_file.rb | @@ -0,0 +1,23 @@
+require 'fileutils'
+
+class ParsedFile
+
+ def get_latest_file(directory)
+ puts "- retrieving latest file in directory: #{directory}"
+ Dir.glob("#{directory}/*").max_by(1) {|f| File.mtime(f)}[0]
+ end
+
+ def save_to(directory, data)
+ # Create directory if does not exist
+ FileU... | false |
Other | Homebrew | brew | fa2199f5a89bbc5c59bc41caa9915562b765c280.json | remove extraneous file | scripts/helpers/parsed_file.rb | @@ -1,23 +0,0 @@
-require 'fileutils'
-
-class ParsedFile
-
- def get_latest_file(directory)
- puts "- retrieving latest file in directory: #{directory}"
- Dir.glob("#{directory}/*").max_by(1) {|f| File.mtime(f)}[0]
- end
-
- def save_to(directory, data)
- # Create directory if does not exist
- FileU... | false |
Other | Homebrew | brew | 2f419f5c55114122f290a692490cebd74d877026.json | remove unnecessary explicit return val | Library/Homebrew/utils/update.rb | @@ -120,8 +120,7 @@ def display_version_data(outdated_packages)
puts "==============Formatted outdated packages============\n"
outdated_packages.each do |package_name, package_details|
- puts ""
- puts "Formula: #{package_name}"
+ puts "\nFormula: #{package_name}"
puts "Current formula... | true |
Other | Homebrew | brew | 2f419f5c55114122f290a692490cebd74d877026.json | remove unnecessary explicit return val | scripts/helpers/brew_commands.rb | @@ -1,7 +1,7 @@
require "open3"
class BrewCommands
-
+
def livecheck_check_formula(formula_name)
puts "- livecheck formula : #{formula_name}"
command_args = [
@@ -20,7 +20,7 @@ def parse_livecheck_response(livecheck_output)
# eg: ["burp", "2.2.18", "2.2.18"]
package_name, brew_version, lat... | true |
Other | Homebrew | brew | d4bbffdce85bbe164f540897fd2cb3561966351d.json | place api_parser code into util module | Library/Homebrew/utils/update.rb | @@ -2,5 +2,130 @@
require 'json'
module Utils
-
+ class ApiParser
+ def call_api(url)
+ puts "- Calling API #{url}"
+ uri = URI(url)
+ response = Net::HTTP.get(uri)
+
+ puts "- Parsing response"
+ JSON.parse(response)
+ end
+
+ def query_repology_api(last_package_in_response = '... | false |
Other | Homebrew | brew | 9cab9b7f39cb2c9d306c0dfcf33d7e1aa50c2ce3.json | pr-pull: handle empty string cases
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/utils/github.rb | @@ -424,13 +424,13 @@ def approved_reviews(user, repo, pr, commit: nil)
next if commit.present? && commit != r["commit"]["oid"]
next unless %w[MEMBER OWNER].include? r["authorAssociation"]
- email = if r["author"]["email"].empty?
+ email = if r["author"]["email"].blank?
"#{r["author"]... | false |
Other | Homebrew | brew | 4398e7bf79fd9816a0d005c895caa55cd6c5a707.json | Revert "cask/pkg_spec: remove flaky test."
This reverts commit 924af100b73d24dffb2199fa46ae118e8b3bbb29. | Library/Homebrew/test/cask/pkg_spec.rb | @@ -6,6 +6,34 @@
let(:empty_response) { double(stdout: "", plist: { "volume" => "/", "install-location" => "", "paths" => {} }) }
let(:pkg) { described_class.new("my.fake.pkg", fake_system_command) }
+ it "removes files and dirs referenced by the pkg" do
+ some_files = Array.new(3) { Pathname.new(Te... | false |
Other | Homebrew | brew | a9877088ea4712caec35a03b7da704c9f702c726.json | Revert "test/cask/cmd/upgrade_spec: remove flaky test."
This reverts commit 8a0e6a1603ce823eb66cc183a692f722668d9c67. | Library/Homebrew/test/cask/cmd/upgrade_spec.rb | @@ -74,6 +74,54 @@
end
describe "with --greedy it checks additional Casks" do
+ it 'includes the Casks with "auto_updates true" or "version latest"' do
+ local_caffeine = Cask::CaskLoader.load("local-caffeine")
+ local_caffeine_path = Cask::Config.global.appdir.join("Caffeine.app")
+ ... | false |
Other | Homebrew | brew | cc0ea9aec3b5d556082ca1e24910fe11cc2ef338.json | Revert "cask/cmd/upgrade_spec: remove flaky test."
This reverts commit 75c74e4674d3f6a85c4afce79a6096bcc5cca9fc. | Library/Homebrew/test/cask/cmd/upgrade_spec.rb | @@ -167,6 +167,33 @@
expect(local_transmission.versions).to include("2.60")
expect(local_transmission.versions).not_to include("2.61")
end
+
+ it 'would update "auto_updates" and "latest" Casks when their tokens are provided in the command line' do
+ local_caffeine = Cask::CaskLoade... | false |
Other | Homebrew | brew | af2c57dbeb9143262c7a95618793e15b91ff60c1.json | Revert "cask/cmd/upgrade_spec: remove more flaky tests."
This reverts commit fb0fa419abc750bf33695a396244b9cffbea1554. | Library/Homebrew/test/cask/cmd/upgrade_spec.rb | @@ -97,6 +97,152 @@
end
end
+ context "dry run upgrade" do
+ let(:installed) {
+ [
+ "outdated/local-caffeine",
+ "outdated/local-transmission",
+ "outdated/auto-updates",
+ "outdated/version-latest",
+ ]
+ }
+
+ before do
+ installed.each { |cask| Cask::Cm... | false |
Other | Homebrew | brew | da007134c4f6ee37643752c662165d8da475c067.json | Apply suggestions from code review
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/update-license-data.rb | @@ -18,27 +18,24 @@ def update_license_data_args
usage_banner <<~EOS
`update_license_data` <cmd>
- Update SPDX license data in the Homebrew repository.
+ Update SPDX license data in the Homebrew repository.
EOS
switch "--fail-if-changed",
- description: "Retu... | false |
Other | Homebrew | brew | 90309e5f42a9c60c6040d9d4ee0401fa413d1c7e.json | github: fetch approved reviews for a pull request | Library/Homebrew/test/utils/github_spec.rb | @@ -42,6 +42,13 @@
end
end
+ describe "::approved_reviews", :needs_network do
+ it "can get reviews for a pull request" do
+ reviews = subject.approved_reviews("Homebrew", "homebrew-core", 1, commit: "deadbeef")
+ expect(reviews).to eq([])
+ end
+ end
+
describe "::get_artifact_url", :nee... | true |
Other | Homebrew | brew | 90309e5f42a9c60c6040d9d4ee0401fa413d1c7e.json | github: fetch approved reviews for a pull request | Library/Homebrew/utils/github.rb | @@ -394,6 +394,52 @@ def search(entity, *queries, **qualifiers)
open_api(uri) { |json| json.fetch("items", []) }
end
+ def approved_reviews(user, repo, pr, commit: nil)
+ url = "https://api.github.com/graphql"
+ data = {
+ query: <<~EOS,
+ { repository(name: "#{repo}", owner: "#{user}") {
+... | true |
Other | Homebrew | brew | 68947f2af9ed83aa1d6ac5e54d87f3935dfd498c.json | cmd/options: add flag to list a command's options | Library/Homebrew/cmd/options.rb | @@ -3,6 +3,7 @@
require "formula"
require "options"
require "cli/parser"
+require "commands"
module Homebrew
module_function
@@ -20,8 +21,10 @@ def options_args
description: "Show options for formulae that are currently installed."
switch "--all",
description: "Show options f... | true |
Other | Homebrew | brew | 68947f2af9ed83aa1d6ac5e54d87f3935dfd498c.json | cmd/options: add flag to list a command's options | docs/Manpage.md | @@ -340,6 +340,8 @@ Show install options specific to *`formula`*.
Show options for formulae that are currently installed.
* `--all`:
Show options for all available formulae.
+* `--command`:
+ Show options for the specified *`command`*.
### `outdated` [*`options`*] [*`formula`*]
| true |
Other | Homebrew | brew | 68947f2af9ed83aa1d6ac5e54d87f3935dfd498c.json | cmd/options: add flag to list a command's options | manpages/brew.1 | @@ -456,6 +456,10 @@ Show options for formulae that are currently installed\.
\fB\-\-all\fR
Show options for all available formulae\.
.
+.TP
+\fB\-\-command\fR
+Show options for the specified \fIcommand\fR\.
+.
.SS "\fBoutdated\fR [\fIoptions\fR] [\fIformula\fR]"
List installed formulae that have an updated versio... | true |
Other | Homebrew | brew | 4d4f6a8facd5eaf8668d74ddb7a575b0a792a498.json | audit: remove unnecessary nil assignment | Library/Homebrew/dev-cmd/audit.rb | @@ -352,8 +352,6 @@ def audit_license
return unless @online
user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*}) if @new_formula
- user ||= nil
- repo ||= nil
return if user.blank?
github_license = GitHub.get_repo_license(user, repo)
... | false |
Other | Homebrew | brew | 759708fae7dd3c9e5867ae42be34631dfe535964.json | Apply suggestions from code review
Code Review Changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/audit.rb | @@ -112,9 +112,7 @@ def audit
style_results = Style.check_style_json(style_files, options) if style_files
# load licenses
spdx = HOMEBREW_LIBRARY_PATH/"data/spdx.json"
- spdx_data = File.open(spdx, "r") do |file|
- JSON.parse(file.read)
- end
+ spdx_data = JSON.parse(spdx.read)
new_for... | true |
Other | Homebrew | brew | 759708fae7dd3c9e5867ae42be34631dfe535964.json | Apply suggestions from code review
Code Review Changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/update-license-data.rb | @@ -11,7 +11,7 @@ module Homebrew
SPDX_FOLDER_PATH = (HOMEBREW_LIBRARY_PATH/"data").freeze
FILE_NAME = "spdx.json"
- SPDX_DATA_URL = "https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json"
+ SPDX_DATA_URL = "https://raw.githubusercontent.com/spdx/license-list-data/HEAD/json/licens... | true |
Other | Homebrew | brew | 6eb80c67a43a908883ceb9303806c910c48b04d5.json | install: add backtrace on failure
The error message might be useless alone | Library/Homebrew/cmd/install.rb | @@ -267,6 +267,7 @@ def install
# Need to rescue before `FormulaUnavailableError` (superclass of this)
# is handled, as searching for a formula doesn't make sense here (the
# formula was found, but there's a problem with its implementation).
+ $stderr.puts e.backtrace if Homebrew::EnvConfig.developer?... | true |
Other | Homebrew | brew | 6eb80c67a43a908883ceb9303806c910c48b04d5.json | install: add backtrace on failure
The error message might be useless alone | Library/Homebrew/formulary.rb | @@ -35,6 +35,7 @@ def self.load_formula(name, path, contents, namespace)
begin
mod.module_eval(contents, path)
rescue NameError, ArgumentError, ScriptError => e
+ $stderr.puts e.backtrace if Homebrew::EnvConfig.developer?
raise FormulaUnreadableError.new(name, e)
end
class_name = ... | true |
Other | Homebrew | brew | ffb1cc8e19abf6da810470d4ce266ab05fe69115.json | Find patch nodes nested inside blocks | Library/Homebrew/rubocops/patches.rb | @@ -18,7 +18,7 @@ def audit_formula(node, _class_node, _parent_class_node, body)
patch_problems(url_string)
end
- inline_patches = find_method_calls_by_name(body, :patch)
+ inline_patches = find_every_method_call_by_name(body, :patch)
inline_patches.each { |patch| ... | true |
Other | Homebrew | brew | ffb1cc8e19abf6da810470d4ce266ab05fe69115.json | Find patch nodes nested inside blocks | Library/Homebrew/test/rubocops/patches_spec.rb | @@ -175,6 +175,19 @@ class Foo < Formula
RUBY
end
+ it "reports no offenses for valid nested inline patches" do
+ expect_no_offenses(<<~RUBY)
+ class Foo < Formula
+ url 'https://brew.sh/foo-1.0.tgz'
+ stable do
+ patch :DATA
+ end
+ end
+ ... | true |
Other | Homebrew | brew | b2eafdf11d1bec99479e9a097f68cf5be31c2146.json | Remove patch checks from audit | Library/Homebrew/dev-cmd/audit.rb | @@ -168,14 +168,6 @@ def without_patch
@text.split("\n__END__").first
end
- def data?
- /^[^#]*\bDATA\b/ =~ @text
- end
-
- def end?
- /^__END__$/ =~ @text
- end
-
def trailing_newline?
/\Z\n/ =~ @text
end
@@ -234,12 +226,6 @@ def audit_style
end
def audi... | true |
Other | Homebrew | brew | b2eafdf11d1bec99479e9a097f68cf5be31c2146.json | Remove patch checks from audit | Library/Homebrew/test/dev-cmd/audit_spec.rb | @@ -41,8 +41,6 @@ class #{Formulary.class_s(name)} < Formula
url "https://www.brew.sh/valid-1.0.tar.gz"
RUBY
- expect(ft).not_to have_data
- expect(ft).not_to have_end
expect(ft).to have_trailing_newline
expect(ft =~ /\burl\b/).to be_truthy
@@ -55,20 +53,6 @@ class #{Formular... | true |
Other | Homebrew | brew | afb844538048055d3a5ce42ce051a21fb3ff8cf2.json | Add inline patch checks to patches cop | Library/Homebrew/rubocops/patches.rb | @@ -8,14 +8,24 @@ module Cop
module FormulaAudit
# This cop audits patches in Formulae.
class Patches < FormulaCop
- def audit_formula(_node, _class_node, _parent_class_node, body)
+ def audit_formula(node, _class_node, _parent_class_node, body)
+ @full_source_content = source_... | false |
Other | Homebrew | brew | 9520eabc357687aed7cfdfad9648bbb195bb3174.json | style: enforce ISO-8601 in deprecation date | Library/Homebrew/rubocops.rb | @@ -22,5 +22,6 @@
require "rubocops/files"
require "rubocops/keg_only"
require "rubocops/version"
+require "rubocops/deprecate"
require "rubocops/rubocop-cask" | true |
Other | Homebrew | brew | 9520eabc357687aed7cfdfad9648bbb195bb3174.json | style: enforce ISO-8601 in deprecation date | Library/Homebrew/rubocops/deprecate.rb | @@ -0,0 +1,35 @@
+# frozen_string_literal: true
+
+require "rubocops/extend/formula"
+
+module RuboCop
+ module Cop
+ module FormulaAudit
+ # This cop audits deprecate!
+ class Deprecate < FormulaCop
+ def audit_formula(_node, _class_node, _parent_class_node, body_node)
+ deprecate_node = ... | true |
Other | Homebrew | brew | 9520eabc357687aed7cfdfad9648bbb195bb3174.json | style: enforce ISO-8601 in deprecation date | Library/Homebrew/test/rubocops/deprecate_spec.rb | @@ -0,0 +1,56 @@
+# frozen_string_literal: true
+
+require "rubocops/deprecate"
+
+describe RuboCop::Cop::FormulaAudit::Deprecate do
+ subject(:cop) { described_class.new }
+
+ context "When auditing formula for deprecate!" do
+ it "deprecation date is not ISO-8601 compliant" do
+ expect_offense(<<~RUBY)
+ ... | true |
Other | Homebrew | brew | 644ae115f56de90a72ab0fac68d5bdac906cf82e.json | Prepare inline patch specs | Library/Homebrew/test/rubocops/patches_spec.rb | @@ -163,6 +163,40 @@ def patches
end
end
+ context "When auditing inline patches" do
+ it "reports no offenses for valid inline patches" do
+ expect_no_offenses(<<~RUBY)
+ class Foo < Formula
+ url 'https://brew.sh/foo-1.0.tgz'
+ patch :DATA
+ end
+ __END__
+ ... | false |
Other | Homebrew | brew | 62ffc26140f8d5b2e9bc82fa43b377045455250f.json | Update man page | docs/Manpage.md | @@ -1031,7 +1031,7 @@ directory.
Update SPDX license data in the Homebrew repository.
* `--fail-if-changed`:
- Return a failing status code if the current license data's version is different from the upstream. This can be used to notify CI when the SPDX license data is out of date.
+ Return a failing status cod... | false |
Other | Homebrew | brew | 22baff39bc1433bfdd26139d2d18bd34c902c7fc.json | Apply suggestions from code review
Applying style-related suggestions from code review
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com> | Library/Homebrew/dev-cmd/audit.rb | @@ -547,8 +547,8 @@ def audit_bottle_disabled
def audit_github_repository
user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*}) if @new_formula
- user ||=nil
- repo ||=nil
+ user ||= nil
+ repo ||= nil
return if user.nil?
warning = SharedAudits.github... | true |
Other | Homebrew | brew | 22baff39bc1433bfdd26139d2d18bd34c902c7fc.json | Apply suggestions from code review
Applying style-related suggestions from code review
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com> | docs/Manpage.md | @@ -1031,7 +1031,7 @@ directory.
Update SPDX license data in the Homebrew repository.
* `--fail-if-changed`:
- Return a failing status code if current license data's version is different fromthe upstream. This can be used to notify CI when the SPDX license data is out of date.
+ Return a failing status code if ... | true |
Other | Homebrew | brew | cc994b5c656344fa6e2773eb6e310ce7ad7b2d65.json | Commit man pages | docs/Manpage.md | @@ -1018,6 +1018,13 @@ directory.
* `-g`, `--git`:
Initialise a Git repository in the unpacked source. This is useful for creating patches for the software.
+### `update_license_data` *`cmd`*
+
+ Update SPDX license data in the Homebrew repository.
+
+* `--fail-if-changed`:
+ Return a failing status code if cur... | true |
Other | Homebrew | brew | cc994b5c656344fa6e2773eb6e310ce7ad7b2d65.json | Commit man pages | manpages/brew.1 | @@ -1311,6 +1311,13 @@ Patches for \fIformula\fR will be applied to the unpacked source\.
\fB\-g\fR, \fB\-\-git\fR
Initialise a Git repository in the unpacked source\. This is useful for creating patches for the software\.
.
+.SS "\fBupdate_license_data\fR \fIcmd\fR"
+Update SPDX license data in the Homebrew reposit... | true |
Other | Homebrew | brew | 0304545d0cb334c5f24be63e1c639ff8989f7226.json | use File.open instead of Kernel.open | Library/Homebrew/dev-cmd/audit.rb | @@ -112,7 +112,7 @@ def audit
style_results = Style.check_style_json(style_files, options) if style_files
# load licenses
spdx = HOMEBREW_LIBRARY_PATH/"data/spdx.json"
- spdx_data = open(spdx, "r") do |file|
+ spdx_data = File.open(spdx, "r") do |file|
JSON.parse(file.read)
end
new... | false |
Other | Homebrew | brew | 0f9319cc43fbb17fd31615a43813116b8d5fa890.json | sorbet: update hidden definitions | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -13558,26 +13558,6 @@ end
ParseError = Racc::ParseError
-class Parser::AST::Processor
- def on_find_pattern(node); end
-
- def on_forward_arg(node); end
-end
-
-class Parser::Builders::Default
- def find_pattern(lbrack_t, elements, rbrack_t); end
-
- def forward_arg(dots_t); end
-
- def forward_only_args(b... | false |
Other | Homebrew | brew | d1004c81430d6b893ff487a32b9c4fe70131a943.json | reinstall: Add ability to reference casks from brew reinstall | Library/Homebrew/cmd/reinstall.rb | @@ -6,6 +6,7 @@
require "reinstall"
require "cli/parser"
require "cleanup"
+require "cask/all"
module Homebrew
module_function
@@ -56,7 +57,8 @@ def reinstall
Install.perform_preinstall_checks
- args.resolved_formulae.each do |f|
+ resolved_formulae, possible_casks = args.resolved_formulae_and_u... | false |
Other | Homebrew | brew | 16f16f3a383b8094c25ec97441c5944c7aee735a.json | uninstall: Add test for uninstalling cask | Library/Homebrew/cask/cmd/uninstall.rb | @@ -12,7 +12,7 @@ def initialize(*)
def run
casks.each do |cask|
- uninstall_cask cask, binaries?, verbose?, force?
+ self.class.uninstall_cask cask, binaries?, verbose?, force?
end
end
| true |
Other | Homebrew | brew | 16f16f3a383b8094c25ec97441c5944c7aee735a.json | uninstall: Add test for uninstalling cask | Library/Homebrew/test/cmd/uninstall_spec.rb | @@ -17,6 +17,53 @@
.and not_to_output.to_stderr
.and be_a_success
end
+
+ it "uninstalls a given Cask" do
+ caffeine = Cask::CaskLoader.load(cask_path("local-caffeine"))
+ Cask::Installer.new(caffeine).install
+
+ expect { brew "uninstall", "local-caffeine" }
+ .to output(/Uninstalling C... | true |
Other | Homebrew | brew | 90c26dadc7ec5021716fc0674b4b8b8dd8965293.json | uninstall: Add ability to reference casks from brew uninstall | Library/Homebrew/cask/cmd/uninstall.rb | @@ -12,24 +12,28 @@ def initialize(*)
def run
casks.each do |cask|
- odebug "Uninstalling Cask #{cask}"
+ uninstall_cask cask, binaries?, verbose?, force?
+ end
+ end
- raise CaskNotInstalledError, cask unless cask.installed? || force?
+ def self.uninstall... | true |
Other | Homebrew | brew | 90c26dadc7ec5021716fc0674b4b8b8dd8965293.json | uninstall: Add ability to reference casks from brew uninstall | Library/Homebrew/cmd/uninstall.rb | @@ -5,6 +5,9 @@
require "diagnostic"
require "migrator"
require "cli/parser"
+require "cask/all"
+require "cask/cmd"
+require "cask/cask_loader"
module Homebrew
module_function
@@ -29,15 +32,21 @@ def uninstall_args
def uninstall
uninstall_args.parse
- kegs_by_rack = if args.force?
- Hash[arg... | true |
Other | Homebrew | brew | cbfea6c125247fa302b11c3062df570d5847501a.json | args: Add field for kegs and unknowns | Library/Homebrew/cli/args.rb | @@ -39,6 +39,7 @@ def freeze_named_args!(named_args)
@formulae_paths = nil
@casks = nil
@kegs = nil
+ @kegs_and_unknowns = nil
self[:named_args] = named_args
self[:named_args].freeze
@@ -108,55 +109,73 @@ def casks
end
def kegs
+ @kegs ||= dow... | false |
Other | Homebrew | brew | 04cebe30dcd258baba38306adb9047656285cb04.json | test/support/fixtures/bottles: add Big Sur fixtures | Library/Homebrew/test/support/fixtures/bottles/testball_bottle-0.1.big_sur.bottle.tar.gz | @@ -0,0 +1 @@
+testball_bottle-0.1.yosemite.bottle.tar.gz
\ No newline at end of file | true |
Other | Homebrew | brew | 04cebe30dcd258baba38306adb9047656285cb04.json | test/support/fixtures/bottles: add Big Sur fixtures | Library/Homebrew/test/support/fixtures/bottles/testball_bottle-0.1.big_sur_arm.bottle.tar.gz | @@ -0,0 +1 @@
+testball_bottle-0.1.yosemite.bottle.tar.gz
\ No newline at end of file | true |
Other | Homebrew | brew | 9c4aaa9719c74b78ff5dca4667788b3426a48678.json | linkage_checker: handle system libraries on Big Sur | Library/Homebrew/linkage_checker.rb | @@ -3,6 +3,7 @@
require "keg"
require "formula"
require "linkage_cache_store"
+require "fiddle"
class LinkageChecker
attr_reader :undeclared_deps
@@ -125,6 +126,11 @@ def check_dylibs(rebuild_cache:)
if (dep = dylib_to_dep(dylib))
@broken_deps[dep] |= [dylib]
+ elsif MacOS.ve... | false |
Other | Homebrew | brew | ac818ec556470d29f524cc0f77debb84f10dd0ac.json | commit older version to test git command | Library/Homebrew/data/spdx.json | @@ -1,5 +1,5 @@
{
- "licenseListVersion": "3.9-4-g1a3102c",
+ "licenseListVersion": "3.8-4-g1a3102c",
"licenses": [
{
"reference": "./0BSD.html", | false |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/Gemfile | @@ -13,7 +13,6 @@ gem "rspec-retry", require: false
gem "rspec-wait", require: false
gem "rubocop"
gem "simplecov", require: false
-
if ENV["HOMEBREW_SORBET"]
gem "sorbet"
gem "sorbet-runtime" | true |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/Gemfile.lock | @@ -128,7 +128,6 @@ DEPENDENCIES
byebug
concurrent-ruby
coveralls (~> 0.8)
- json
mechanize
parallel_tests
plist | true |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/audit.rb | @@ -111,21 +111,19 @@ def audit
# Check style in a single batch run up front for performance
style_results = Style.check_style_json(style_files, options) if style_files
# load licenses
- full_path = File.join(File.dirname(__FILE__), "../data/spdx.json")
- spdx_data = File.open(full_path, "r") do |f... | true |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/create.rb | @@ -49,7 +49,6 @@ def create_args
description: "Explicitly set the <license> of the new formula."
flag "--tap=",
description: "Generate the new formula within the given tap, specified as <user>`/`<repo>."
-
switch :force
switch :verbose
switch :debug | true |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/dev-cmd/update-license-data.rb | @@ -19,7 +19,7 @@ def update_license_data_args
Update SPDX license data in the Homebrew repository.
EOS
- switch "--fail-if-outdated",
+ switch "--fail-if-changed",
description: "Return a failing status code if current license data's version is different from the upstream. This... | true |
Other | Homebrew | brew | 9845091f4d20e449dcafd420953e538137580f47.json | Apply suggestions from code review
license: code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> | Library/Homebrew/formula.rb | @@ -2207,7 +2207,7 @@ def method_added(method)
# The SPDX ID of the open-source license that the formula uses.
# Shows when running `brew info`.
#
- # <pre>license " BSD-2-Clause"</pre>
+ # <pre>license "BSD-2-Clause"</pre>
attr_rw :license
# @!attribute [w] homepage | true |
Other | Homebrew | brew | 58cc7dd96c0bbed6779623b7ee1312999d78c9de.json | utils/svn_spec: use shim to detect Subversion presence. | Library/Homebrew/test/utils/svn_spec.rb | @@ -9,7 +9,7 @@
end
it "returns svn version if svn available" do
- if File.executable? "/usr/bin/svn"
+ if quiet_system "#{HOMEBREW_SHIMS_PATH}/scm/svn", "--version"
expect(described_class).to be_svn_available
else
expect(described_class).not_to be_svn_available | false |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/expat.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: expat
+Version: 2.2.8
+Description: expat XML parser
+URL: http://www.libexpat.org
+Libs: -L${libdir} -lexpat
+C... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libcurl.pc | @@ -0,0 +1,40 @@
+#***************************************************************************
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
+# ... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libedit.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libedit
+Description: command line editor library provides generic line editing, history, and tokenization funct... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libexslt.pc | @@ -0,0 +1,13 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libexslt
+Version: 0.8.17
+Description: EXSLT Extension library
+Requires: libxml-2.0
+Libs: -L${libdir} -lexs... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libffi.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+toolexeclibdir=${libdir}
+includedir=${prefix}/include/ffi
+
+Name: libffi
+Description: Library supporting Foreign Function Interfaces
+Version: 3.3-... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libxml-2.0.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+modules=1
+
+Name: libXML
+Version: 2.9.4
+Description: libXML library version2.
+Requires:
+Libs: -L${libdir} -lxml2
+L... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/libxslt.pc | @@ -0,0 +1,13 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libxslt
+Version: 1.1.29
+Description: XSLT library version 2.
+Requires: libxml-2.0
+Libs: -L${libdir} -lxslt... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/ncurses.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+major_version=5
+version=5.7.20081102
+
+Name: ncurses
+Description: ncurses 5.7 library
+Version: ${version}
+Requires:... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/ncursesw.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+major_version=5
+version=5.7.20081102
+
+Name: ncursesw
+Description: ncurses 5.7 library
+Version: ${version}
+Requires... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/sqlite3.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: SQLite
+Description: SQL database engine
+Version: 3.31.1
+Libs: -L${libdir} -lsqlite3
+Libs.private:
+Cflags: | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/uuid.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include/uuid
+
+Name: uuid
+Description: Universally unique id library
+Version: 1.0
+
+Requires:
+Libs:
... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/10.16/zlib.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: zlib
+Description: zlib compression library
+Version: 1.2.11
+
+Requires:
+Libs: -L${lib... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/expat.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: expat
+Version: 2.2.8
+Description: expat XML parser
+URL: http://www.libexpat.org
+Libs: -L${libdir} -lexpat
+Cf... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libcurl.pc | @@ -0,0 +1,40 @@
+#***************************************************************************
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
+# ... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libedit.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libedit
+Description: command line editor library provides generic line editing, history, and tokenization functi... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libexslt.pc | @@ -0,0 +1,13 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libexslt
+Version: 0.8.17
+Description: EXSLT Extension library
+Requires: libxml-2.0
+Libs: -L${libdir} -lexsl... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libffi.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+toolexeclibdir=${libdir}
+includedir=${prefix}/include/ffi
+
+Name: libffi
+Description: Library supporting Foreign Function Interfaces
+Version: 3.3-r... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libxml-2.0.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+modules=1
+
+Name: libXML
+Version: 2.9.4
+Description: libXML library version2.
+Requires:
+Libs: -L${libdir} -lxml2
+Li... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/libxslt.pc | @@ -0,0 +1,13 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libxslt
+Version: 1.1.29
+Description: XSLT library version 2.
+Requires: libxml-2.0
+Libs: -L${libdir} -lxslt ... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/ncurses.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+major_version=5
+version=5.7.20081102
+
+Name: ncurses
+Description: ncurses 5.7 library
+Version: ${version}
+Requires:
... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/ncursesw.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+major_version=5
+version=5.7.20081102
+
+Name: ncursesw
+Description: ncurses 5.7 library
+Version: ${version}
+Requires:... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/sqlite3.pc | @@ -0,0 +1,12 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: SQLite
+Description: SQL database engine
+Version: 3.31.1
+Libs: -L${libdir} -lsqlite3
+Libs.private:
+Cflags: | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/uuid.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include/uuid
+
+Name: uuid
+Description: Universally unique id library
+Version: 1.0
+
+Requires:
+Libs:
+... | true |
Other | Homebrew | brew | 53f214835d86ddfefb5d8f5684979acaf64aa017.json | os/mac/pkgconfig: add pc files for Big Sur | Library/Homebrew/os/mac/pkgconfig/11.0/zlib.pc | @@ -0,0 +1,14 @@
+homebrew_sdkroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
+prefix=${homebrew_sdkroot}/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: zlib
+Description: zlib compression library
+Version: 1.2.11
+
+Requires:
+Libs: -L${libd... | true |
Other | Homebrew | brew | 5d56be52caca925fad7e678f17739ef46ecd6164.json | os/mac/pkgconfig/10.15/expat: update version to 2.2.8 | Library/Homebrew/os/mac/pkgconfig/10.15/expat.pc | @@ -5,7 +5,7 @@ libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: expat
-Version: 2.2.6
+Version: 2.2.8
Description: expat XML parser
URL: http://www.libexpat.org
Libs: -L${libdir} -lexpat | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.