3339 Commits

Author SHA1 Message Date
Markus Reiter
42e34db562 Always add cask/lib to $LOAD_PATH. 2018-06-07 18:42:30 +02:00
Markus Reiter
cc93997fb7 Refactor search_taps. 2018-06-07 14:02:31 +02:00
Markus Reiter
0dfad30fb1 Only suggests formulae in brew install. 2018-06-07 14:02:31 +02:00
Markus Reiter
717032d86d Use Searchable module. 2018-06-07 14:02:31 +02:00
Markus Reiter
6fcc5d14de Simplify strings for search. 2018-06-07 13:50:10 +02:00
Markus Reiter
dd8370a9fa Move shared search logic into Homebrew::Search module. 2018-06-07 13:50:10 +02:00
Markus Reiter
49619b09ea Refactor package manager loop. 2018-06-07 13:48:35 +02:00
Markus Reiter
8b33fbef51 Refactor search_taps to return Formulae and Casks separately. 2018-06-07 13:48:35 +02:00
Markus Reiter
9e807f8fe4 Refactor query_regexp. 2018-06-07 13:48:35 +02:00
Markus Reiter
b2c85ad945 Refactor search. 2018-06-07 13:48:35 +02:00
Andrew Janke
8b55cb5ecb Refactor commands to remove "require cmd/help" 2018-06-07 04:59:59 -04:00
Andrew Janke
996825dd27 Split out rspec-specific Rubocop config to fix warning 2018-06-07 00:23:44 -04:00
Gautham Goli
fba52e2f74 cli_parser: Store parsed args in Homebrew.args and access args everywhere else 2018-05-30 00:05:39 +05:30
Mike McQuaid
f8f77ea52d cmd/list: add common ls options.
We need to manually specify these now so let's add a few that we'd
either previously documented or we've caught being used in the wild and
adjust the documentation accordingly.
2018-05-29 18:45:46 +01:00
Mike McQuaid
67db701ae5
Merge pull request #4067 from maxim-belkin/fix-multiple
list.rb: use CLI::Parser and improve handling of flags
2018-05-28 20:52:03 +01:00
Markus Reiter
d1fb1d2abc Use simpler check. 2018-05-25 22:47:41 +02: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
54834ccbe3 Move repo_var method to Tap class. 2018-05-25 16:21:37 +02:00
Maxim Belkin
f7e308ab44
list.rb: use new syntax correctly 2018-05-25 06:17:40 -05:00
Maxim Belkin
288c9c6dc7
list.rb: new syntax for multiple + versions flags 2018-05-25 06:17:40 -05:00
Maxim Belkin
da66bf96b7
list.rb: use CLI::Parser to better handle args
* --multiple now assumes --versions
* Use CLI::Parser (that, in turns, uses OpenStruct) to handle arguments
2018-05-25 06:17:40 -05:00
Mike McQuaid
5c3ec3e7ca
Merge pull request #4174 from reitermarkus/cask-tap-migration
Add compatibility layer for handling Cask Tap migration.
2018-05-21 14:45:14 +01:00
Markus Reiter
c53a52daee Move --version logic into cmd/--version.rb. 2018-05-21 05:35:44 +02:00
Markus Reiter
b4de801a01 Support both Homebrew and caskroom for now. 2018-05-21 01:43:49 +02:00
Markus Reiter
73bffbaca6
Merge pull request #4178 from dougal/alphabetical-outdated-formulae-listing
Alphabetize the `brew outdated` formula listing.
2018-05-16 19:13:06 +02:00
Douglas F Shearer
c808424499 Adjust alignment of select and sort. 2018-05-16 13:41:40 +01:00
Douglas F Shearer
18b362aa96 Alphabetize the brew outdated formula listing.
Sorts by `Formula#<=>`.

Includes updated test example.
2018-05-16 13:01:12 +01:00
Mike McQuaid
4ebccf79a8
Merge pull request #4159 from mrfoto/move-post-installer
Move post_install from cmd to FormulaInstaller
2018-05-12 09:50:29 -04:00
Miha Rekar
ca141caec2
Move post_install from cmd to FormulaInstaller 2018-05-12 14:03:37 +02:00
Miha Rekar
ae64e242c0
Remove cmd/tap requirement because it's no longer used 2018-05-12 13:06:11 +02:00
Shaun Jackman
1d4862c846 vendor-install: Add portable-ruby bottle for ARM 2018-05-05 22:26:57 -07:00
Shaun Jackman
23ac5949d0 vendor-install: Fix portable-ruby bottle filename 2018-05-05 22:26:57 -07:00
Mike McQuaid
d0cc8823b4 portable-ruby 2.3.3_2
Now with a working DBM on Linux.
2018-05-03 09:06:32 +01:00
Mike McQuaid
f4e2432284 portable-ruby: increase to 2.3.1_1.
Install the latest Ruby from:
https://github.com/Homebrew/homebrew-portable-ruby/pull/55

This updates ncurses and openssl as well as more closely matching the
Apple's ruby build options.

Notably, this includes the DBM support needed for #3720.
2018-04-30 08:43:43 +01:00
Markus Reiter
5195e72242
Merge pull request #4064 from elyscape/tap-autoupdate
Support enabling auto-updates for non-GitHub taps
2018-04-24 20:54:08 +02:00
Eli Young
8734848829 Support enabling auto-updates for non-GitHub taps 2018-04-24 11:10:48 -07:00
Markus Reiter
16fb563d49 Refactor MissingFormula spec. 2018-04-20 19:11:22 +02:00
Steven Peters
2adfb77cd8 missing: exit nonzero if missing deps are found 2018-04-12 22:48:02 -07:00
Mike McQuaid
ae5e904c08 Only read curlrc if HOMEBREW_CURLRC is set.
This reverses the previous, incorrect order.
2018-04-09 15:43:03 -07:00
Mike McQuaid
99b89e4866
Merge pull request #4022 from stefansundin/disable-curlrc
Tell curl to not use .curlrc
2018-04-08 16:37:49 -07:00
Mike McQuaid
54a594ea23
Merge pull request #3870 from GauthamGoli/bump-formula-gh-api
bump-formula-pr: Replace `hub` with GH API calls
2018-04-08 16:02:51 -07:00
Mike McQuaid
0bd5869319 Add/use HOMEBREW_CURLRC variable. 2018-04-08 15:51:58 -07:00
Mike McQuaid
c73e873893
Merge pull request #4027 from SENG480-18/master
Simplify `search_taps` method and handle errors
2018-04-08 23:17:51 +01:00
Mike McQuaid
cffa5a9864 Disable/delete/add more deprecations
Move various `odeprecated` to `odisabled` and delete uses of
`odisabled`.
2018-04-08 14:57:17 -07:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Stevie Howard
d74721acc7
More granular 'brew search' query == simpler code 2018-04-06 23:14:30 -07:00
Stevie Howard
296d48ba7a
Handle error when 'brew search' can't reach GitHub 2018-04-06 22:12:29 -07:00
Stefan Sundin
0ec47813f1 Prevent .curlrc from being loaded. 2018-04-06 14:13:26 -07:00