Mike McQuaid
61a8c4d1fb
Merge pull request #4300 from apjanke/new-rubocop-version
...
Upgrade to Rubocop 0.57.2
2018-07-01 09:08:16 +01:00
Andrew Janke
e0a8a79921
Style fixes for Rubocop 0.57.1
2018-06-30 19:40:14 -04:00
Markus Reiter
e3bb004ad7
Merge pull request #4372 from reitermarkus/cask-search
...
Readd functionality to list all casks.
2018-06-30 02:40:39 +02:00
Mike McQuaid
1bf3aacc79
Merge pull request #4389 from MikeMcQuaid/bintray-portable-ruby
...
portable-ruby: respect HOMEBREW_BOTTLE_DOMAIN variable.
2018-06-29 20:07:11 +01:00
Mike McQuaid
facd76bc51
portable-ruby: respect HOMEBREW_BOTTLE_DOMAIN variable.
...
This was requested in:
https://discourse.brew.sh/t/adding-additional-download-sources-to-homebrew/2446
With this change you can use e.g. Artifactory for Homebrew's portable
ruby.
2018-06-29 19:51:18 +01:00
Jack Haden-Enneking
e63feb79f9
Simplify check before git install
...
No need to check for both variables, because they're always set together.
Also, this harmonizes with the CURL equivalent just above.
2018-06-26 11:14:32 -07:00
Jack Haden-Enneking
9fd5a92ff6
Implement HOMEBREW_FORCE_BREWED_GIT
...
Because of this messing with the user's path:
https://github.com/Homebrew/brew/blob/
efc02899c851c62c9ce0d15dea9a231575d7d774/bin/brew#L68
brew uses /usr/bin/git over brewed git, even when the former is
problematically old.
There may also be other reasons a user prefers to use brewed git.
There was already a HOMEBREW_FORCE_BREWED_CURL option and a
HOMEBREW_SYSTEM_CURL_TOO_OLD check to set it. This mostly copies those
to implement HOMEBREW_FORCE_BREWED_GIT & HOMEBREW_SYSTEM_GIT_TOO_OLD.
See also: https://github.com/Linuxbrew/brew/issues/736
2018-06-25 23:36:12 -07:00
Markus Reiter
6a44c529e5
Readd functionality to list all casks.
2018-06-23 01:54:07 +02:00
Markus Reiter
fcd75877c5
Update brew search
help.
2018-06-19 13:48:23 +02:00
Markus Reiter
b265d870ed
Allow searching Casks by name.
2018-06-18 16:23:36 +02:00
Markus Reiter
b21430b13c
Use extend/os
pattern.
2018-06-18 16:23:36 +02:00
Markus Reiter
1d629c6978
Don’t show Casks on Linux.
2018-06-18 16:23:35 +02:00
Markus Reiter
da193d2f7e
Merge brew cask search
into brew search
.
2018-06-18 16:23:35 +02:00
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