30 Commits

Author SHA1 Message Date
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