Douglas Eichelberger
89c7117b30
Resolve dependable_spec violation
2023-01-22 17:26:44 -08:00
Bo Anderson
9eac310468
Allow multiple macOS requirements
2022-11-09 01:19:46 +00:00
Bo Anderson
93647e5c98
requirement: require instances to use a subclass
2022-08-31 19:17:55 +01:00
Bo Anderson
f12442cce6
requirement: improve name detection of anonymous subclasses
2022-08-31 18:40:30 +01:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH
2022-06-17 19:47:57 +01:00
Bo Anderson
2ea7454efa
Fix Security/CompoundHash offences
2022-06-17 19:47:55 +01:00
Mike McQuaid
8b28731d33
requirement: tweak syntax.
2021-06-15 12:52:39 +01:00
Kid
a998c364f4
Reduce potential modifications to frozen string
2021-06-14 23:19:21 +08:00
Rylan Polster
70d020b6b3
requirement: don't merge formula and cask cache in ::expand
2021-05-31 02:46:45 -04:00
Bo Anderson
e49a338896
Implement caching for dependency expansion
2021-03-20 16:56:00 +00:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Markus Reiter
0184e271d8
Fix RuboCop offenses.
2020-11-17 11:09:55 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
212367c1c0
requirements: reword error messages for consistency
...
also add formatting to download URLs
2020-11-01 15:20:02 -05:00
EricFromCanada
635233b37e
requirements: reword inspect() to place tags at end
...
This more closely matches requirements' display in the DSL.
2020-11-01 15:20:02 -05:00
EricFromCanada
a232ac8b1e
requirements: improve display in brew info
2020-11-01 15:20:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
c975ff98a0
Document Requirement
.
2020-08-26 03:13:59 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
8d97029b03
Merge pull request #8084 from reitermarkus/cli-parser
...
Refactor usage of global `Homebrew.args`.
2020-07-30 11:44:12 +02:00
Mike McQuaid
4888a677c7
Merge pull request #8126 from MLH-Fellowship/integrate-deps
...
deps: Print cask dependencies
2020-07-30 10:20:30 +01:00
Markus Reiter
05365b5542
Pass args
more explicitly in FormulaInstaller
.
2020-07-30 03:21:12 +02:00
William Ma
cc63cece76
deps: print cask dependencies
...
* Allow references to commands when using `brew deps`, e.g. `brew deps
cellery`
* Fix crash when using `brew deps <formula> --installed
--include-requirements`
* Do not include runtime dependencies as direct dependencies when using
`--tree`
2020-07-28 20:24:19 -04:00
Markus Reiter
276c570c16
Pass individual args explicitly to ENV
extensions.
2020-07-28 02:52:45 +02:00
Markus Reiter
25b3632c4c
Pass args
to ENV
instead of using global args
.
2020-07-25 03:57:43 +02:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections.
2020-05-12 08:32:27 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
EricFromCanada
89f0fcedbe
whitespace fixes
2019-04-13 21:32:04 -04:00
EricFromCanada
f97f7b615e
deps: allow passing both --installed & --include-requirements
...
And update docs.
2019-03-14 21:00:21 -04:00
Mike McQuaid
ad1acdc1ad
requirement: fix new RuboCop failures.
2019-01-17 09:57:50 +00:00
Mike McQuaid
fc418fd333
More deprecated/disabled updates
...
- remove odisabled
- move odeprecated to odisabled
2018-10-24 10:40:39 +01:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
bb1bb51309
requirement: add mktemp function.
...
Addresses comments in #4465 .
2018-07-14 09:17:04 +01: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
5cfb81253c
requirement: odeprecated for default_formula usage.
2018-01-23 11:26:27 +00:00
Mike McQuaid
02d876528a
requirement: make deprecated stuff unsupported.
2018-01-23 11:26:14 +00:00
Mike McQuaid
46633af76a
requirement: call satisfied? from modify_build_environment.
2018-01-23 11:26:00 +00:00
Mike McQuaid
b70b5429d0
Deprecate default_formula Requirement DSL
...
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
2018-01-14 13:27:43 +00:00
Shaun Jackman
020c1adebd
X11Requirement: Inherit from generic class [macOS]
...
Fix the warning: already initialized constant X11Requirement
2017-12-08 10:38:58 -08:00
Mike McQuaid
f0b25b5482
requirement: convert Cellar path to opt path.
2017-11-03 14:50:17 +00:00
Mike McQuaid
5de7ec394b
requirement: don't add /usr/local/{bin,sbin}.
...
This should be considered a requirement bug if it's added.
2017-11-03 14:50:17 +00:00
Mike McQuaid
c843fd2f12
requirement: prepend rather than append PATH.
...
Otherwise this ends up behind e.g. `/usr/bin` so is pretty useless.
2017-11-03 14:50:17 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Mike McQuaid
a83baba8b5
formula_installer: use default_formula for bottles
...
This was the original, intended functionality before this was broken
in fe117bf79b244c42b7e4049d353c3c003eae4880.
Fixes https://github.com/Homebrew/homebrew-core/issues/13680 .
2017-07-30 16:56:24 +01:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
Markus Reiter
3cdf8f938a
Use scoped RSpec matchers.
2017-05-15 17:23:40 +02:00
Markus Reiter
22f624b373
Make PATH
enumerable.
2017-04-30 21:11:28 +02:00