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
20167e5f1b45c486a05d3be4c0b5209d5d1a838d.json
Adjust comments to tidy API docs output.
Library/Homebrew/utils/inreplace.rb
@@ -13,8 +13,9 @@ module Inreplace # prefer a patch but if you need the `prefix` of this formula in the # patch you have to resort to `inreplace`, because in the patch # you don't have access to any var defined by the formula. Only - # HOMEBREW_PREFIX is available in the embedded patch. - # inrepla...
true
Other
Homebrew
brew
20167e5f1b45c486a05d3be4c0b5209d5d1a838d.json
Adjust comments to tidy API docs output.
Library/Homebrew/utils/shell.rb
@@ -35,7 +35,7 @@ def export_value(key, value, shell = preferred) end end - # return the shell profile file based on users' preferred shell + # return the shell profile file based on user's preferred shell def profile SHELL_PROFILE_MAP.fetch(preferred, "~/.bash_profile") end
true
Other
Homebrew
brew
b7ea9e18306ec0e34b8f3d9bdffba68ee0b3ee7c.json
Allow access to lock directory inside tests.
Library/Homebrew/dev-cmd/test.rb
@@ -87,6 +87,7 @@ def test sandbox.allow_write_log(f) sandbox.allow_write_xcode sandbox.allow_write_path(HOMEBREW_PREFIX/"var/cache") + sandbox.allow_write_path(HOMEBREW_PREFIX/"var/homebrew/locks") sandbox.allow_write_path(HOMEBREW_PREFIX/"var/log") ...
false
Other
Homebrew
brew
96e5b8d9b156f9538eab34f5281d0f44f9f188bf.json
fix rubocop offences
Library/Homebrew/test/.rubocop_todo.yml
@@ -121,17 +121,6 @@ RSpec/RepeatedDescription: - 'rubocops/lines_cop_spec.rb' - 'tab_spec.rb' -# Offense count: 10 -RSpec/RepeatedExample: - Exclude: - - 'compiler_selector_spec.rb' - - 'utils/shell_spec.rb' - -# Offense count: 2 -RSpec/ScatteredLet: - Exclude: - - 'cask/artifact/uninstall_zap_s...
true
Other
Homebrew
brew
96e5b8d9b156f9538eab34f5281d0f44f9f188bf.json
fix rubocop offences
Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb
@@ -158,6 +158,8 @@ let(:glob_path1) { Pathname.new("#{dir}/glob_path1") } let(:glob_path2) { Pathname.new("#{dir}/glob_path2") } let(:paths) { [absolute_path, path_with_tilde, glob_path1, glob_path2] } + let(:fake_system_command) { NeverSudoSystemCommand } + let(:cask) { Cask::CaskLoader...
true
Other
Homebrew
brew
96e5b8d9b156f9538eab34f5281d0f44f9f188bf.json
fix rubocop offences
Library/Homebrew/test/compiler_selector_spec.rb
@@ -27,29 +27,10 @@ end describe "#compiler" do - it "raises an error if no matching compiler can be found" do - software_spec.fails_with(:clang) - software_spec.fails_with(:gcc_4_2) - software_spec.fails_with(gcc: "4.8") - software_spec.fails_with(gcc: "4.7") - - expect { subject.co...
true
Other
Homebrew
brew
96e5b8d9b156f9538eab34f5281d0f44f9f188bf.json
fix rubocop offences
Library/Homebrew/test/utils/shell_spec.rb
@@ -7,11 +7,6 @@ expect(subject.profile).to eq("~/.bash_profile") end - it "returns ~/.bash_profile for Sh" do - ENV["SHELL"] = "/bin/another_shell" - expect(subject.profile).to eq("~/.bash_profile") - end - it "returns ~/.bash_profile for Bash" do ENV["SHELL"] = "/bin/bash" ...
true
Other
Homebrew
brew
1621eb0b9d296a80fb5190e28c1d2e8721fed030.json
description_cache_store: handle empty database. Don't perform an incremental update from a report or list of formulae if the cache is currently empty. Also, remove some accidentally remaining debugging output.
Library/Homebrew/description_cache_store.rb
@@ -31,6 +31,7 @@ def delete!(formula_name) # @return [nil] def populate_if_empty! return unless database.empty? + Formula.each { |f| update!(f.full_name, f.desc) } end @@ -39,6 +40,7 @@ def populate_if_empty! # @param [Report] report: an update report generated by cmd/update.rb # @return [n...
true
Other
Homebrew
brew
1621eb0b9d296a80fb5190e28c1d2e8721fed030.json
description_cache_store: handle empty database. Don't perform an incremental update from a report or list of formulae if the cache is currently empty. Also, remove some accidentally remaining debugging output.
Library/Homebrew/test/description_cache_store_spec.rb
@@ -25,6 +25,7 @@ let(:report) { double(select_formula: [], empty?: false) } it "reads from the report" do + expect(database).to receive(:empty?).at_least(:once).and_return(false) cache_store.update_from_report!(report) end end @@ -36,13 +37,15 @@ desc "desc" end e...
true
Other
Homebrew
brew
4def45f499a327864ff38e81b8959e88db7cea28.json
utils/github_spec: use author that exists.
Library/Homebrew/test/utils/github_spec.rb
@@ -31,9 +31,12 @@ describe "::search_issues", :needs_network do it "queries GitHub issues with the passed parameters" do - results = subject.search_issues("brew search", repo: "Homebrew/brew", author: "avetamine", is: "closed") + results = subject.search_issues("brew search", + ...
false
Other
Homebrew
brew
47dc086129d305fc6e6ef25d8eaf567298a76591.json
README: add moisan to maintainers.
README.md
@@ -44,7 +44,7 @@ Homebrew/brew's other current maintainers are [Claudia](https://github.com/claui Homebrew/brew's Linux support (and Linuxbrew) maintainers are [Michka Popoff](https://github.com/imichka) and [Shaun Jackman](https://github.com/sjackman). -Homebrew/homebrew-core's other current maintainers are [Cla...
true
Other
Homebrew
brew
47dc086129d305fc6e6ef25d8eaf567298a76591.json
README: add moisan to maintainers.
docs/Manpage.md
@@ -1298,7 +1298,7 @@ Homebrew/brew's other current maintainers are Claudia, Michka Popoff, Shaun Jack Homebrew/brew's Linux support (and Linuxbrew) maintainers are Michka Popoff and Shaun Jackman. -Homebrew/homebrew-core's other current maintainers are Claudia, Michka Popoff, Shaun Jackman, Chongyu Zhu, commitay,...
true
Other
Homebrew
brew
47dc086129d305fc6e6ef25d8eaf567298a76591.json
README: add moisan to maintainers.
manpages/brew.1
@@ -1436,7 +1436,7 @@ Homebrew/brew\'s other current maintainers are Claudia, Michka Popoff, Shaun Jac Homebrew/brew\'s Linux support (and Linuxbrew) maintainers are Michka Popoff and Shaun Jackman\. . .P -Homebrew/homebrew\-core\'s other current maintainers are Claudia, Michka Popoff, Shaun Jackman, Chongyu Zhu, co...
true
Other
Homebrew
brew
2a1b936f7697f355f76603ef1984ccbdf4abea9e.json
Clarify HOMEBREW_GITHUB_API_TOKEN in gist-logs err
Library/Homebrew/cmd/gist-logs.rb
@@ -43,7 +43,7 @@ def gistify_logs(f) puts <<~EOS You can create a new personal access token: #{GitHub::ALL_SCOPES_URL} - and then set the new HOMEBREW_GITHUB_API_TOKEN as the authentication method. + #{Utils::Shell.set_variable_in_profile("HOMEBREW_GITHUB_API_TOKEN", "your_token...
true
Other
Homebrew
brew
2a1b936f7697f355f76603ef1984ccbdf4abea9e.json
Clarify HOMEBREW_GITHUB_API_TOKEN in gist-logs err
Library/Homebrew/utils/github.rb
@@ -33,7 +33,7 @@ def initialize(reset, github_message) GitHub API Error: #{github_message} Try again in #{pretty_ratelimit_reset(reset)}, or create a personal access token: #{ALL_SCOPES_URL} - and then set the token as: export HOMEBREW_GITHUB_API_TOKEN="your_new_token" + #{Ut...
true
Other
Homebrew
brew
c2d23838d087b06487c4735f8b4183f0ba1a05f7.json
analytics: fix display of build error options. Currently these are all like `wget #<Options:0x0000000101171658>`.
Library/Homebrew/utils/analytics.rb
@@ -83,7 +83,7 @@ def report_build_error(exception) return if exception.formula.tap.private? action = exception.formula.full_name - if (options = exception.options) + if (options = exception.options&.to_a&.join(" ")) action = "#{action} #{options}".strip end ...
false
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/cache_store.rb
@@ -49,6 +49,28 @@ def created? cache_path.exist? end + # Returns the modification time of the cache file (if it already exists). + # + # @return [Time] + def mtime + return unless created? + cache_path.mtime + end + + # Performs a `select` on the underlying database. + # + # @return [Array] + ...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/cleanup.rb
@@ -161,7 +161,7 @@ def clean! cleanup_portable_ruby return if dry_run? - cleanup_linkage_db + cleanup_old_cache_db rm_ds_store else args.each do |arg| @@ -325,8 +325,12 @@ def cleanup_portable_ruby end end - def cleanup_linkage_db - FileU...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/cmd/desc.rb
@@ -10,6 +10,7 @@ require "descriptions" require "search" +require "description_cache_store" module Homebrew module_function @@ -21,23 +22,27 @@ def desc search_type << :either if ARGV.flag? "--search" search_type << :name if ARGV.flag? "--name" search_type << :desc if ARGV.flag? "--descrip...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/cmd/update-report.rb
@@ -8,6 +8,7 @@ require "descriptions" require "cleanup" require "update_migrator" +require "description_cache_store" module Homebrew module_function @@ -127,7 +128,10 @@ def update_report hub.dump hub.reporters.each(&:migrate_tap_migration) hub.reporters.each(&:migrate_formula_renam...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/description_cache_store.rb
@@ -0,0 +1,88 @@ +require "set" +require "cache_store" +require "searchable" + +# +# `DescriptionCacheStore` provides methods to fetch and mutate linkage-specific data used +# by the `brew linkage` command +# +class DescriptionCacheStore < CacheStore + include Searchable + + # Inserts a formula description into the c...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/descriptions.rb
@@ -6,113 +6,17 @@ class Descriptions extend Homebrew::Search - CACHE_FILE = HOMEBREW_CACHE + "desc_cache.json" - - def self.cache - @cache || load_cache - end - - # If the cache file exists, load it into, and return, a hash; otherwise, - # return nil. - def self.load_cache - @cache = JSON.parse(CACHE...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/keg.rb
@@ -303,7 +303,7 @@ def uninstall CacheStoreDatabase.use(:linkage) do |db| break unless db.created? - LinkageCacheStore.new(path, db).flush_cache! + LinkageCacheStore.new(path, db).delete! end path.rmtree
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/linkage_cache_store.rb
@@ -41,7 +41,7 @@ def update!(hash_values) # @param [Symbol] the type to fetch from the `LinkageCacheStore` # @raise [TypeError] error if the type is not in `HASH_LINKAGE_TYPES` # @return [Hash] - def fetch_type(type) + def fetch(type) unless HASH_LINKAGE_TYPES.include?(type) raise TypeError, <...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/linkage_checker.rb
@@ -79,9 +79,9 @@ def check_dylibs(rebuild_cache:) keg_files_dylibs = nil if rebuild_cache - store&.flush_cache! + store&.delete! else - keg_files_dylibs = store&.fetch_type(:keg_files_dylibs) + keg_files_dylibs = store&.fetch(:keg_files_dylibs) end keg_files_dylibs_was_...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/search.rb
@@ -1,4 +1,5 @@ require "searchable" +require "description_cache_store" module Homebrew module Search @@ -14,7 +15,10 @@ def query_regexp(query) def search_descriptions(string_or_regex) ohai "Formulae" - Descriptions.search(string_or_regex, :desc).print + CacheStoreDatabase.use(:descripti...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/tap.rb
@@ -1,5 +1,6 @@ require "extend/cachable" require "readall" +require "description_cache_store" # a {Tap} is used to extend the formulae provided by Homebrew core. # Usually, it's synced with a remote git repository. And it's likely @@ -299,7 +300,10 @@ def install(options = {}) formatted_contents = content...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/test/cmd/desc_spec.rb
@@ -1,6 +1,4 @@ describe "brew desc", :integration_test do - let(:desc_cache) { HOMEBREW_CACHE/"desc_cache.json" } - it "shows a given Formula's description" do setup_test_formula "testball" @@ -9,14 +7,4 @@ .and not_to_output.to_stderr .and be_a_success end - - describe "--description" do...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/test/cmd/search_spec.rb
@@ -34,7 +34,7 @@ end describe "--desc" do - let(:desc_cache) { HOMEBREW_CACHE/"desc_cache.json" } + let(:desc_cache) { HOMEBREW_CACHE/"descriptions.json" } it "supports searching in descriptions and creates a description cache" do expect(desc_cache).not_to exist
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/test/description_cache_store_spec.rb
@@ -0,0 +1,50 @@ +require "description_cache_store" + +describe DescriptionCacheStore do + subject(:cache_store) { described_class.new(database) } + + let(:database) { double("database") } + let(:formula_name) { "test_name" } + let(:description) { "test_description" } + + describe "#update!" do + it "sets the f...
true
Other
Homebrew
brew
fe6b78a3f390a72073b35d164d601bbd84db09a9.json
Use cache_store for descriptions This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
Library/Homebrew/test/linkage_cache_store_spec.rb
@@ -43,27 +43,27 @@ end end - describe "#flush_cache!" do + describe "#delete!" do it "calls `delete` on the `database` with `keg_name` as parameter" do expect(database).to receive(:delete).with(keg_name) - subject.flush_cache! + subject.delete! end end - describe "#fetch_ty...
true
Other
Homebrew
brew
6b8724431fb73b75f003064cb4b70c20e9e665e0.json
cli_parser: improve help text formatting - reduce desc_line_length so `brew help` output fits in 80 columns - support special formatting across line breaks - support emphasis using asterisks - add missing depends_on: tests
Library/Homebrew/cli_parser.rb
@@ -28,13 +28,13 @@ def initialize(&block) @constraints = [] @conflicts = [] @processed_options = [] - @desc_line_length = 48 + @desc_line_length = 43 instance_eval(&block) post_initialize end def post_initialize - @parser.on_tail("-h", "...
true
Other
Homebrew
brew
6b8724431fb73b75f003064cb4b70c20e9e665e0.json
cli_parser: improve help text formatting - reduce desc_line_length so `brew help` output fits in 80 columns - support special formatting across line breaks - support emphasis using asterisks - add missing depends_on: tests
Library/Homebrew/help.rb
@@ -93,6 +93,7 @@ def command_help(path) .gsub(/`(.*?)`/, "#{Tty.bold}\\1#{Tty.reset}") .gsub(%r{<([^\s]+?://[^\s]+?)>}) { |url| Formatter.url(url) } .gsub(/<(.*?)>/, "#{Tty.underline}\\1#{Tty.reset}") + .gsub(/\*(.*?)\*/, "#{Tty.underline}\\1#{Tty.reset}") ...
true
Other
Homebrew
brew
6b8724431fb73b75f003064cb4b70c20e9e665e0.json
cli_parser: improve help text formatting - reduce desc_line_length so `brew help` output fits in 80 columns - support special formatting across line breaks - support emphasis using asterisks - add missing depends_on: tests
Library/Homebrew/test/cli_parser_spec.rb
@@ -89,6 +89,7 @@ it "raises exception on depends_on constraint violation" do expect { parser.parse(["--flag2=flag2"]) }.to raise_error(Homebrew::CLI::OptionConstraintError) + expect { parser.parse(["--flag4=flag4"]) }.to raise_error(Homebrew::CLI::OptionConstraintError) end it "raises ex...
true
Other
Homebrew
brew
ab851640a48f9863d339552a3995bb4285ad72fe.json
azure-pipelines.yml: use xcode 10
azure-pipelines.yml
@@ -4,6 +4,7 @@ jobs: vmImage: xcode9-macos10.13 steps: - bash: | + sudo xcode-select --switch /Applications/Xcode_10.app/Contents/Developer HOMEBREW_REPOSITORY="$(brew --repo)" mv "$HOMEBREW_REPOSITORY/Library/Taps" "$PWD/Library" sudo rm -rf "$HOMEBREW_REPOSITORY"
false
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/cask/cmd/home_spec.rb
@@ -8,13 +8,13 @@ it_behaves_like "a command that handles invalid options" it "opens the homepage for the specified Cask" do - expect(described_class).to receive(:open_url).with("https://example.com/local-caffeine") + expect(described_class).to receive(:open_url).with("https://example.com") described...
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/cask/cmd/info_spec.rb
@@ -10,7 +10,7 @@ described_class.run("local-caffeine") }.to output(<<~EOS).to_stdout local-caffeine: 1.2.3 - https://example.com/local-caffeine + https://example.com Not installed From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/local-caffeine.rb ==> N...
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb
@@ -3,7 +3,7 @@ command = described_class.new("homepage", "local-caffeine") expect { command.run - }.to output("https://example.com/local-caffeine\n").to_stdout + }.to output("https://example.com\n").to_stdout end it "raises an exception when stanza is unknown/unsupported" do
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb
@@ -3,7 +3,7 @@ sha256 'badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' installer manual: 'Caffeine.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' homepage 'https://www.example.com/local-caffeine' app 'Caffeine.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb
@@ -4,7 +4,7 @@ url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" url 'https://example.com/caffeine.zip' - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb
@@ -4,7 +4,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb
@@ -4,7 +4,7 @@ sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://example.com/local-transmission' + homepage 'https://example.com' app 'Transmission.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb
@@ -2,7 +2,7 @@ version '1.2.3' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb
@@ -3,7 +3,7 @@ sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://example.com/local-transmission' + homepage 'https://example.com' app 'Transmission.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb
@@ -3,7 +3,7 @@ sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb
@@ -3,7 +3,7 @@ sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" - homepage 'https://example.com/local-transmission' + homepage 'https://example.com' app 'container' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app', target: 'AnotherName.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' installer manual: 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb
@@ -12,7 +12,7 @@ end url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb
@@ -3,7 +3,7 @@ sha256 '3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e' url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine Mini.app' app 'Caffeine Pro.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb
@@ -3,7 +3,7 @@ sha256 'd687c22a21c02bd8f07da9302c8292b93a04df9a929e3f04d09aea6c76f75c65' url "file://#{TEST_FIXTURE_DIR}/cask/caffeines-subdir.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeines/Caffeine Mini.app' app 'Caffeines/Caffeine Pro.app'
true
Other
Homebrew
brew
70fc2af6470acd116d24882bb1cbb922b40e2d73.json
Cask: fix all homepages now that they are audited
Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb
@@ -3,7 +3,7 @@ sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" - homepage 'https://example.com/local-caffeine' + homepage 'https://example.com' app 'Caffeine.app' end
true
Other
Homebrew
brew
0fcdc9ba0726570e29d6ce93956f6a5da4907ba3.json
Create method ruby_file? Both formula_files and cask_files need to check whether a file is a Ruby file. Also, use this method in formula_file? and cask_file?
Library/Homebrew/tap.rb
@@ -382,7 +382,7 @@ def contents # an array of all {Formula} files of this {Tap}. def formula_files @formula_files ||= if formula_dir.directory? - formula_dir.children.select { |file| file.extname == ".rb" } + formula_dir.children.select(&method(:ruby_file?)) else [] end @@ -391,19...
false
Other
Homebrew
brew
ce530fd0f54a4eccf45daffb05bbc08e30e72d73.json
move rspec pattern
Library/.rubocop.yml
@@ -4,9 +4,6 @@ AllCops: - '**/Casks/**/*' - '**/vendor/**/*' DisplayCopNames: false - RSpec: - Patterns: - - Homebrew/test/* require: - ./Homebrew/rubocops.rb
true
Other
Homebrew
brew
ce530fd0f54a4eccf45daffb05bbc08e30e72d73.json
move rspec pattern
Library/Homebrew/test/.rubocop.yml
@@ -2,3 +2,7 @@ inherit_from: - ../.rubocop.yml - .rubocop_todo.yml +AllCops: + RSpec: + Patterns: + - ./*
true
Other
Homebrew
brew
573da9002b246a24f4dcba691568fdf00ed5ad9d.json
docs/Maintainer-Guidelines: change lead maintainer date. I'll step down on February 4th to better coincide with the Homebrew maintainers in-person conference. This will make it easier to resolve any logistical issues that arise.
docs/Maintainer-Guidelines.md
@@ -153,7 +153,7 @@ Individual Homebrew repositories should not have formal lead maintainers (althou Maintainers should feel even more free to pleasantly disagree with the work and decisions of the lead maintainer: with greater authority comes greater responsibility to handle and moderate technical disagreements. ...
false
Other
Homebrew
brew
06a66e254ee519b9dfadf9b52a40c8f22a170b35.json
update-reset: fix Bash syntax. This isn't valid syntax for a Bash array.
Library/Homebrew/cmd/update-reset.sh
@@ -26,7 +26,7 @@ homebrew-update-reset() { set -x fi - if [[ -z "${REPOS[]}" ]] + if [[ -z "${REPOS[*]}" ]] then REPOS+=("$HOMEBREW_REPOSITORY" "$HOMEBREW_LIBRARY"/Taps/*/*) fi
false
Other
Homebrew
brew
3f2803110ad983293c79e1d0a73efd032e514a38.json
audit: Permit HEAD for non-official taps
Library/Homebrew/dev-cmd/audit.rb
@@ -642,7 +642,7 @@ def audit_specs end end - if formula.head || formula.devel + if @official_tap && (formula.head || formula.devel) unstable_spec_message = "Formulae should not have a `HEAD` or `devel` spec" if @new_formula new_formula_problem unstable_spec_mess...
false
Other
Homebrew
brew
9e438991c82359d184902a13824c407b429bc33e.json
zip: restore extended attributes when under MacOS
Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb
@@ -2,10 +2,21 @@ module UnpackStrategy class Zip prepend Module.new { def extract_to_dir(unpack_dir, basename:, verbose:) - volumes = super.stderr.chomp - .split("\n") - .map { |l| l[/\A skipping: (.+) volume label\Z/, 1] } - .c...
false
Other
Homebrew
brew
96504ec9dcba438855ebb314f1dd004442453e12.json
style: check Bash style with shellcheck
Library/Homebrew/style.rb
@@ -76,13 +76,15 @@ def check_style_impl(files, output_type, options = {}) cache_env = { "XDG_CACHE_HOME" => "#{HOMEBREW_CACHE}/style" } + rubocop_success = false + case output_type when :print args << "--debug" if ARGV.debug? args << "--display-cop-names" if ARGV.include...
false
Other
Homebrew
brew
b7cf925da84cbd5eeb5de4c94b917369d4f072fd.json
Remove unused methods in `Staged` module.
Library/Homebrew/cask/staged.rb
@@ -2,29 +2,6 @@ module Cask module Staged - def info_plist_file(index = 0) - index = 0 if index == :first - index = 1 if index == :second - index = -1 if index == :last - @cask.artifacts.select { |a| a.is_a?(Artifact::App) }.at(index).target.join("Contents", "Info.plist") - end - - ...
true
Other
Homebrew
brew
b7cf925da84cbd5eeb5de4c94b917369d4f072fd.json
Remove unused methods in `Staged` module.
Library/Homebrew/test/cask/staged_spec.rb
@@ -1,14 +0,0 @@ -# TODO: this test should be named after the corresponding class, once -# that class is abstracted from installer.rb. It makes little sense -# to be invoking bundle_identifier off of the installer instance. -describe "Operations on staged Casks", :cask do - describe "bundle ID" do - le...
true
Other
Homebrew
brew
b7cf925da84cbd5eeb5de4c94b917369d4f072fd.json
Remove unused methods in `Staged` module.
Library/Homebrew/test/support/helper/spec/shared_examples/cask_staged.rb
@@ -21,30 +21,6 @@ staged.system_command("echo", args: ["homebrew-cask", "rocks!"]) end - it "can get the Info.plist file for the primary app" do - expect(staged.info_plist_file).to eq Cask::Config.global.appdir.join("TestCask.app/Contents/Info.plist") - end - - it "can execute commands on the Info.plis...
true
Other
Homebrew
brew
dbea3cbe90b7d05e046f036d87bdb604362b7bb3.json
restore sorting of options after commands
Library/Homebrew/dev-cmd/man.rb
@@ -82,6 +82,7 @@ def regenerate_man_pages def path_glob_commands(glob) Pathname.glob(glob) + .sort_by { |source_file| sort_key_for_path(source_file) } .map(&:read).map(&:lines) .map { |lines| lines.grep(/^#:/).map { |line| line.slice(2..-1) }.join } .reject {...
false
Other
Homebrew
brew
54fe8e0ec0a0724dd3416565c2733b49c388fbfa.json
docs: fix broken links.
docs/Brew-Test-Bot-For-Core-Contributors.md
@@ -4,7 +4,7 @@ If a build has run and passed on `brew test-bot` then it can be used to quickly There are two types of Jenkins jobs you will interact with: -## [Homebrew Core Pull Requests](https://jenkins.brew.sh/job/Homebrew%20Core/) +## [Homebrew Core Pull Requests](https://jenkins.brew.sh/job/Homebrew%20Core%2...
true
Other
Homebrew
brew
54fe8e0ec0a0724dd3416565c2733b49c388fbfa.json
docs: fix broken links.
docs/Maintainer-Guidelines.md
@@ -140,7 +140,7 @@ All communication should ideally occur in public on GitHub. Where this is not po This makes it easier for other maintainers, contributors and users to follow along with what we're doing (and, more importantly, why we're doing it) and means that decisions have a linkable URL. -All maintainers (a...
true
Other
Homebrew
brew
54fe8e0ec0a0724dd3416565c2733b49c388fbfa.json
docs: fix broken links.
docs/Prose-Style-Guidelines.md
@@ -16,7 +16,7 @@ Homebrew's audience includes users with a wide range of education and experience We strive for "correct" but not "fancy" usage. Think newspaper article, not academic paper. -This is a set of guidelines to be applied using human judgment, not a set of hard and fast rules. It is like [The Economist...
true
Other
Homebrew
brew
54fe8e0ec0a0724dd3416565c2733b49c388fbfa.json
docs: fix broken links.
docs/Python-for-Formula-Authors.md
@@ -30,7 +30,7 @@ No explicit Python dependency is needed on recent OS versions since `/usr/bin` i Applications should be installed into a Python [virtualenv](https://virtualenv.pypa.io/en/stable/) environment rooted in `libexec`. This prevents the app's Python modules from contaminating the system site-packages and...
true
Other
Homebrew
brew
8a2490a1d31219dd732cc948d746cb58d8e578f3.json
docs: check links with `html-proofer` This can be done with `bundle exec rake test`.
docs/.ruby-version
@@ -1 +1 @@ -2.4.1 +2.5.1
true
Other
Homebrew
brew
8a2490a1d31219dd732cc948d746cb58d8e578f3.json
docs: check links with `html-proofer` This can be done with `bundle exec rake test`.
docs/Gemfile
@@ -1,3 +1,8 @@ source "https://rubygems.org" gem "github-pages", group: :jekyll_plugins + +group :test do + gem "html-proofer" + gem "rake" +end
true
Other
Homebrew
brew
8a2490a1d31219dd732cc948d746cb58d8e578f3.json
docs: check links with `html-proofer` This can be done with `bundle exec rake test`.
docs/Gemfile.lock
@@ -13,6 +13,7 @@ GEM execjs coffee-script-source (1.11.1) colorator (1.1.0) + colorize (0.8.1) commonmarker (0.17.13) ruby-enum (~> 0.5) concurrent-ruby (1.0.5) @@ -84,6 +85,15 @@ GEM html-pipeline (2.8.4) activesupport (>= 2) nokogiri (>= 1.4) + html-proofer ...
true
Other
Homebrew
brew
8a2490a1d31219dd732cc948d746cb58d8e578f3.json
docs: check links with `html-proofer` This can be done with `bundle exec rake test`.
docs/Rakefile
@@ -0,0 +1,31 @@ +require "rake" + +task default: :build + +desc "Build the site." +task :build do + sh "jekyll", "build" +end + +desc "Run html proofer to validate the HTML output." +task test: :build do + require "html-proofer" + HTMLProofer.check_directory( + "./_site", + parallel: { in_threads: 4 }, + f...
true
Other
Homebrew
brew
13816a56875225b65812817d548aec161d2395d9.json
GNU_GCC_VERSIONS: Remove the compiler gcc-4.3
Library/Homebrew/compilers.rb
@@ -1,7 +1,7 @@ # @private module CompilerConstants - GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7 8].freeze - GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-8])$/ + GNU_GCC_VERSIONS = %w[4.4 4.5 4.6 4.7 4.8 4.9 5 6 7 8].freeze + GNU_GCC_REGEXP = /^gcc-(4\.[4-9]|[5-8])$/ COMPILER_SYMBOL_MAP = { "gcc" ...
false
Other
Homebrew
brew
ad7323bd61b2c2ccd3a5c4ad1478f55fceb17576.json
Hardware::CPU: Add Skylake [Linux]
Library/Homebrew/extend/os/linux/hardware/cpu.rb
@@ -11,8 +11,11 @@ def family return :dunno unless intel? # See https://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers + # and https://github.com/llvm-mirror/llvm/blob/master/lib/Support/Host.cpp + # and https://en....
false
Other
Homebrew
brew
ac2aabf287f177b3113acb6f29964528f1cadefa.json
setup_remote_tap: use system taps. This saves recloning the taps we use multiple times when already done by the user.
Library/Homebrew/test/cmd/cask_spec.rb
@@ -1,7 +1,7 @@ describe "brew cask", :integration_test, :needs_macos, :needs_network do describe "list" do it "returns a list of installed Casks" do - setup_remote_tap("homebrew/cask") + setup_remote_tap "homebrew/cask" expect { brew "cask", "list" }.to be_a_success end
true
Other
Homebrew
brew
ac2aabf287f177b3113acb6f29964528f1cadefa.json
setup_remote_tap: use system taps. This saves recloning the taps we use multiple times when already done by the user.
Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb
@@ -174,7 +174,16 @@ class #{Formulary.class_s(name)} < Formula def setup_remote_tap(name) Tap.fetch(name).tap do |tap| - tap.install(full_clone: false, quiet: true) unless tap.installed? + next if tap.installed? + full_name = Tap.fetch(name).full_name + # Check to see if the original Home...
true
Other
Homebrew
brew
38feaf12709d122c49d3d145c07c4d920df42d85.json
extract: Add option descriptions
Library/Homebrew/dev-cmd/extract.rb
@@ -96,12 +96,26 @@ def with_monkey_patch module Homebrew module_function - def extract - Homebrew::CLI::Parser.parse do - flag "--version=" + def extract_args + Homebrew::CLI::Parser.new do + usage_banner <<~EOS + `extract` [<options>] <formula> <tap> + + Looks through repositor...
true
Other
Homebrew
brew
38feaf12709d122c49d3d145c07c4d920df42d85.json
extract: Add option descriptions
Library/Homebrew/dev-cmd/man.rb
@@ -21,6 +21,7 @@ require "dev-cmd/linkage" require "dev-cmd/mirror" require "dev-cmd/pull" +require "dev-cmd/extract" require "dev-cmd/release-notes" require "dev-cmd/tap-new" require "dev-cmd/tests"
true
Other
Homebrew
brew
38feaf12709d122c49d3d145c07c4d920df42d85.json
extract: Add option descriptions
docs/Manpage.md
@@ -794,17 +794,14 @@ Takes a tap [`user``/``repo`] as argument and generates the formula in the speci no `formula` is provided. - * `extract` [`--force`] `formula` `tap` [`--version=``version`]: - Looks through repository history to find the `version` of `formula` and - creates a copy in `tap`/Formula/`f...
true
Other
Homebrew
brew
38feaf12709d122c49d3d145c07c4d920df42d85.json
extract: Add option descriptions
manpages/brew.1
@@ -794,15 +794,12 @@ Takes a tap [\fIuser\fR\fB/\fR\fIrepo\fR] as argument and generates the formula .SS "\fBedit\fR \fIformula\fR:" Open \fIformula\fR in the editor\. Open all of Homebrew for editing if no \fIformula\fR is provided\. . -.TP -\fBextract\fR [\fB\-\-force\fR] \fIformula\fR \fItap\fR [\fB\-\-version=\...
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/cli_parser.rb
@@ -125,7 +125,7 @@ def parse(cmdline_args = ARGV) end def global_option?(name) - Homebrew::CLI::Parser.global_options.has_key?(name.to_sym) + Homebrew::CLI::Parser.global_options.key?(name.to_sym) end private
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/bump-formula-pr.rb
@@ -53,11 +53,11 @@ def bump_formula_pr_args `bump-formula-pr` <options> <formula>: Creates a pull request to update the formula with a new URL or a new tag. - + If a <URL> is specified, the <sha-256> checksum of the new download must also be specified. A best effort to determi...
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/irb.rb
@@ -31,7 +31,8 @@ def irb_args EOS switch "--examples", description: "Show several examples." - switch "--pry", env: :pry, + switch "--pry", + env: :pry, description: "Pry will be used instead of irb if `--pry` is passed or HOMEBREW_PRY is set." end end
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/man.rb
@@ -156,8 +156,10 @@ def convert_man_page(markup, target) ronn_output = ronn.read odie "Got no output from ronn!" unless ronn_output ronn_output.gsub!(%r{</var>`(?=[.!?,;:]?\s)}, "").gsub!(%r{</?var>}, "`") if format_flag == "--markdown" - ronn_output = ronn_output.gsub(%r{<code>}, "\\fB").gsu...
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/mirror.rb
@@ -11,7 +11,7 @@ def mirror_args Homebrew::CLI::Parser.new do usage_banner <<~EOS `mirror` <formulae>: - + Reuploads the stable URL for a formula to Bintray to use it as a mirror. EOS switch :debug
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/prof.rb
@@ -1,7 +1,7 @@ -#: * `prof` [ruby options]: +#: * `prof` [<ruby options>]: #: Run Homebrew with the Ruby profiler. #: For example: -#: brew prof readall +#: brew prof readall module Homebrew module_function
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/pull.rb
@@ -79,18 +79,18 @@ def pull_args Gets a patch from a GitHub commit or pull request and applies it to Homebrew. Optionally, installs the formulae changed by the patch. - + Each <patch-source> may be one of: - + ~ The ID number of a PR (pull request) in the homebrew/core G...
true
Other
Homebrew
brew
7b0f27ca3929faeff3deb0fcbbecb314f805884e.json
style: Fix style errors
Library/Homebrew/dev-cmd/tap-new.rb
@@ -19,7 +19,7 @@ def tap_new_args Homebrew::CLI::Parser.new do usage_banner <<~EOS `tap-new` <user>/<repo>: - + Generate the template files for a new tap. EOS switch :debug
true