220 Commits

Author SHA1 Message Date
Markus Reiter
5be4c9b5e0 Upgrade typed sigils. 2020-11-25 17:04:19 +01:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.

Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Markus Reiter
5bc626bbe1 Completely deprecate Homebrew.args. 2020-11-11 08:52:55 +01:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Markus Reiter
61b79318ed Move include Kernel into .rbi files again and split up existing .rbi files. 2020-10-10 19:10:58 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Mike McQuaid
2c2b7ef2a6 compat/formula: re-add super.
I missed the `respond_to?(:patches)` here which broke patches.
2020-09-03 13:28:22 +01:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Seeker
5def0701ba formula: rename opt_or_installed_prefix_keg to any_installed_keg 2020-09-01 09:39:20 -07:00
Seeker
1f6bb52d3d formula: deprecate installed_prefix and installed_version 2020-09-01 09:33:24 -07:00
Mike McQuaid
8b97c27c21 brew style manual fixes 2020-09-01 14:26:45 +01:00
Markus Reiter
1535892818 Don't deprecate Homebrew.args.value yet. 2020-08-06 16:28:07 +02:00
Markus Reiter
536c963274 Deprecate global Homebrew.args. 2020-08-06 16:14:07 +02:00
Mike McQuaid
fab1009c00
Revert "Deprecate global Homebrew.args." 2020-08-06 11:09:20 +01:00
Markus Reiter
86359c4c91 Implement Homebrew.args compatibility layer. 2020-08-04 23:18:07 +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
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
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
d56c6b31a0 language/java: deprecate java_home_cmd 2020-06-10 15:11:56 +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
fc5ffe98d3
Merge pull request #7582 from Bo98/accessibility-compat
os/mac: move legacy functions to compat
2020-05-18 09:13:38 +01:00
Bo Anderson
e03846720c language/haskell: move to compat 2020-05-16 15:00:09 +01:00
Bo Anderson
c70bb474e3 os/mac: move legacy functions to compat 2020-05-16 14:52:30 +01:00
Bo Anderson
32ab83d055 language/python: move rewrite_python_shebang to compat 2020-03-27 22:27:06 +00:00
Mike McQuaid
5dd8ead51a
Rename Formula#installed? to Formula#latest_version_installed?
This naming has always been a bit weird and confusing so let's change
it and provide a `compat` fallback for later deprecation.
2019-12-03 11:42:42 +00:00
Mike McQuaid
176297d361
Handle 2.2.0 deprecations/disableds
- Make all `odeprecated` from 2.1.0 `odisabled` instead
- Remove dead code that won't be run now
- Remove (unused) `or_later` handling for bottles
2019-11-06 15:25:40 +00:00
Markus Reiter
16d2f8264c Use MacOSRequirement for casks. 2019-08-21 06:57:21 +02:00
Mike McQuaid
47c886117b
compat: add missing frozen string literals.
These weren't added yet due to CI being run at different times to
merges.
2019-04-23 09:42:36 -07:00
Markus Reiter
ce15622584 Add *_to_slashes methods to compat. 2019-04-20 23:58:48 +02:00
Mike McQuaid
d12e39633c
Remove odisabled. 2019-04-01 15:07:50 +01: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
Jonathan Chang
85b65e977e compat: correct MacOS.prefer_64_bit? deprecation 2019-01-09 18:07:16 -05:00
Mike McQuaid
170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
b0198d097e
os/mac/utils/bottles: handle Linux bottles.
These are an invalid argument on macOS but still need to be handled.
2018-10-24 11:54:56 +01:00
Mike McQuaid
fc418fd333
More deprecated/disabled updates
- remove odisabled
- move odeprecated to odisabled
2018-10-24 10:40:39 +01:00
Mike McQuaid
5bea36799b
compat/requirements: add odeprecated.
These can be enabled now Homebrew/homebrew-core has been fixed
(in https://github.com/Homebrew/homebrew-core/pull/32968).
2018-10-23 11:09:04 +01:00
Mike McQuaid
0e574eb44e
Merge pull request #5138 from MikeMcQuaid/download_strategy_deprecate_naming_update
compat/download_strategy: improve messaging.
2018-10-20 13:01:20 +01:00
Mike McQuaid
556b339c4f
Merge pull request #5137 from amancevice/fix-deprecated-s3-download-strategy
Fix to deprecated S3DownloadStrategy
2018-10-20 12:41:55 +01:00
Mike McQuaid
9272579593
compat/download_strategy: improve messaging.
This should make it clearer how you can maintain this yourself (as well
as being a better fit with `odeprecated`'s output).
2018-10-20 12:34:13 +01:00
Mike McQuaid
99749cbe9c
Merge pull request #5101 from MikeMcQuaid/requirements_cleanup
Cleanup Requirements
2018-10-20 12:13:26 +01:00
Alexander Mancevice
2e7758b4e9 Fix to deprecated S3DownloadStrategy
Remove references to removed require_aws_sdk method
See commit: 599ecc9b5ad7951b8ddc51490ebe93a976d43b29
2018-10-19 15:40:15 -04:00
Mike McQuaid
0c0275771d
Cleanup Requirements
- remove unused NonBinaryOsxfuseRequirement
- import CodeSignRequirement from Homebrew/homebrew-core
- remove unused UnsignedKextRequirement
- don’t allow custom name for X11Requirement
2018-10-19 16:38:41 +01:00
Mike McQuaid
599ecc9b5a
Deprecate unused download strategies
Download the unused, private download strategies. These are a better fit
for being declared in the formulae and/or taps that use them rather than
in Homebrew/brew where they are unused by Homebrew maintainers or
official taps/formulae.
2018-10-19 10:48:52 +01:00
Markus Reiter
711bb4977f
Merge pull request #5056 from reitermarkus/accessibility_access
Remove the `accessibility_access` stanza.
2018-10-08 18:24:18 +02:00
Markus Reiter
a9128c543c Use ActiveSupport’s #days. 2018-10-07 23:10:56 +02:00
Markus Reiter
59e3a532ff Remove the accessibility_access stanza. 2018-10-07 21:53:31 +02:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Markus Reiter
a84a1c63db Rename Hbc module to Cask. 2018-09-06 09:30:52 +02:00
Markus Reiter
ac2cd67861 Deprecate brew cask --version. 2018-09-06 07:05:22 +02:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd. 2018-09-04 09:56:58 +01:00