234 Commits

Author SHA1 Message Date
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
Markus Reiter
a6d9d45ec3 Clean up compat. 2018-05-17 19:13:37 +02:00
Mike McQuaid
9580afb222 formula_support: deprecate more keg_only reasons.
It's unnecessary extra complexity to have versions that are keg-only on
some versions of macOS and not others.

Initially this was to only do so on old versions of OS X and Xcode but
the discussion in https://github.com/Homebrew/brew/pull/4081 meant that
it made more sense to remove them all.
2018-04-17 11:17:18 +01:00
Markus Reiter
6714acc098 Add missing MacOS.release deprecation. 2018-04-15 15:49:37 +02:00
Mike McQuaid
9b8c30e0c8 compat/extend/string: fix odisabled return.
`odisabled` will still return for a formula in `.brew`. This means
`EOS.undent` returns `nil` and the formula cannot be parsed. Instead
return the actual string in this case to avoid e.g. patches blowing up
with `nil` strings.

Fixes #4049.
2018-04-11 16:16:30 -07:00
Mike McQuaid
3016658a08 compat/formula: remove patches.
This method was missed in #3896.
2018-04-09 08:09:18 -07:00
Mike McQuaid
cffa5a9864 Disable/delete/add more deprecations
Move various `odeprecated` to `odisabled` and delete uses of
`odisabled`.
2018-04-08 14:57:17 -07:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Mike McQuaid
d2c23bde6d Audit use of :run dependencies.
These are a no-op so let's remove them.
2018-03-19 10:11:08 +00:00
Mike McQuaid
70253f0009 Adjust docs and more internal code for Python 3.
Now we have `python` for Python 3 and `python@2` for Python 2 some more
adjustments need to be made.
2018-03-03 09:42:25 +00:00
Mike McQuaid
dd2288a5b2 dependency_collector: don't create symbol deps.
Need to convert this to a string first or things explode.
2018-02-21 08:49:13 +00:00
Mike McQuaid
ab00c0f719 compat/requirements: fix dependency names. 2018-01-21 13:39:14 +00:00
Alyssa Ross
78c829790d
Improve deprecation message for dependency tags
It took me a while to figure out what this deprecation actually did,
because the message wasn't accurate.
2018-01-18 21:16:19 +00:00
Alyssa Ross
8874d1fb13
prepend instead of alias hacks for deprecations 2018-01-18 21:08:41 +00:00