Mike McQuaid
35e487064e
Merge pull request #7537 from MikeMcQuaid/cli_parser_formulae
...
Replace ARGV#flags_only with Homebrew.args.flags_only
2020-05-11 08:47:12 +01:00
Mike McQuaid
07b19cba09
Replace ARGV#bottle_arch with Homebrew.args.bottle_arch
...
Part of https://github.com/Homebrew/brew/issues/5730
2020-05-10 15:15:41 +01:00
Mike McQuaid
fa0d454817
Replace ARGV#flags_only with Homebrew.args.flags_only
...
Take two on https://github.com/Homebrew/brew/pull/7490
2020-05-10 15:12:25 +01:00
Mike McQuaid
ae353ff42e
Revert "ARGV: Deprecate ARGV.flags_only and replace with Homebrew.args.flags_only"
2020-05-04 11:12:25 +01:00
Gautham G
66ac96acde
ARGV: Depercate ARGV.flags_only and replace with Homebrew.args.flags_only
2020-05-03 13:55:51 +05:30
Gautham G
38c24d134c
ARGV: Deprecate ARGV.casks and replace with Homebrew.args.casks
2020-05-02 13:21:16 +05:30
Gautham G
f6abc6fe19
ARGV: Deprecate ARGV.formulae, replace with Homebrew.args.formulae
2020-05-01 22:50:59 +05:30
Gautham G
b0ac5bab31
ARGV: Deprecate ARGV.build_bottle? and replace with Homebrew.args.build_bottle
2020-04-26 13:28:44 +01:00
Gautham G
676ebf7419
ARGV: Deprecate ARGV.force_bottle?
2020-04-20 16:45:43 +01:00
Gautham G
2bdbca1280
Revert "Merge pull request #7289 from Homebrew/revert-7279-argv-cleanup-18"
...
This reverts commit 64fd839c955b3c32855067d26fed7daf65183877, reversing
changes made to 6f50801b37b7d829afc37da76d2ef0a1ac1c9f5f.
2020-04-11 18:50:24 +05:30
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Gautham Goli
ad7e1d48a5
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?"
2020-04-05 23:01:57 +05:30
Gautham G
602cb7e636
ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?
2020-04-05 16:47:47 +05:30
Mike McQuaid
8975dfb6ff
Merge pull request #7238 from Homebrew/dependabot/bundler/Library/Homebrew/unf_ext-0.0.7.7
...
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
2020-03-29 19:36:51 +01:00
Gautham G
7ad6dab288
ARGV: Deprecate ARGV.collect_build_args
2020-03-28 21:00:59 +05:30
Mike McQuaid
996773a948
Merge pull request #7176 from GauthamGoli/argv-cleanup-14
...
ARGV: Deprecate ARGV.ignore_deps?
2020-03-16 13:02:42 +00:00
Gautham G
9d3951dc4c
ARGV: Deprecate ARGV.ignore_deps?
2020-03-15 19:05:09 +05:30
Gautham G
badcaa15e4
ARGV: Deprecate ARGV.keep_tmp?
2020-03-15 13:24:48 +00:00
Gautham G
fde11efdf3
ARGV: Deprecate ARGV.git?
2020-03-15 18:32:21 +05:30
Gautham G
1292c4559c
ARGV: Deprecate ARGV.interactive?
2020-03-15 16:28:04 +05:30
Mike McQuaid
495daf0aee
extend/ARGV: remove/private unused methods.
2020-03-05 09:25:14 +00:00
Gautham Goli
1f9563f4bc
ARGV: Deprecate ARGV.quieter?
2020-02-04 18:53:33 +02:00
Gautham Goli
de9295cc7a
Merge pull request #6939 from Homebrew/argv-cleanup-8
...
ARGV: Replaces usages of ARGV.force? with Homebrew.args.force?
2020-01-15 21:25:36 +05:30
Gautham Goli
161c3fb6a4
ARGV: Replaces usages of ARGV.force? with Homebrew.args.force?
2020-01-15 21:09:31 +05:30
Mike McQuaid
d50a8c4e41
ARGV: delete/make private some more methods.
2020-01-02 14:07:07 +00:00
Gautham Goli
cebf6f3833
ARGV: Deprecate ARGV#resolved_formulae
2020-01-02 13:56:19 +00:00
Mike McQuaid
674259d691
extend/ARGV: remove unused HOMEBREW_BUILD_BOTTLE.
2019-12-30 10:34:43 +00:00
Zach Auten
fd429d0d75
Moved kegs from ARGV to args.rb
2019-11-09 11:56:47 -05:00
Zach Auten
ecc7b9e174
cask_reason will suggest brew cask uninstall
2019-07-31 00:31:12 -04:00
Misty De Meo
5ab34abd17
Bottles: allow skipping or_later tags
...
This is a developer-only feature, so it's gated via `HOMEBREW_DEVELOPER`.
This is intended to enable testing of macOS 10.15; users building software
manually to test compatibility of early betas need to be able to build
software from source instead of via pouring 10.14 bottles. This isn't
intended to be a general-purpose `HOMEBREW_BUILD_FROM_SOURCE` replacement,
and has no effect on released versions of macOS.
2019-06-06 10:14:10 -07:00
Mike McQuaid
cd40af2c58
ARGV: fix build_head? call.
...
Fixes #6087 .
2019-05-02 08:16:55 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
18630c7032
extend/ARGV: remove unused methods.
2019-04-17 21:08:26 +09:00
Mike McQuaid
cee75b6af2
ARGV: freeze when using CLI::Parser.
...
Otherwise `Homebrew.args` values may not match those of modified `ARGV`.
2019-02-18 16:56:43 +00:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
...
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Mike McQuaid
e1eb4710e4
extend/ARGV: don't warn on --build-arch=.
...
Fixes #5504 .
2019-01-08 19:24:00 +00:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Markus Reiter
3a0a9f9073
Add String#delete_prefix
backport.
2018-09-16 20:07:34 +02:00
Markus Reiter
769d89dead
Resolve formulae in brew cleanup
.
2018-09-11 17:44:39 +02:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
6417332a3a
Change Mojave bottle behaviour
...
Rather than relying on a `HOMEBREW_FORCE_BOTTLE` variable (which ends
up doing silly things like forcing bottle usage even when options are
provided) instead handle this at the `or_later` bottle detection
level so on prerelease versions of macOS any bottle looks like an
`or_later` bottle (unless various environment variables are set).
Fixes issues noted in:
https://github.com/Homebrew/brew/pull/4520#issuecomment-407229605
2018-07-24 09:25:32 +01:00
Mike McQuaid
3e93d4c6cf
Add HOMEBREW_FORCE_BOTTLE variable
...
This does the equivalent of always passing `--force-bottle`. This will
be enabled by default on Mojave to allow people to avoid building
everything from source until our porting and bottling is a bit further
along.
2018-07-20 14:28:14 +01:00
Andrew Janke
0a2d8c3d4d
Add --display-times option to install
, reinstall
, and upgrade
2018-07-14 11:06:03 -04:00
Gautham Goli
164f47a108
irb: Use Parser to parse args
2018-03-24 22:18:50 +05:30
Mike McQuaid
82e82b7fbc
install: add --include-test option.
...
Allow at `install` (or `install --only-dependencies`) time to specify
that test dependencies should be installed. This will allow simplifying
code in `brew test-bot`.
This could also be made an environment variable if desired by
maintainers.
2018-03-15 13:37:34 +00:00
Mike McQuaid
2205f62ec6
irb: add pry support.
...
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-28 11:36:23 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Mike McQuaid
01e9ec9a9f
Rubocop: automatic rule fixes.
2017-09-24 21:23:59 +01:00
Josh Soref
44c56cd9a8
spelling: separated
2017-09-10 16:42:10 +00:00