197 Commits

Author SHA1 Message Date
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
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd. 2018-09-04 09:56:57 +01:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00
Markus Reiter
89dd608766 Deprecate gpg stanza. 2018-09-03 20:47:52 +02:00
JBallin
6ecf2d8831 Fix brew cleanup backtick in brew cask cleanup deprecation message 2018-08-13 14:31:21 -07:00
Markus Reiter
6a581159e6
Merge pull request #4670 from reitermarkus/disable-cask-search
Disable `brew cask search` the same time as `brew cask cleanup`.
2018-08-13 20:57:13 +02:00
Markus Reiter
990dd7de86 Disable brew cask search the same time as brew cask cleanup. 2018-08-13 20:12:52 +02:00
Markus Reiter
55cde526a8 Deprecate brew cask cleanup. 2018-08-13 20:09:34 +02:00
Mike McQuaid
5c6ef3d920 Disable more deprecations.
- Turn more old `odeprecated` into `odisabled`
- Remove more old `odisabled`
- Remove code for older Ruby versions
2018-07-14 16:00:50 +01:00
Mike McQuaid
0a76c9f02e mktemp: move to Formula and compat.
Move this method away from FileUtils as it doesn't need to be on that
class.
2018-07-13 14:42:49 +01:00
Markus Reiter
6a44c529e5 Readd functionality to list all casks. 2018-06-23 01:54:07 +02:00
Markus Reiter
8c620d8b97 Redirect brew cask search to brew search. 2018-06-18 16:23:35 +02:00
Markus Reiter
3d423b0587 Add path method to Caskroom and Cache. 2018-06-09 09:52:48 +02:00
Markus Reiter
0cb960951f Fix tap unavailable error for migrated Cask taps. 2018-05-29 10:57:33 +02:00
Markus Reiter
df2a40d207 Use remote instead of path.git_origin. 2018-05-25 22:54:34 +02:00
Markus Reiter
50a43cf678 Reset repo_var in clear_cache. 2018-05-25 22:47:31 +02:00
Markus Reiter
27f1613cd3 Reset repo_var so it actually is re-computed. 2018-05-25 18:02:12 +02:00
Markus Reiter
7b017b6ca9 Add compatibility layer for brew update revisions. 2018-05-25 16:22:46 +02:00
Markus Reiter
8895acf059 Activate Homebrew-Cask tap migration. 2018-05-25 15:55:28 +02:00
Markus Reiter
deaa8bf003 Use module Compat style. 2018-05-21 01:43:49 +02:00
Markus Reiter
c623b0295c Use ... instead of ellipsis and only output if TTY. 2018-05-21 01:43:49 +02:00
Markus Reiter
b109e6da5d Handle Tap migration in Tap#initialize. 2018-05-21 01:43:49 +02:00
Markus Reiter
ff8d14fe2a Add compatibility layer to convert caskroom/* to homebrew/cask(-*). 2018-05-21 01:43:49 +02:00
Markus Reiter
5b7831f06f Use module Compat for everything. 2018-05-18 13:35:41 +02:00