Mike McQuaid
70db4bc723
Merge pull request #14621 from Bo98/api-uses_from_macos-fix
...
formulary: fix uses_from_macos handling on macOS
2023-02-14 11:24:44 +00:00
Ilya Kulakov
9ff7ceb563
sudo: pass env variables without /usr/bin/env
...
Using /usr/bin/env as a frontend for the actual command
prevents sudoers from restricting allowed commands and configuring
detailed command environment.
2023-02-13 22:10:35 -08:00
apainintheneck
39c6f7d6fb
Stop including *flight
block source in cask API
...
Originally we were going to try and load the *flight blocks from the API
but we ended up going with downloading the caskfile for the subset of
casks that need this functionality for consisty's sake.
This reverts the following commits from most recent to oldest:
- ffc74a51fb32b66a4cd8bc41dbd076dd23d9100e
- e5616e94fe42505434c330be35eeafef2739944f
- d1490c3d5c087d00f2bca1787cce331202b195c5
- 7ca5a5d9a71a73f21bbb8555a38048f027bee89b
- 2d5d132713d0701d02d5ff33e9918812d13d2a83
It also changes how *flight blocks are handled in `.to_h`.
Essentially, when *flight blocks exist they are just included
as a hash of the artifact to nil to indicate that they exist.
More information isn't necessary since we don't evaluate
the current source code in the *flight artifacts that
we get from the API.
2023-02-13 21:22:18 -08:00
Bo Anderson
7c1b642035
formulary: fix uses_from_macos handling on macOS
2023-02-14 04:07:51 +00:00
Bo Anderson
9b26bf9b92
formulary: support requirements, aliases etc from API
2023-02-14 03:32:56 +00:00
Markus Reiter
cd18703582
Add audit for versions containing colons or slashes.
2023-02-14 02:08:56 +01:00
Michael Cho
476f83d38d
livecheck_version: only split on commas in cask version
2023-02-12 15:32:32 -08:00
Mike McQuaid
ed79381155
Merge pull request #14574 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.45.1
...
build(deps): bump rubocop from 1.44.1 to 1.45.1 in /Library/Homebrew
2023-02-12 15:11:40 +00:00
Rylan Polster
f7fa5937d8
Allow brew info --json=v2
without taps with JSON API
2023-02-12 12:03:40 +00:00
EricFromCanada
dfc9906184
internal messaging fixes
2023-02-10 23:17:16 -05:00
Mike McQuaid
b9b3bd2571
brew style --fix
2023-02-10 08:59:51 +00:00
Mike McQuaid
cb1872e5bf
Merge pull request #14553 from MikeMcQuaid/4.0.0-changes
2023-02-08 11:05:08 +00:00
Mike McQuaid
342d40e88d
Merge pull request #14510 from reitermarkus/audit-only-except
...
Pass `only` and `except` to cask audits.
2023-02-08 09:05:00 +01:00
Markus Reiter
b821a00bc5
Pass only
and except
to cask audits.
2023-02-08 08:38:32 +01:00
Mike McQuaid
6b4363092d
Revert "Merge pull request #14548 from Homebrew/revert-14382-deprecate-disable-remove"
...
This reverts commit 932d2cf3b77c9439a57b6a43577fc8d3b6399a62, reversing
changes made to f4e60482791d2ff628efadfdbf0d14d9237d2d29.
2023-02-07 19:25:51 +01:00
Mike McQuaid
6882ac17e7
Revert "Add deprecations and disables"
2023-02-07 15:13:19 +01:00
Mike McQuaid
6c27021211
Merge pull request #14525 from SMillerDev/master
...
analytics: stop sending analytics in tests
2023-02-06 21:28:29 +01:00
Sean Molenaar
61e5e19bdb
analytics: fix spelling
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2023-02-06 16:56:25 +01:00
Sean Molenaar
10e3c522f7
analytics: stop sending analytics in tests
2023-02-06 16:28:34 +01:00
Bo Anderson
83b23e6d5e
Fix license handling for API formulae
2023-02-06 10:09:40 +00:00
Mike McQuaid
c1b96e7199
Merge pull request #14382 from MikeMcQuaid/deprecate-disable-remove
...
Add deprecations and disables
2023-02-05 17:56:58 +01:00
Mike McQuaid
179974ce26
Merge pull request #14502 from dduugg/active-support-reduce
...
Remove active_support Time extensions
2023-02-05 11:51:48 +01:00
Douglas Eichelberger
24e7c2c5bd
Remove active_support Time extensions
2023-02-04 13:51:35 -08:00
Mike McQuaid
2a01529cad
api/versions: remove.
...
We no longer (never?) need/use these APIs so can remove them from here
and from Homebrew/formulae.brew.sh.
2023-02-04 13:09:59 +01:00
Mike McQuaid
a086fcd293
Merge branch 'chore/formula/deprecate_plist_options' into deprecate-disable-remove
2023-02-03 10:51:06 +00:00
Mike McQuaid
3c7adc91ac
Merge branch 'deprecate-ignore_missing_libraries' into deprecate-disable-remove
2023-02-03 10:49:54 +00:00
Mike McQuaid
561e520467
api: warn rather than fail if we've got a cached version.
...
Rather than failing every time we fail to update (breaking most usage
while offline) instead only fail if we cannot obtain the JSON and we
don't have a valid local file we can use.
Also tweak the timeout and retry logic and values to make a bit more
sense in this context and not be so noisy when offline.
2023-02-03 10:22:50 +00:00
Mike McQuaid
1c1c1623e2
test/cask/cmd/list: add tap_git_head.
2023-02-02 12:19:44 +00:00
Sean Molenaar
f67d4c4ed6
chore: deprecate plist_options in formula
2023-02-01 17:44:36 +01:00
Mike McQuaid
90b154fdb5
Merge branch 'master' into cask_source_tweaks
2023-01-31 10:50:34 +00:00
Kevin
1e4ae4ef7d
Merge pull request #14452 from dduugg/rm-undent-mp
...
remove String#undent 🐵 -patch
2023-01-30 21:28:51 -08:00
Rylan Polster
f38ac3943f
Fix tests
2023-01-28 02:39:23 -06:00
Rylan Polster
014b603b1f
Fix tests
2023-01-28 02:15:05 -06:00
Douglas Eichelberger
dc78e91edd
missed a few
2023-01-27 22:54:14 -08:00
Douglas Eichelberger
1dbeee826d
replace undent with squiggly heredoc
2023-01-27 22:52:44 -08:00
Douglas Eichelberger
dead4de3fc
Resolve Lint/EmptyBlock todos
2023-01-26 21:18:24 -08:00
Douglas Eichelberger
cd4ef92115
Use anonymous class constants instead
2023-01-26 09:42:57 -08:00
Douglas Eichelberger
259e4ae718
Enable RSpec/LeakyConstantDeclaration
2023-01-26 09:24:38 -08:00
Mike McQuaid
a7503ec713
Revert "Enable RSpec/LeakyConstantDeclaration"
2023-01-26 09:47:20 +00:00
Carlo Cabrera
4b318f738b
Remove tests for ignore_missing_libraries
...
The deprecation is causing these tests to fail.
2023-01-26 13:46:48 +08:00
Douglas Eichelberger
2b8b3a5cb6
Enable RSpec/NoExpectationExample
2023-01-25 14:37:39 -08:00
Mike McQuaid
e4c18be302
Merge pull request #14429 from dduugg/rm-rspec-wait
...
Refactor away rspec-wait
2023-01-25 19:21:16 +00:00
Douglas Eichelberger
f126f0d39b
Refactor away rspec/wait
2023-01-25 10:07:42 -08:00
Mike McQuaid
d5cf5f58b3
Merge pull request #14418 from dduugg/enable-LeakyConstantDeclaration
...
Enable RSpec/LeakyConstantDeclaration
2023-01-25 13:39:27 +00:00
Douglas Eichelberger
71e8135864
Enable RSpec/LeakyConstantDeclaration
2023-01-24 20:07:22 -08:00
Luca Ongaro
490679da45
Improve test
2023-01-25 00:19:37 +01:00
Luca Ongaro
1fc1c82aed
Fix code style and add tests
2023-01-25 00:08:15 +01:00
Mike McQuaid
d636f5bc0a
Merge pull request #14408 from dduugg/rspec-disable
...
Inline RSpec/InstanceVariable todos
2023-01-24 10:41:18 +00:00
Mike McQuaid
c3294f9356
test: add instance variable comments.
2023-01-24 10:15:25 +00:00
Carlo Cabrera
86161e8c32
Fix test failures
2023-01-24 14:19:28 +08:00