Zach Auten
517083474a
Removed cask_reason from missing_formula.reason
...
- It won't output anything during a failed 'brew install'
- There's a seperate call to MissingFormula.cask_reason
when 'brew info' is executed on a cask.
2019-03-21 17:35:38 -04:00
Zach Auten
e9b17b8593
Replaced 'unless nil' with 'if'
2019-03-16 12:59:15 -04:00
Zach Auten
18a20986e7
Addressed style issues
2019-03-06 18:06:50 -05:00
Zach Auten
fe643758d7
Updated get_info
...
- get_info builds info string by appending helper functions
- removed unnecessary returns
- fixed indentation in missing_formula
- reduced size of regex in info_spec
- missing_formula will indicate when it finds a cask with same name
2019-03-06 00:27:48 -05:00
Zach Auten
ed80b60834
Fixed installation info output and imports
2019-02-21 21:08:57 -05:00
Waldir Pimenta
d4e3fb45cb
missing_formula.rb: add help message for uconv
2019-02-19 10:51:52 +00:00
Andrew Dunning
332f437f39
MacRuby > RubyMotion
2019-02-18 16:20:59 -05:00
Andrew Dunning
1efdd41887
Further improvement to blacklist messages
2019-02-18 15:42:49 -05:00
Zach Auten
554106d2e0
Updated missing formula cask reason
...
- search_for_cask in missing_formula renamed to is_a_cask_reason
- is_a_cask calls new getInfo method in cask/cmd/info.rb to return info
string
- self.info in info.rb now calls getInfo and puts return value
- added ohai_title to return the ohai printout for only titles, so that
ohai printout could be added to the getInfo return string without
calling puts.
- refactored ohai to use ohai_title
- updated info_spec.rb cask info test to be more specific when
matching stderr.
- is_a_cask_reason will respect 'silent'
- refactored print_caveats to return instead of print
2019-02-18 03:33:57 -05:00
Zach Auten
648c8e4672
Merge branch 'master' into brew-info-display-casks
2019-02-18 03:26:43 -05:00
Andrew Dunning
60b698ba28
Clean up blacklisted package messages
...
Ensure consistent formatting and provide references to all MacTeX packages
2019-02-16 17:31:24 -05:00
Waldir Pimenta
2dccfe1d02
Update missing_formula.rb
2019-02-05 14:05:57 +00:00
Waldir Pimenta
3dc0df5a77
missing_formula.rb: add help message for cargo
...
...modeled after the existing message for pip.
Also sync format of the gfortran and lzma messages,
and use typographic apostrophe in the *tex message.
2019-02-05 13:38:08 +00:00
Zach Auten
abb81a52e6
Updated PR in response to suggestions
...
- changed require_relative to require
- removed useless begin
- removed unnecessary test
- updated brew info positive test case to verify a cask was found
- moved cask search logic to missing_formula.rb
2019-01-26 22:03:41 -05:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
955214abc0
Use ActiveSupport Object#blank? and #present?
2018-09-14 17:02:19 +01:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Andrew Janke
e0a8a79921
Style fixes for Rubocop 0.57.1
2018-06-30 19:40:14 -04:00
commitay
0f3a7945ca
missing_formula: update haskell-platform message
2018-06-07 15:02:15 +10:00
Markus Reiter
de246cc528
Update Homebrew-Cask references.
2018-05-25 18:20:02 +02:00
Markus Reiter
c4222141ac
Revert "Update Homebrew-Cask references."
...
This reverts commit 4475651b548afdcf15c4cf7a7cb57baca1885186.
2018-05-25 17:57:32 +02:00
Markus Reiter
4475651b54
Update Homebrew-Cask references.
2018-05-25 17:56:16 +02:00
Markus Reiter
b4de801a01
Support both Homebrew
and caskroom
for now.
2018-05-21 01:43:49 +02:00
Mike McQuaid
71f4f522d7
missing_formula: improve migration messaging.
...
Particularly in the cask case we can do a better job of communicating
how the new formula can be installed.
Fixes #4089 .
2018-04-25 10:16:22 +01:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Mike McQuaid
f2ce6489b2
Use more docs.brew.sh short links
...
These are nicer on the eyes.
2018-02-22 19:46:58 +00:00
Mike McQuaid
799312c5fc
missing_formula: check deleted in the last month.
...
This speeds things up pretty dramatically and handles the case that
something was deleted recently and users haven't learned about it yet.
Fixes #3513 .
2017-12-30 21:18:02 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Dominyk Tiller
f8d5b20512
missing_formula: use pip2 instead of pip
2017-08-29 12:14:05 +01:00
Dominyk Tiller
c6274b01df
missing_formula: update for Pillow's removal
...
Ref: https://github.com/Homebrew/homebrew-core/pull/17341
Ref: https://github.com/Homebrew/homebrew-core/pull/17357
2017-08-29 12:10:42 +01:00
puredanger
9bc706f1fc
remove blacklisting of Clojure to allow adding a Clojure formula
2017-08-22 12:17:11 -05:00
Mike McQuaid
baa61f5a6e
Use https for all docs.brew.sh links.
...
May as well use the more secure link when possible.
2017-07-27 15:59:37 +01:00
Mike McQuaid
835135cb68
missing_formula: no need to tap homebrew/core.
...
Avoiding printing the weird message e.g:
```
It was migrated from homebrew/science to homebrew/core.
You can access it again by running:
brew tap homebrew/core
```
2017-07-02 15:28:44 +01:00
Mike McQuaid
390bf44f69
missing_formula: note on shallow clones.
...
This avoids the user confusion on incomplete results seen in
http://discourse.brew.sh/t/missing-formula-location/818/7
2017-06-03 10:02:40 +01:00
JCount
171f65a1e4
missing_formula: fix undefined method path
for nil:NilClass
...
This check for a nil `tap` is necessary because Tap.from_path(path)
will simply return a nil value in the event the tap path is invalid
2017-04-10 16:46:32 -04:00
Mike McQuaid
7e32da8fab
Merge pull request #2432 from jonchang/pil
...
missing_formula: pillow lives in homebrew/science
2017-04-01 12:02:24 +01:00
Jonathan Chang
18c7254ecd
missing_formula: pillow lives in homebrew/science
2017-04-01 03:33:47 -07:00
Ilya Zverev
f5321d1b0d
Remove osmium from blacklisted formulas
2017-03-31 15:59:22 +03:00
Mike McQuaid
45357ef0dd
Fix handling of tap migrations to new cask names.
...
Need to check for two `/`s rather than one.
2017-03-30 19:18:40 +01:00
Mike McQuaid
4c2fe5d91e
missing_formula: print immediately when searching git log.
2017-03-23 08:39:29 +00:00
Zhiming Wang
5da857ce83
missing_formula: warn when git-log takes very long
2017-03-23 08:39:28 +00:00
Mike McQuaid
f59eb358c2
missing_formula: subsume historic logic.
...
These methods belong together so combine them in a single class to
provide a simpler API.
2017-03-20 20:37:12 +01:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00