Bo Anderson
9297b18aa6
Add SDK availability diagnostic
2020-07-01 16:07:14 +01:00
Mike McQuaid
4e10341277
Merge pull request #7752 from SMillerDev/cask/readall
...
Support casks in readall
2020-07-01 12:19:30 +01:00
rmnull
35328ed535
[draft] refactoring keg_relocate to use ELFShim#interpreter instead of .with_interpreter?
2020-06-26 05:34:41 +05:30
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
...
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Mike McQuaid
b39a3ca02f
os/mac/utils/bottles: support ARM bottles.
...
This will be eventually needed for Big Sur.
2020-06-24 12:00:56 +01:00
Bo Anderson
9788735eb2
Merge pull request #7809 from Bo98/macos-version-11
...
os/mac: fix for major versions other than 10
2020-06-23 18:50:58 +01:00
Mike McQuaid
6f1970fd24
Fix more 10.x hardcodings.
2020-06-23 17:10:07 +01:00
Mike McQuaid
11c875d747
macOS Big Sur tweaks
...
- output warnings when running on ARM
- require Xcode 12
- use 11.0 as the version number
2020-06-23 14:11:05 +01:00
William Woodruff
acbb213977
mac/hardware: cpu: Use ruby-macho's Intel constant
2020-06-22 21:56:39 -04:00
Misty De Meo
6a3f18b0ae
OS::Mac::CPU: add Apple Silicon
...
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
2020-06-22 12:20:06 -07:00
Michka Popoff
a5025e9a9f
Merge pull request #7751 from iMichka/shared
...
formulae: add generic shared_library_extension
2020-06-22 18:25:35 +02:00
Michka Popoff
955bca6574
formule: add generic shared-lib methods
...
We have strings containing hardcoded ".dylib" extensions in homebrew-core.
To be able to bring linuxbrew-core and homebrew-core closer together,
I am introducing a new generic attribute that can be used in formulae.
2020-06-20 23:14:18 +02:00
Bo Anderson
cd0c3fa835
extend/pathname: use Java.overridable_java_home_env in write_jar_script
2020-06-19 12:04:30 +01:00
Bo Anderson
c244e992af
extend/pathname: add args argument to write_env_script
2020-06-19 12:04:26 +01:00
Bo Anderson
cd93d4e38a
language/java: add support for OpenJDK formula
2020-06-19 11:46:31 +01:00
Sean Molenaar
3f6d3e5cf0
Support casks in readall
2020-06-18 20:15:07 +02:00
Alexander Bayandin
4d27c32d44
Revert "Merge pull request #7722 from Bo98/java-improvements"
...
This reverts commit 91b4d450703bcc2de6dce22eb5fdecb5a843f92e, reversing
changes made to c98901132595178b6261cbe2d51ab732dd77dac4.
2020-06-18 12:23:02 +01:00
Mike McQuaid
91b4d45070
Merge pull request #7722 from Bo98/java-improvements
...
language/java: add support for OpenJDK
2020-06-12 10:47:18 +01:00
Michka Popoff
1f8ebf5d20
resource: allow on_os blocks
2020-06-10 19:29:04 +02:00
Bo Anderson
07547e8cae
extend/pathname: use Java.overridable_java_home_env in write_jar_script
2020-06-10 17:08:41 +01:00
Bo Anderson
bbb2696742
language/java: add support for OpenJDK formula
2020-06-10 17:08:38 +01:00
Bo Anderson
d56c6b31a0
language/java: deprecate java_home_cmd
2020-06-10 15:11:56 +01:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
...
Companion to https://github.com/Homebrew/brew/pull/7698 .
Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Issy Long
8eba9b86ab
Change occurrences of "blacklist" to "denylist" or "disallow"
...
- Depending on context, I've gone for either "denylist" or "disallow"
here. "Disallow" for things in sentences, or actions, and "denylist"
for list of things.
2020-06-06 22:38:33 +01:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist"
2020-06-06 22:38:32 +01:00
Misty De Meo
613c397b34
ENV: SDK can be nil
2020-06-04 17:38:25 -07:00
Mike McQuaid
3663e9d5d1
os/mac/keg_relocate: handle libexec/lib.
...
We can fix up libraries in `lib` not `libexec/lib` so add an extra check
for that case.
Inspired by https://github.com/Homebrew/homebrew-core/pull/53790#issuecomment-637622329
2020-06-02 16:35:36 +01:00
Mike McQuaid
aa81982aba
brew style --fix
2020-06-02 09:49:23 +01:00
rmnull
39c572b546
Instructions to install patchelf, when development tools cant locate patchelf.
2020-05-28 00:34:02 +05:30
Mike McQuaid
ef95b59ed4
Remove HomebrewArgvExtension
...
Fixes #5730
2020-05-23 19:39:11 +01:00
Mike McQuaid
bc27e38f18
Remove ARGV.debug?
...
Replace with `Homebrew.args.debug?`.
Part of #5730 .
2020-05-23 14:38:58 +01:00
Mike McQuaid
e1f3c8d2b3
Merge pull request #7579 from MikeMcQuaid/deprecations
...
Update deprecations
2020-05-23 14:38:10 +01:00
Mike McQuaid
64602bc8ef
Merge branch 'master' into argv-env
2020-05-23 14:10:44 +01:00
Mike McQuaid
d5ff4f5327
Remove ARGV.env
...
Replace with `Homebrew.args.env`.
Part of #5730 .
2020-05-23 13:49:38 +01:00
Mike McQuaid
e5d15c8b19
Merge branch 'master' into argv-cleanup-26
2020-05-23 13:44:42 +01:00
Mike McQuaid
0ea2c5f15b
os/mac/diagnostic: suggest untapping phinze/cask.
...
As seen in https://github.com/Homebrew/brew/issues/7605 .
2020-05-20 10:05:23 +01:00
Mike McQuaid
3588e6a5c6
bottle_arch: ensure a symbol is used when needed.
...
Fixes #7597 .
2020-05-19 08:47:59 +01:00
Mike McQuaid
4f75a77b08
Update deprecations
...
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections.
2020-05-12 08:32:27 +01:00
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
1c656fb584
Merge pull request #7538 from MikeMcQuaid/bottle_arch
...
Replace ARGV#bottle_arch with Homebrew.args.bottle_arch
2020-05-11 08:46:57 +01:00
Mike McQuaid
5f721c6986
Cleanup ARGV.include? usage
...
Remove usage where `Homebrew.args` could be used instead or, due to the
`Homebrew.args` parsing, there was dead code that was never executed
(and no-one complained about not working).
2020-05-10 15:28:31 +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
2b224a66a5
os/mac/diagnostic: check for deprecated cask taps.
...
We keep seeing users popping up with these (#7449 ) so advise an untap.
2020-05-08 09:18:55 +01:00
Mike McQuaid
20a1199375
Refactor CLI to remove unless args_parsed
...
Refactor the CLI::Args module so it doesn't have different paths to
check arguments depending on whether the arguments have been parsed or
not. Instead, set the values we need from the global ARGV at
first, global initialisation time where they will be thrown away when
the actual arguments are parsed.
To do this some other general refactoring was needed:
- more methods made private when possible
- e.g. `HEAD?` used consistently instead of `head` before arguments
are parsed.
- formula options are only parsed after named arguments are extracted
2020-05-05 17:47:51 +01:00
Bo Anderson
16141e7eff
os/mac/software_spec: fix argument error in valid use case
2020-05-04 17:16:39 +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
b40e33aeb8
ARGV: Deprecate ARGV.cc and replace with Homebrew.args.cc
2020-05-04 11:14:55 +05:30
Gautham G
66ac96acde
ARGV: Depercate ARGV.flags_only and replace with Homebrew.args.flags_only
2020-05-03 13:55:51 +05:30