232 Commits
Author SHA1 Message Date
Mike McQuaidandGitHub 7ec6d41a1d Revert "formula: remove OnOS." 2022-02-24 12:31:32 +00:00
Mike McQuaidandGitHub a92b86de0f Merge pull request #12912 from Homebrew/formula_remove_include_on_os
formula: remove `OnOS`.
2022-02-24 08:44:30 +00:00
Mike McQuaid 73951a01fc formula: remove OnOS. 2022-02-22 10:19:09 +00:00
Mike McQuaid a2a8ba0c11 formula, cask: deprecate use of Enumerable methods e.g. each. 2022-02-22 09:14:55 +00:00
Mike McQuaid 3a709d36b2 Start process to remove Enumerable from Formula and Cask::Cask.
This is the first step to address
https://github.com/Homebrew/brew/issues/11292.
2022-01-03 14:59:10 +00:00
Mike McQuaid 30a65342e8 Deprecate, disable, delete code for Homebrew 3.2.0
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Mike McQuaid d5733a4133 Remove some premature odisabled
See https://github.com/Homebrew/brew/pull/11075#discussion_r610602507
2021-04-09 14:12:40 +01:00
Mike McQuaid d73351251c Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Markus Reiter ab04cfed83 Improve _fetch compatibility layer. 2021-04-03 20:14:13 +02:00
Markus Reiter 59f4a711cd Deprecate _fetch without timeout option. 2021-04-03 20:10:33 +02:00
Markus Reiter b6ed8915e5 Add compatibility layer for AbstractDownloadStrategy#fetch. 2021-04-03 20:10:33 +02:00
Mike McQuaid 74fb058c7e More deprecations
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
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 McQuaidandGitHub 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 91b4d45070, reversing
changes made to c989011325.
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 McQuaidandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 556b339c4f Merge pull request #5137 from amancevice/fix-deprecated-s3-download-strategy
Fix to deprecated S3DownloadStrategy
2018-10-20 12:41:55 +01:00