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
Mike McQuaid
9201fbde82
Merge pull request #3694 from MikeMcQuaid/more-odisabled
...
Disable and add more deprecations.
2018-01-18 15:29:40 +00:00
Mike McQuaid
77f1768108
Disable and add more deprecations.
...
These have all been deprecated/compat for a while.
2018-01-18 09:47:33 +00:00
Mike McQuaid
e5c82dd3d9
Deprecate requirements harder
...
Remove more Requirement logic to enable future removal of default
formula logic. Also, output deprecations, convert symbol requirement
usage to deps and simplify the compatibility code for the direct
Requirement usage.
2018-01-18 08:31:20 +00:00
Mike McQuaid
892e1b5b4f
Merge pull request #3652 from MikeMcQuaid/add-more-deprecations-disables
...
Add more deprecations, disable some existing ones.
2018-01-18 08:29:56 +00:00
Mike McQuaid
27be33b245
Deprecate Git, Subversion requirements.
...
These rely on `default_formula` to be useful and are better following
the `*_dep_if_needed` pattern.
2018-01-10 13:19:50 +00:00
Mike McQuaid
2cbce1fbf0
Add more deprecations, disable some existing ones.
...
Add more `odeprecated` calls to places that have been deprecated for a
while in the wild and move some of the existing `odeprecated` calls to
be `odisabled` to allow deleting the compatibility code.
2018-01-09 19:52:34 +00:00
Mike McQuaid
d54e670a64
requirements: move more to compat.
2017-12-30 20:56:55 +00:00
Mike McQuaid
faf2182495
gpg: move to compat.
2017-12-30 20:56:54 +00:00
Mike McQuaid
38ce994007
Deprecate more requirements.
...
These are ones that were either already deprecated due to audit rules
or are just a simple `which` with a `default_formula` so should just
be a dependency.
2017-12-23 16:53:25 +00:00
Markus Reiter
9d1573c040
Fix unused variable.
2017-12-03 10:10:54 +01:00
Markus Reiter
e4bb09dd40
Remove unused writer methods for Hbc.caskroom
and Hbc.cache
.
2017-12-03 09:58:01 +01:00
Markus Reiter
96733bcb2e
Support environment filtering in Casks.
2017-12-02 00:10:55 +01:00
Mike McQuaid
195f77abb0
MACOS_*VERSION: move to compat.
2017-11-05 15:40:46 +00:00
Markus Reiter
2eb366ff38
Fix SystemCommand
without arguments.
2017-10-30 22:04:54 +01:00
Markus Reiter
487bec9570
Move String#undent
to compat
.
2017-10-18 14:39:09 +02:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Shaun Jackman
230c87aff0
Rename MinimumMacOSRequirement to MacOSRequirement
...
Move MinimumMacOSRequirement to compat.
2017-10-17 16:16:44 -07:00
ilovezfs
82afe5d7f7
fileutils: deprecate rake DSL
...
superenv and the `:ruby` requirement make a `rake` DSL unnecessary.
2017-10-13 02:01:28 -07:00
Josh Soref
ce45591981
spelling: perform
2017-09-10 16:40:18 +00:00
Dominyk Tiller
0cb6307f2d
ENV: move java_cache to compat for future hard deprecation
2017-08-31 21:04:42 +01:00
Markus Reiter
c26c9204fa
Merge pull request #2965 from reitermarkus/cask-tap
...
Detect `Tap` in `CaskLoader`.
2017-08-05 16:54:26 +02:00
Markus Reiter
6d6ce7cf0a
Detect Tap
in CaskLoader
.
2017-07-30 14:22:05 +02:00
Markus Reiter
9578e2995a
Move Hbc::DSL#license
to compat
.
2017-07-21 10:50:10 +01:00
Mike McQuaid
2d18ba586b
Enable more deprecations.
...
It's been long enough that these have been commented out so let's
enable them globally.
2017-07-21 10:50:07 +01:00
Mike McQuaid
7a38bab333
Fixup all RuboCop warnings.
2017-05-29 18:43:18 +01:00
Markus Reiter
68a513083e
Also move --binarydir
to compat/*
.
2017-05-24 23:54:36 +02:00
Markus Reiter
0bb2773b17
Deprecate --caskroom
flag.
2017-05-24 23:54:36 +02:00
Markus Reiter
acc7309ca3
Rename Base
and InternalUseBase
.
2017-05-22 02:51:17 +02:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Markus Reiter
d1995dad4b
Use a Formulary
-like approach to load Casks.
2017-03-16 12:10:19 +01:00
Markus Reiter
3bd4349e8e
Migrate legacy Caskroom.
2017-03-12 00:35:09 +01:00
Markus Reiter
44d367edca
Deprecate #plural
.
2017-03-11 21:16:37 +01:00
Markus Reiter
76e65ca070
Move legacy cache and caskroom code to compat/*
.
2017-03-07 00:31:01 +01:00
Markus Reiter
0802ad734f
Simplify CaskLoader
.
2017-02-03 22:00:28 +01:00
Mike McQuaid
b1e27d689d
Merge pull request #1701 from MikeMcQuaid/deprecate-std-superenv-stuff
...
ENV: deprecate old methods.
2016-12-30 20:43:27 +00:00
Mike McQuaid
e50102d91e
ENV: deprecate old methods.
...
These should have been deprecated long ago but we didn’t really have
the necessary framework to do so.
2016-12-30 20:20:13 +00:00
Markus Reiter
c31f959ec1
Hide update
from brew cask help
.
2016-12-30 16:46:27 +01:00