aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/caveats.rb
AgeCommit message (Collapse)Author
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.
2014-08-31plist_caveats: simplify the block and add a commentXu Cheng
Closes Homebrew/homebrew#30630. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-31plist_caveats: remove `launchctl list` as it requires sudo for root servicesXu Cheng
2014-06-30Use formula opt shortcutsJack Nagel
2014-04-06python caveats: use `>` instead of `>>`Samuel John
The `homebrew.pth` should be a file with a single line in it. Also (at least on zsh) if the file does not exist, `>>` will result in an error. The `>` works in both, bash and zsh and creates the file with the `echo`ed contet. Closes Homebrew/homebrew#28201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-05Avoid realpath where it is not necessaryJack Nagel
Symlinks in opt and LinkedKegs point directly at a keg in the cellar, so only resolving one symlink should suffice, and make it clear what path we are actually interested in.
2014-03-12caveats: recommend Python .pth file instead.Mike McQuaid
This is better than PYTHONPATH as it doesn't mess with incompatible versions of Python. Closes Homebrew/homebrew#27138.
2014-02-02caveats: tweak app bundle message.Mike McQuaid
2014-01-21caveats: tweak python site-packages wording.Mike McQuaid
References Homebrew/homebrew#25789.
2014-01-19caveats: print .app caveats if installed to keg.Mike McQuaid
2014-01-04caveats: show python caveats if modules installed.Mike McQuaid
2013-06-23caveats: tweak reload wording.Mike McQuaid
2013-06-09Check respond_to? instead of inline rescueJack Nagel
2013-02-06Print formula plist_manual caveat unless loaded.Mike McQuaid
2013-01-29Only print launchctl tmux warning conditionally.Mike McQuaid