Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Search in caskroom/fonts doesn't work properly #113

Closed
oryband opened this issue Mar 16, 2014 · 5 comments
Closed

Search in caskroom/fonts doesn't work properly #113

oryband opened this issue Mar 16, 2014 · 5 comments

Comments

@oryband
Copy link

oryband commented Mar 16, 2014

~ brew tap
homebrew/dupes
homebrew/versions
phinze/cask
~ brew tap caskroom/fonts
Cloning into '/usr/local/Library/Taps/caskroom-fonts'...
remote: Reusing existing pack: 3277, done.
remote: Counting objects: 145, done.
remote: Compressing objects: 100% (145/145), done.
remote: Total 3422 (delta 92), reused 0 (delta 0)
Receiving objects: 100% (3422/3422), 508.39 KiB | 285.00 KiB/s, done.
Resolving deltas: 100% (1930/1930), done.
Checking connectivity... done.
Tapped 0 formula
~ brew cask search font
==> Partial matches
dfontsplitter       fontexplorer-x-pro  fontprep        monotype-skyfonts

The last command should have given me all the fonts, no?
Either the manual isn't clear, or I'm doing something wrong.

Here's my cask's doctor:

~ brew cask doctor
==> OS X Version:
10.9.2
==> Hardware Architecture:
intel-64
==> Ruby Version:
1.8.7-p358
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Homebrew Version:
0.9.5
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew-cask Version:
0.31.0
==> Contents of $LOAD_PATH:
/usr/local/Cellar/brew-cask/0.31.0/rubylib
/usr/local/Library/Homebrew
/usr/local/Library/Homebrew/vendor
/Library/Ruby/Site/1.8
/Library/Ruby/Site/1.8/powerpc-darwin13.0
/Library/Ruby/Site/1.8/universal-darwin13.0
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8/universal-darwin13.0
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/powerpc-darwin13.0
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin13.0
.
==> Contents of $RUBYLIB Environment Variable:
nil
==> Contents of $RUBYOPT Environment Variable:
nil
==> Contents of $RUBYPATH Environment Variable:
nil
==> Contents of $RBENV_VERSION Environment Variable:
nil
==> Contents of $GEM_HOME Environment Variable:
nil
==> Contents of $GEM_PATH Environment Variable:
nil
==> Contents of $BUNDLE_PATH Environment Variable:
nil
==> Running As Privileged User:
No
@baskerville
Copy link

Same problem here.

It seems that searching will only work if the formulae reside at the top level, e.g.: brew -S homebrew/dupes works as expected while brew -S caskroom/fonts yields nothing.

@rolandwalker rolandwalker self-assigned this Mar 17, 2014
@rolandwalker
Copy link
Contributor

Hi! Thanks for the report!

Yes, we crudely (and temporarily) disabled font-searching here: Homebrew/homebrew-cask#3025, to reduce false positives. I had hoped to have re-worked the search code by today. Thanks for reminding me that we need to get to it soon.

For the moment, we need to update the docs.

There is a "state of the project" that discusses some of this over in #84.

rolandwalker added a commit to rolandwalker/homebrew-fonts that referenced this issue Mar 17, 2014
and that search is broken.  Prompted by Homebrew#113.
@rolandwalker
Copy link
Contributor

A few weeks back, I documented a workaround on this, which is that regexp-style searches still do hit against fonts:

$ brew cask search /symbola/

@vitorgalvao
Copy link
Member

This is no longer the case.

@oryband
Copy link
Author

oryband commented Oct 20, 2016

i don't even have a mac anymore nowadays XD

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants