From d400b151e71daf81e810c9870c319735d95f4a60 Mon Sep 17 00:00:00 2001 From: Dustin Rodrigues Date: Wed, 2 Sep 2020 11:46:37 -0400 Subject: [PATCH] minor typo fixes --- Library/Homebrew/cmd/update-report.rb | 2 +- Library/Homebrew/description_cache_store.rb | 4 ++-- docs/Acceptable-Formulae.md | 8 ++++---- docs/Homebrew-on-Linux.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 079bb3d7c36c5..b7ef09570e7ff 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -47,7 +47,7 @@ def update_report print "\a" # Use an extra newline and bold to avoid this being missed. - ohai "Homebrew has enabled anonymous aggregate formulae and cask analytics." + ohai "Homebrew has enabled anonymous aggregate formula and cask analytics." puts <<~EOS #{Tty.bold}Read the analytics documentation (and how to opt-out) here: #{Formatter.url("https://docs.brew.sh/Analytics")}#{Tty.reset} diff --git a/Library/Homebrew/description_cache_store.rb b/Library/Homebrew/description_cache_store.rb index ac8820fb38938..c90523abce052 100644 --- a/Library/Homebrew/description_cache_store.rb +++ b/Library/Homebrew/description_cache_store.rb @@ -55,7 +55,7 @@ def update_from_report!(report) renamings.map(&:first)) end - # Use an array of formulae names to update the `DescriptionCacheStore`. + # Use an array of formula names to update the `DescriptionCacheStore`. # # @param formula_names [Array] the formulae to update # @return [nil] @@ -69,7 +69,7 @@ def update_from_formula_names!(formula_names) end end - # Use an array of formulae names to delete them from the `DescriptionCacheStore`. + # Use an array of formula names to delete them from the `DescriptionCacheStore`. # # @param formula_names [Array] the formulae to delete # @return [nil] diff --git a/docs/Acceptable-Formulae.md b/docs/Acceptable-Formulae.md index b4df476cc4b02..bdb32f310f5e4 100644 --- a/docs/Acceptable-Formulae.md +++ b/docs/Acceptable-Formulae.md @@ -71,16 +71,16 @@ don’t want those things in Homebrew. Encourage upstream projects to build and ### Stuff that builds a GUI by default (but doesn't have to) Make it build a command-line tool or a library by default and, if the GUI is useful and would be widely used, also build the GUI. Don’t build X11/XQuartz GUIs as they are a bad user experience on macOS. -### Stuff that doesn't build with the latest, stable Xcode's Clang +### Stuff that doesn't build with the latest, stable Xcode Clang Clang is the default C/C++ compiler on macOS (and has been for a long time). Software that doesn't build with it hasn't been adequately ported to macOS. ### Stuff that requires heavy manual pre/post-install intervention We're a package manager so we want to do things like resolve dependencies and set up applications for our users. If things require too much manual intervention then they aren't useful in a package manager. -## Stuff that requires vendored versions of homebrew formulae -Homebrew formula should avoid having multiple, separate, upstream projects bundled together in a single package to avoid having shipping outdated/insecure versions of software that is already a formula. +## Stuff that requires vendored versions of Homebrew formulae +Homebrew formulae should avoid having multiple, separate, upstream projects bundled together in a single package to avoid shipping outdated/insecure versions of software that is already a formula. -For more info see [Debian](https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles) and [Fedora's](https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling) stance on this. +For more info see [Debian's](https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles) and [Fedora's](https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling) stances on this. ### Sometimes there are exceptions Even if all criteria are met we may not accept the formula. diff --git a/docs/Homebrew-on-Linux.md b/docs/Homebrew-on-Linux.md index f4c5926a50d3f..6553846d5ee44 100644 --- a/docs/Homebrew-on-Linux.md +++ b/docs/Homebrew-on-Linux.md @@ -26,7 +26,7 @@ Instructions for a supported install of Homebrew on Linux are on the [homepage]( The installation script installs Homebrew to `/home/linuxbrew/.linuxbrew` using *sudo* if possible and in your home directory at `~/.linuxbrew` otherwise. Homebrew does not use *sudo* after installation. Using `/home/linuxbrew/.linuxbrew` allows the use of more binary packages (bottles) than installing in your personal home directory. -Follow the *Next steps* instructions to add Homebrew to your `PATH` and to your bash shell profile script, either `~/.profile` on Debian/Ubuntu or `~/.bash_profile` on CentOS/Fedora/RedHat. +Follow the *Next steps* instructions to add Homebrew to your `PATH` and to your bash shell profile script, either `~/.profile` on Debian/Ubuntu or `~/.bash_profile` on CentOS/Fedora/Red Hat. ```sh test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)