🍺 The missing package manager for macOS (or Linux)
543 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/attestation.rb | 21 | BACKFILL_REPO = "trailofbits/homebrew-brew-verify" |
| LOW | Library/Homebrew/attestation.rb | 41 | # |
| LOW | Library/Homebrew/attestation.rb | 81 | # NOTE: We set HOMEBREW_NO_VERIFY_ATTESTATIONS when installing `gh` itself, |
| LOW | Library/Homebrew/attestation.rb | 101 | else |
| LOW | Library/Homebrew/attestation.rb | 161 | # `gh attestation verify` returns a JSON array of one or more results, |
| LOW | Library/Homebrew/attestation.rb | 201 | # This is a specialization of `check_attestation` for homebrew-core. |
| LOW | Library/Homebrew/installed_dependents.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/lock_file.rb | 41 | if lockfile.flock(File::LOCK_EX | File::LOCK_NB) |
| LOW | Library/Homebrew/brew.sh | 641 | # - docs/Installation.md |
| LOW | Library/Homebrew/cleaner.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/cleaner.rb | 41 | # 1. `info/dir` |
| LOW | Library/Homebrew/tap.rb | 181 | attr_reader :full_repository |
| LOW | Library/Homebrew/utils.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/utils.rb | 21 | # Removes the module part from the expression in the string. |
| LOW | Library/Homebrew/livecheck.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/dependency_collector.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/resource.rb | 181 | # This method evaluates the DSL specified in the `livecheck` block of the |
| LOW | Library/Homebrew/abstract_command.rb | 1 | # typed: strong |
| LOW | Library/Homebrew/build_options.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/build_options.rb | 21 | # args << "--qt-gui" if build.with? "qt" # "--with-qt" ==> build.with? "qt" |
| LOW | Library/Homebrew/build_options.rb | 61 | !with?(val) |
| LOW | Library/Homebrew/build_options.rb | 81 | # if build.head? |
| LOW | Library/Homebrew/description_cache_store.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/version.rb | 381 | # e.g. `ltopers-v2017-04-14.tar.gz` |
| LOW | Library/Homebrew/version.rb | 401 | |
| LOW | Library/Homebrew/version.rb | 441 | # e.g. `https://ftpmirror.gnu.org/autogen/autogen-5.5.7-5.i386.rpm` |
| LOW | Library/Homebrew/version.rb | 461 | # e.g. `https://cdn.nuxeo.com/nuxeo-9.2/nuxeo-server-9.2-tomcat.zip` |
| LOW | Library/Homebrew/development_tools.rb | 1 | # typed: strict |
| LOW | Library/Homebrew/formula.rb | 41 | require "install_steps" |
| LOW | Library/Homebrew/formula.rb | 61 | # @see https://www.rubydoc.info/stdlib/fileutils FileUtils |
| LOW | Library/Homebrew/formula.rb | 121 | # The name of the alias that was used to identify this {Formula}. |
| LOW | Library/Homebrew/formula.rb | 141 | # e.g. `/usr/local/Library/Taps/homebrew/homebrew-core/Formula/t/this-formula.rb` |
| LOW | Library/Homebrew/formula.rb | 161 | |
| LOW | Library/Homebrew/formula.rb | 181 | # It's either `:stable` or `:head`. |
| LOW | Library/Homebrew/formula.rb | 201 | # @see .version_scheme= |
| LOW | Library/Homebrew/formula.rb | 561 | end |
| LOW | Library/Homebrew/formula.rb | 581 | delegate livecheck: :"self.class" |
| LOW | Library/Homebrew/formula.rb | 621 | :network_access_allowed?, |
| LOW | Library/Homebrew/formula.rb | 1101 | # `brew link` for formulae that are not keg-only. |
| LOW | Library/Homebrew/formula.rb | 1121 | # The directory where the formula's documentation should be installed. |
| LOW | Library/Homebrew/formula.rb | 1141 | # @api public |
| LOW | Library/Homebrew/formula.rb | 1161 | # ```ruby |
| LOW | Library/Homebrew/formula.rb | 1181 | # |
| LOW | Library/Homebrew/formula.rb | 1201 | # |
| LOW | Library/Homebrew/formula.rb | 1221 | # This is symlinked into `HOMEBREW_PREFIX` after installation or with |
| LOW | Library/Homebrew/formula.rb | 1241 | sig { returns(Pathname) } |
| LOW | Library/Homebrew/formula.rb | 1261 | # This is symlinked into `HOMEBREW_PREFIX` after installation or with |
| LOW | Library/Homebrew/formula.rb | 1281 | # @api public |
| LOW | Library/Homebrew/formula.rb | 1301 | # ``` |
| LOW | Library/Homebrew/formula.rb | 1321 | # This is symlinked into `HOMEBREW_PREFIX` after installation or with |
| LOW | Library/Homebrew/formula.rb | 1341 | # To install an Emacs mode included with a software package: |
| LOW | Library/Homebrew/formula.rb | 1361 | # This is symlinked into `HOMEBREW_PREFIX` after installation or with |
| LOW | Library/Homebrew/formula.rb | 1381 | # Anything using `pkgetc.install` will not overwrite other files on |
| LOW | Library/Homebrew/formula.rb | 1401 | # @api public |
| LOW | Library/Homebrew/formula.rb | 1421 | def bash_completion = prefix/"etc/bash_completion.d" |
| LOW | Library/Homebrew/formula.rb | 1441 | # The directory where the formula's PowerShell completion files should be |
| LOW | Library/Homebrew/formula.rb | 1501 | # The generated systemd {.timer} file path. |
| LOW | Library/Homebrew/formula.rb | 1521 | # |
| LOW | Library/Homebrew/formula.rb | 1561 | # |
| LOW | Library/Homebrew/formula.rb | 1681 | |
| 179 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/retryable_download.rb | 142 | def verify_download_integrity(filename) = downloadable.verify_download_integrity(filename) |
| LOW | Library/Homebrew/install_renamed.rb | 44 | def append_default_if_different(src, dst) |
| LOW | Library/Homebrew/keg_relocate.rb | 144 | def prepare_relocation_to_placeholders(new_usr_local_relocation: new_usr_local_relocation?) |
| LOW | Library/Homebrew/keg_relocate.rb | 195 | def replace_placeholders_with_locations(files, skip_linkage: false) |
| LOW | Library/Homebrew/keg_relocate.rb | 313 | def each_unique_file_matching(string, &_block) |
| LOW | Library/Homebrew/install.rb | 21 | def perform_preinstall_checks_once(all_fatal: false) |
| LOW | Library/Homebrew/install.rb | 42 | def perform_build_from_source_checks(all_fatal: false) |
| LOW | Library/Homebrew/install.rb | 397 | def show_combined_fetch_downloads_heading(formula_names: [], cask_names: []) |
| LOW | Library/Homebrew/install.rb | 484 | def print_dry_run_dependencies(formula, dependencies, skip_formula_names: [], &_block) |
| LOW | Library/Homebrew/install.rb | 716 | def perform_preinstall_checks(all_fatal: false) |
| LOW | Library/Homebrew/formula_installer.rb | 754 | def expand_dependencies_for_formula(formula) |
| LOW | Library/Homebrew/formula_installer.rb | 783 | def effective_build_options_for(dependent) |
| LOW | Library/Homebrew/dependency.rb | 288 | def delete_timestamped_cache_entry(key, cache_timestamp) |
| LOW | Library/Homebrew/formula_versions.rb | 85 | def file_contents_at_revision(revision, relative_path) |
| LOW | Library/Homebrew/installed_dependents.rb | 26 | def find_some_installed_dependents(kegs, casks: []) |
| LOW | Library/Homebrew/messages.rb | 34 | def record_completions_and_elisp(completions_and_elisp) |
| LOW | Library/Homebrew/sandbox.rb | 263 | def allow_write_path_if_exists(path) |
| LOW | Library/Homebrew/sbom.rb | 308 | def full_spdx_runtime_dependencies(bottling:) |
| LOW | Library/Homebrew/tap.rb | 274 | def worktree_source_tap_path_for(path:) |
| LOW | Library/Homebrew/tap.rb | 1280 | def read_formula_list_directory(directory) |
| LOW | Library/Homebrew/local_patch.rb | 68 | def api_source_repository_path(path) |
| LOW | Library/Homebrew/resource.rb | 393 | def verify_download_integrity(_filename) |
| LOW | Library/Homebrew/cleanup.rb | 123 | def excluded_versions_from_cleanup(formula) |
| LOW | Library/Homebrew/cleanup.rb | 510 | def cleanup_empty_api_source_directories(directory = cache/"api-source") |
| LOW | Library/Homebrew/formula_cellar_checks.rb | 122 | def check_generic_executables(bin) |
| LOW | Library/Homebrew/tap_auditor.rb | 147 | def check_formula_list_directory(directory_name, lists) |
| LOW | Library/Homebrew/downloadable.rb | 157 | def verify_download_integrity(filename) |
| LOW | Library/Homebrew/caveats.rb | 219 | def function_completion_caveats(shell) |
| LOW | Library/Homebrew/github_runner_matrix.rb | 296 | def compatible_testing_formulae(runner) |
| LOW | Library/Homebrew/github_runner_matrix.rb | 315 | def formulae_with_untested_dependents(runner) |
| LOW | Library/Homebrew/deprecate_disable.rb | 121 | def to_reason_string_or_symbol(string, type:) |
| LOW | Library/Homebrew/development_tools.rb | 45 | def insecure_download_warning(resource) |
| LOW | Library/Homebrew/head_software_spec.rb | 14 | def verify_download_integrity(_filename) |
| LOW | Library/Homebrew/formula.rb | 406 | def full_name_with_optional_tap(name) |
| LOW | Library/Homebrew/formula.rb | 2499 | def generate_completions_from_executable(*commands, |
| LOW | Library/Homebrew/formula.rb | 2823 | def runtime_formula_dependencies(read_from_tab: true, undeclared: true) |
| LOW | Library/Homebrew/formula.rb | 2839 | def installed_runtime_formula_dependencies(read_from_tab: true, undeclared: true) |
| LOW | Library/Homebrew/formula.rb | 3236 | def internal_dependencies_hash(spec_symbol) |
| LOW | Library/Homebrew/formula.rb | 3580 | def eligible_kegs_for_cleanup(quiet: false) |
| LOW | Library/Homebrew/formula.rb | 3662 | def enqueue_resources_and_patches(download_queue:) |
| LOW | Library/Homebrew/bundle.rb | 85 | def formula_versions_from_env(formula_name) |
| LOW | Library/Homebrew/build.rb | 53 | def effective_build_options_for(dependent) |
| LOW | Library/Homebrew/download_queue.rb | 214 | def stdout_print_and_flush_if_tty(message) |
| LOW | Library/Homebrew/download_queue.rb | 233 | def create_symlinks_for_shared_download(cached_location) |
| LOW | Library/Homebrew/download_queue.rb | 316 | def align_checksum_mismatch_message(downloadable_type) |
| LOW | Library/Homebrew/service.rb | 516 | def cron_weekday_to_systemd_weekday(cron_weekday) |
| LOW | Library/Homebrew/cmd/info.rb | 446 | def swap_to_installed_formula(formula, qualified_inputs) |
| LOW | Library/Homebrew/cmd/search.rb | 156 | def print_missing_formula_help(query, found_matches) |
| LOW | Library/Homebrew/cmd/update-report.rb | 292 | def link_completions_manpages_and_docs(repository = HOMEBREW_REPOSITORY) |
| LOW | Library/Homebrew/cmd/upgrade.rb | 493 | def record_formula_upgrade_summary(context, include_sizes: false) |
| LOW | Library/Homebrew/cmd/upgrade.rb | 521 | def show_final_upgrade_summary(dry_run: args.dry_run?) |
| LOW | Library/Homebrew/cmd/upgrade.rb | 571 | def show_final_upgrade_summary_section(title, items) |
| LOW | Library/Homebrew/cmd/upgrade.rb | 580 | def formula_upgrade_descriptions(formulae, include_sizes: false) |
| LOW | Library/Homebrew/cmd/uses.rb | 100 | def intersection_of_dependents(use_runtime_dependents, used_formulae) |
| LOW | Library/Homebrew/cmd/link.rb | 132 | def puts_keg_only_path_message(keg) |
| LOW | Library/Homebrew/cmd/update_report/reporter_hub.rb | 155 | def output_dump_formula_or_cask_report(title, formulae_or_casks) |
| LOW | …rary/Homebrew/sorbet/tapioca/compilers/forwardables.rb | 46 | def compile_forwardable_method(klass, method, class_method: false) |
| LOW | Library/Homebrew/extend/hash/deep_transform_values.rb | 23 | def _deep_transform_values_in_object(object, &block) |
| LOW | Library/Homebrew/extend/hash/keys.rb | 88 | def _deep_transform_keys_in_object(object, &block) |
| LOW | Library/Homebrew/extend/os/mac/keg.rb | 153 | def prepare_codesign_writable_files(file, &_block) |
| 131 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | Library/Homebrew/retryable_download.rb | 103 | # Create a separate file to mark a completed extraction. This avoids |
| MEDIUM | Library/Homebrew/descriptions.rb | 52 | # Create an actual instance. |
| MEDIUM | Library/Homebrew/bundle_version.rb | 92 | # Create a nicely formatted version (on a best effort basis). |
| MEDIUM | Library/Homebrew/cleaner.rb | 20 | # Create a cleaner for the given formula. |
| MEDIUM | Library/Homebrew/dependency_collector.rb | 18 | # This class is used by `depends_on` in the formula DSL to turn dependency |
| MEDIUM | Library/Homebrew/formula.rb | 3172 | # Create a hash of spec names (stable/head) to the list of dependencies under each |
| MEDIUM | Library/Homebrew/formula.rb | 3308 | # This method is overridden in {Formula} subclasses to provide the |
| MEDIUM | Library/Homebrew/formula.rb | 3323 | # This method is overridden in {Formula} subclasses to provide the |
| MEDIUM | Library/Homebrew/formula.rb | 3623 | # Create a temporary directory then yield. When the block returns, |
| MEDIUM | Library/Homebrew/system_command.rb | 342 | # Create a new process group so that we can send `SIGINT` from |
| MEDIUM | Library/Homebrew/cmd/pyenv-sync.rb | 77 | # Create an unversioned symlinks |
| MEDIUM | Library/Homebrew/extend/os/linux/install.rb | 89 | # This file is generated by Homebrew. Do not modify. |
| MEDIUM | Library/Homebrew/rubocops/extend/formula_cop.rb | 29 | # This method is called by RuboCop and is the main entry point. |
| MEDIUM | Library/Homebrew/test/cleanup_spec.rb | 500 | # Create the latest version of testball so the older version is eligible for cleanup. |
| MEDIUM | Library/Homebrew/test/style_spec.rb | 46 | # This file is known to use non-rocket hashes and other things that trigger audit, |
| MEDIUM | Library/Homebrew/test/cmd/info_spec.rb | 441 | # Create a rack for the installed dependency |
| MEDIUM | Library/Homebrew/test/cmd/info_spec.rb | 448 | # Create a dependent keg whose tab references testball |
| MEDIUM | …ry/Homebrew/test/support/helper/cask/install_helper.rb | 32 | # Create the caskroom path |
| MEDIUM | …ry/Homebrew/test/support/helper/cask/install_helper.rb | 35 | # Create the staged_path (version directory) |
| MEDIUM | Library/Homebrew/test/cask/installer_spec.rb | 657 | # Create a different file |
| MEDIUM | Library/Homebrew/test/cask/artifact/symlinked_spec.rb | 30 | # Create a fake formula directory structure |
| MEDIUM | Library/Homebrew/standalone/init.rb | 4 | # This file is included before any other files. |
| MEDIUM | Library/Homebrew/livecheck/strategy/extract_plist.rb | 133 | # Create a copy of the cask that overrides the artifact URL with the |
| MEDIUM | Library/Homebrew/utils/analytics.rb | 286 | # This method is undocumented because it is not intended for general use. |
| MEDIUM | Library/Homebrew/utils/lock.sh | 1 | # Create a lock using `flock(2)`. A command name with arguments is required as |
| MEDIUM | Library/Homebrew/utils/curl.rb | 779 | # Create a hash from the header lines |
| MEDIUM | Library/Homebrew/cask/audit.rb | 692 | # Create a temporary installer to process renames in the audit directory |
| MEDIUM | Library/Homebrew/services/formula_wrapper.rb | 17 | # Create a new `Service` instance from either a path or label. |
| MEDIUM | Library/Homebrew/dev-cmd/typecheck.rb | 286 | # This file is autogenerated. Do not edit it by hand. |
| MEDIUM | Library/Homebrew/dev-cmd/create.rb | 71 | # Create a formula from a tarball URL. |
| MEDIUM | .github/zizmor.yml | 1 | # This file is synced from the `.github` repository, do not modify it directly. |
| MEDIUM | .github/dependabot.yml | 1 | # This file is synced from the `.github` repository, do not modify it directly. |
| MEDIUM | .github/workflows/stale-issues.yml | 1 | # This file is synced from the `.github` repository, do not modify it directly. |
| MEDIUM | .github/workflows/actionlint.yml | 1 | # This file is synced from the `.github` repository, do not modify it directly. |
| MEDIUM | .github/codeql/extensions/homebrew-actions.yml | 1 | # This file is synced from the `.github` repository, do not modify it directly. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/install.rb | 110 | # Check if the installed formula is from a different tap |
| LOW | Library/Homebrew/install.rb | 214 | # Check if the formula we try to install is the same as installed |
| LOW | Library/Homebrew/linkage_checker.rb | 295 | # Check if this is a no_linkage dependency with unexpected linkage |
| LOW | Library/Homebrew/missing_formula.rb | 178 | # Check if the formula has been deleted in the last month. |
| LOW | Library/Homebrew/version.rb | 513 | # Check if this is a HEAD version. |
| LOW | Library/Homebrew/formula.rb | 4646 | # Check if `@rpath` install names should be preserved. |
| LOW | Library/Homebrew/cmd/update-report.rb | 103 | # Check if we can parse the JSON and do any Ruby-side follow-up. |
| LOW | Library/Homebrew/cmd/update_report/reporter.rb | 271 | # Check if the migration target is a cask (either in homebrew/cask or any other tap) |
| LOW | Library/Homebrew/rubocops/components_order.rb | 244 | # Check if each present_components is above rest of the present_components |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 22 | # Check if a desc is present. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 33 | # Check if the desc is empty. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 46 | # Check if "command-line" is spelled incorrectly in the desc. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 52 | # Check if the desc starts with an article. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 55 | # Check if invalid lowercase words are at the start of a desc. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 60 | # Check if the desc starts with the formula's or cask's name. |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 72 | # Check if a full stop is used at the end of a desc (apart from in the case of "etc."). |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 77 | # Check if the desc contains Unicode emojis or symbols (Unicode Other Symbols category). |
| LOW | Library/Homebrew/rubocops/shared/desc_helper.rb | 80 | # Check if the desc length exceeds maximum length. |
| LOW | Library/Homebrew/rubocops/shared/helper_functions.rb | 376 | # Check if a block method is called inside a block. |
| LOW | Library/Homebrew/rubocops/shared/helper_functions.rb | 389 | # Check if method_name is called among the direct children nodes in the given node. |
| LOW | Library/Homebrew/rubocops/shared/helper_functions.rb | 390 | # Check if the node itself is the method. |
| LOW | Library/Homebrew/rubocops/shared/helper_functions.rb | 406 | # Check if method_name is called among every descendant node of given node. |
| LOW | Library/Homebrew/rubocops/shared/helper_functions.rb | 441 | # Check if negation is present in the given node. |
| LOW | Library/Homebrew/rubocops/cask/no_overrides.rb | 45 | # Check if multiple `on_{system}` blocks have different `depends_on macos:` versions. |
| LOW | Library/Homebrew/test/cask/cask_loader_spec.rb | 503 | # Set HOMEBREW_LIBRARY to our test prefix for the security check |
| LOW | Library/Homebrew/unpack_strategy/dmg.rb | 45 | # Check if path is considered disk image metadata. |
| LOW | Library/Homebrew/unpack_strategy/dmg.rb | 51 | # Check if path is a symlink to a system directory (commonly to /Applications). |
| LOW | Library/Homebrew/unpack_strategy/tar.rb | 31 | # Check if `tar` can list the contents, then it can also extract it. |
| LOW | Library/Homebrew/bundle/extensions/flatpak.rb | 176 | # Check if package is installed at all (regardless of remote) |
| LOW | Library/Homebrew/utils/gem_setup.rb | 161 | # Write the file atomically, in case we're working parallel |
| LOW | Library/Homebrew/utils/gem_setup.rb | 231 | # Check if the install is intact. This is useful if any gems are added to gitignore. |
| LOW | Library/Homebrew/utils/curl.rb | 373 | # Check if a URL is protected by CloudFlare (e.g. badlion.net and jaxx.io). |
| LOW | Library/Homebrew/utils/curl.rb | 385 | # Check if a URL is protected by Incapsula (e.g. corsair.com). |
| LOW | Library/Homebrew/utils/service.rb | 7 | # Check if a service is running for a specified formula. |
| LOW | Library/Homebrew/utils/service.rb | 19 | # Check if a service file is installed in the expected location. |
| LOW | Library/Homebrew/os/linux/elf.rb | 230 | # Check if DF_1_NODEFLIB is set |
| LOW | Library/Homebrew/cask/cask.rb | 269 | # Check if the cask is installed with an old name. |
| LOW | Library/Homebrew/cask/cask.rb | 398 | # Check if the installed cask is outdated. |
| LOW | Library/Homebrew/cask/artifact/symlinked.rb | 116 | # Check if the target file is a symlink that originates from a formula |
| LOW | Library/Homebrew/services/cli.rb | 46 | # Check if formula has been found. |
| LOW | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 347 | # Check if there are any resources that still need manual update: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/diagnostic.rb | 1172 | # If quarantine is not available, a warning is already shown by check_cask_quarantine_support so just return |
| LOW | Library/Homebrew/keg.rb | 838 | # no need to put .app bundles in the path, the user can just use |
| MEDIUM | Library/Homebrew/formula.rb | 2129 | # libraries before trying to utilize Frameworks, many of which will be from |
| LOW | Library/Homebrew/cmd/log.rb | 40 | # As this command is simplifying user-run commands then let's just use a |
| LOW | Library/Homebrew/rubocops/lines.rb | 907 | problem "`Dir([\"#{string_content(path)}\"])` is unnecessary; just use `#{match[0]}`" |
| LOW | Library/Homebrew/unpack_strategy/dmg.rb | 103 | # For HFS, just use <mount-path> |
| MEDIUM | Library/Homebrew/livecheck/strategy/json.rb | 19 | # `strategy :json` in a `livecheck` block (in conjunction with a |
| MEDIUM | Library/Homebrew/livecheck/strategy/yaml.rb | 19 | # `strategy :yaml` in a `livecheck` block (in conjunction with a |
| MEDIUM | Library/Homebrew/livecheck/strategy/xml.rb | 23 | # `strategy :xml` in a `livecheck` block (in conjunction with a |
| LOW | Library/Homebrew/utils/gzip.rb | 27 | # 1. Ideally, we would just set mtime = 0 if SOURCE_DATE_EPOCH is absent, but Ruby's |
| MEDIUM | Library/Homebrew/utils/github/artifacts.rb | 17 | # We use a download strategy here to leverage the Homebrew cache |
| LOW | Library/Homebrew/dev-cmd/generate-cask-ci-matrix.rb | 178 | # if it's just a single OS test then we can just use the two real arch runners |
| LOW | Library/Homebrew/dev-cmd/bump-revision.rb | 31 | # As this command is simplifying user-run commands then let's just use a |
| LOW | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 108 | # As this command is simplifying user-run commands then let's just use a |
| LOW | Library/Homebrew/dev-cmd/bump-cask-pr.rb | 71 | # As this command is simplifying user-run commands then let's just use a |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/test/utils_spec.rb | 74 | .to eq({ name: "John Doe", email: "john.doe@example.com" }) |
| LOW | Library/Homebrew/test/utils_spec.rb | 77 | expect { klass.parse_author!("John Doe") } |
| LOW | …y/Homebrew/test/livecheck/strategy/sourceforge_spec.rb | 36 | <description><![CDATA[Files from abc Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t |
| LOW | …y/Homebrew/test/livecheck/strategy/sourceforge_spec.rb | 36 | <description><![CDATA[Files from abc Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t |
| LOW | Library/Homebrew/test/utils/curl_spec.rb | 348 | let(:user_agent_string) { "Lorem ipsum dolor sit amet" } |
| LOW | Library/Homebrew/test/utils/curl_spec.rb | 348 | let(:user_agent_string) { "Lorem ipsum dolor sit amet" } |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 9 | let(:message) { "lorem ipsum" } |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 30 | annotation = klass.new(:warning, "lorem ipsum", file: "file.txt") |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 32 | expect(annotation.to_s).to eq "::warning file=file.txt::lorem ipsum" |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 36 | annotation = klass.new(:warning, "lorem ipsum", file: "file.txt", title: "foo") |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 38 | expect(annotation.to_s).to eq "::warning file=file.txt,title=foo::lorem ipsum" |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 42 | annotation = klass.new(:error, "lorem ipsum", file: "file.txt", line: 3) |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 44 | expect(annotation.to_s).to eq "::error file=file.txt,line=3::lorem ipsum" |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 48 | annotation = klass.new(:error, "lorem ipsum", file: "file.txt", line: 3, column: 18) |
| LOW | Library/Homebrew/test/utils/github/actions_spec.rb | 50 | expect(annotation.to_s).to eq "::error file=file.txt,line=3,col=18::lorem ipsum" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | Library/Homebrew/formula.rb | 4235 | # If you maintain your own repository, you can add your own bottle links. |
| MEDIUM | Library/Homebrew/formula.rb | 4298 | # If a block is provided you can also add {.depends_on} and {Patch}es just to the {.head} {SoftwareSpec}. |
| LOW | Library/Homebrew/test_bot/formulae.rb | 137 | # If we depend on a versioned formula, make sure to unlink any other |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | Library/Homebrew/dev-cmd/pr-pull.rb | 148 | ohai "Ignoring workflow #{workflow} as requested by `--ignore-missing-artifacts`" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Library/Homebrew/bundle/brew.rb | 378 | # Step 1: Sort by formula full name while putting tap formulae behind core formulae. |
| LOW | Library/Homebrew/bundle/brew.rb | 390 | # Step 2: Sort by formula dependency topology. |
| LOW | Library/Homebrew/services/formula_wrapper.rb | 272 | # The purpose of this function is to lazy load the Homebrew::Service class |