aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/caveats.rb
AgeCommit message (Collapse)Author
2017-12-30requirements: move more to compat.Mike McQuaid
2017-12-24caveats: tweak root_dir definition style.Mike McQuaid
2017-12-23caveats: correct completion/function paths for keg_onlyDominyk Tiller
2017-12-11caveats: fix fish caveats under env filteringDominyk Tiller
2017-12-11caveats: fix PKG_CONFIG_PATH nudge under env filteringDominyk Tiller
2017-10-24Add missing `require "forwardable"`.Markus Reiter
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-16caveats: making plist_caveats macOS-onlyMaxim Belkin
2017-09-24Rubocop: automatic rule fixes.Mike McQuaid
2017-07-25Merge pull request #2804 from mansimarkaur/caveatsMisty De Meo
Increasing test coverage for caveats.rb
2017-07-25Added tests for python caveatsmansimarkaur
2017-07-25Added tests for plist_caveatsmansimarkaur
2017-07-25Added tests for function_completion_caveatsmansimarkaur
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-05-02caveats: chomp keg_only reasonDominyk Tiller
2017-05-01caveats: tweak keg_only wordingDominyk Tiller
Current: ``` This formula is keg-only, which means it was not symlinked into /usr/local. Qt has CMake issues when linked ``` After: ``` This formula is keg-only, which means it was not symlinked into /usr/local, because Qt has CMake issues when linked. ```
2017-04-22More deprecations.Mike McQuaid
Deprecate more methods. Internal APIs have been verified to be unused elsewhere and removed. External APIs have had deprecation methods added. Existing deprecations have been either upgraded to produce warnings or no longer deprecated and the reasoning documented.
2017-03-19caveats: combine completion and function messagesAlex Dunn
Fixes https://github.com/Homebrew/homebrew-core/issues/10338. Closes #2287. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2017-01-26caveats: add newline after keg only reason.Mike McQuaid
2017-01-25caveats: tweak keg-only messaging.Mike McQuaid
Slim down the existing text and make it more obvious what's happening. Note specifically how to add it to your PATH to convince people to try that instead of `brew link --force`.
2017-01-09caveats, keg: remove linkapps caveats code.Mike McQuaid
2016-12-08caveats: Differentiate zsh completion files and function filesZach Whaley
When installing a file to zsh/site-functions directory, it is assumed this is a zsh completion file, and the zsh completion caveat is printed after installation. But not all files in the zsh/site-functions directory are completion files. Some are files for functions that can be loaded on demand with zsh's autoload command. - Edit Keg.completion_installed to search specifically for files in the zsh/site-functions directory starting with an underscore only (By convention, zsh completion files start with an underscore) - Add Keg.zsh_functions_installed to search for non-completion files in the zsh/site-functions - Add Caveats.zsh_function_caveats to print a caveat if non-completion files have been installed to zsh/site-functions
2016-12-04Add a method for installing fish function filesZach Whaley
Fish shell allows third-party software vendors to put their own function files in a directory for their software. For brew installed Fish shell, this is /usr/local/share/fish/vendor_functions.d
2016-09-23Fix Style/GuardClause.Markus Reiter
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-09-11caveats: highlight PKG_CONFIG_PATH if existsDominyk Tiller
We keep getting issues every now & again about people being confused that keg_only includes hiding the `pkg-config` files. Perhaps seems reasonable to start pointing out those exist when they do & a hint on how to access them. Hidden behind a which check to avoid redundant messages, although `pkg-config` is an incredibly popular formula. Ran some time tests, no appreciable difference from the status quo. If accepted: Closes https://github.com/Homebrew/homebrew-core/issues/4669.
2016-05-02Update Homebrew/homebrew references in commentsMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-04-30Skip tmux warning if reattached to user namespaceilovezfs
The exit status of pbpaste is a proxy for whether the user has set up reattach-to-user-namespace. It should be 0 if it is set up, 1 otherwise. This is the same hack as Homebrew/homebrew-services#48.
2016-04-22caveats: recommend brew services for plists.Mike McQuaid
It simplifies the number of commands and it's now an officially supported command again.
2016-02-21plist_caveats: ensure it ending with newlineXu Cheng
Closes Homebrew/homebrew#49374. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-07caveats: indent Emacs Lisp directoryAlex Dunn
This matches similar caveats messages.
2015-11-01stricter audit for Emacs Lisp installsAlex Dunn
Require that the subdirectory in site-lisp match the formula name exactly. This lets us provide better information in the caveats and will make it easier for helper methods to write to the correct location (as in in Homebrew/homebrew-emacs#13).
2015-10-10caveats: show information based on build optionsXu Cheng
Fixes Homebrew/homebrew#44729. Fixes Homebrew/homebrew#40863. Closes Homebrew/homebrew#44779. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-04caveats: wrap elisp caveatsDaniel Lee Harple
Closes Homebrew/homebrew#43517. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-12caveats.rb: don't print elisp_caveats for keg-onlyAlex Dunn
Since they won't have been installed into `#{HOMEBREW_PREFIX}/share/emacs/site-lisp/` Closes Homebrew/homebrew#42839.
2015-08-06more core file style updated by rubocopXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-01Automatic caveats for emacs lisp filesAlex Dunn
- The name of the subdirectory under site-lisp may not be exactly the same as the name of the package - `(normal-top-level-add-subdirs-to-load-path)` adds every subdirectory of `default-directory` to the load-path, so users don't have to update their load-path for every package they install. Closes Homebrew/homebrew#42309.
2015-07-25caveats: fix extra empty lineXu Cheng
2015-07-23caveats: use two spaces instead of 4Dominyk Tiller
2015-06-15Formula: always print keg_only_textMisty De Meo
Fixes Homebrew/homebrew#40724. Closes Homebrew/homebrew#40725. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-06-02Add support for fish shell completionsJohannes Wienke
* Library/Homebrew/caveats.rb: add caveats comparable to other shells * Library/Homebrew/formula.rb: define completion directory along the conventions explained in the fish documentation for $fish_complete_path * Library/Homebrew/keg.rb: add fish shell to check function for installed completions Closes Homebrew/homebrew#39828. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-29caveats: use Formula#full_nameXu Cheng
2014-12-19(un)linkapps: allow unlink/link specific formulae.Xu Cheng
Closes Homebrew/homebrew#35080. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-27caveats: don't need plist keg to_path, fix 10.8.Mike McQuaid
2014-11-27caveats: handle non-Homebrew plists.Mike McQuaid
Mentioned in Homebrew/homebrew#34484.
2014-11-07caveats: if the last character isn't a newline, add oneXu Cheng
Closes Homebrew/homebrew#33962. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-03caveats: yosemite adjustmentsDominyk Tiller
Closes Homebrew/homebrew#33815
2014-11-02caveats: recommend adding python site-packages with site.addsitedirTim D. Smith
Closes Homebrew/homebrew#33364. Fixes Homebrew/homebrew#30844.
2014-09-19caveats: check if plist is a symlink.Mike McQuaid
Avoid problems like Homebrew/homebrew#32367.