Mike McQuaid
89fd6964f9
Merge pull request #16715 from reitermarkus/tap-ensure-installed
...
Clean up `Tap#ensure_installed!` usage.
2024-02-22 08:47:48 +00:00
Mike McQuaid
689b76cbad
Merge pull request #16714 from reitermarkus/tap-cask-files
...
Support `Tap#cask_files` when using API.
2024-02-22 08:47:18 +00:00
Mike McQuaid
318256c0b4
Merge pull request #16713 from reitermarkus/tap-formula-files
...
Support `Tap#formula_files` when using API.
2024-02-22 08:46:37 +00:00
Michael Cho
fed4e78e23
test: prune test deps of dependencies
2024-02-21 15:03:46 -05:00
Issy Long
6a9c9c00a0
Merge pull request #16718 from issyl0/pyyaml-resource-needs-specific-deps-too
...
rubocop: The `pyyaml` resource requires `depends_on "libyaml"`
2024-02-21 08:10:59 +00:00
Markus Reiter
9f5e1f2870
Clean up Tap#ensure_installed! usage.
2024-02-21 03:21:02 +01:00
Douglas Eichelberger
13d7f802fa
Merge pull request #16707 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2024-02-20 17:00:22 -08:00
BrewTestBot
2adc91643a
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-02-21 00:19:02 +00:00
Issy Long
ff21ef0955
It helps if you actually require the new cop to run it on real code
2024-02-20 23:49:25 +00:00
Issy Long
3bfe7e5aa1
Handle nil resource args for some reason
...
- Ran this against `signal-cli` and despite it having a valid-looking resource block, it failed on `undefined method 'str_content' for nil:NilClass`.
2024-02-20 23:48:58 +00:00
Issy Long
5c7be57531
Appease Sorbet
2024-02-20 23:36:52 +00:00
Douglas Eichelberger
fb192ed46d
Exclude parlour.rbi from rubocop
2024-02-20 15:31:25 -08:00
Issy Long
a895496982
rubocop: The pyyaml resource requires depends_on "libyaml"
2024-02-20 23:22:15 +00:00
Jade Elizabeth Sailor
94aeabfc8a
[brew audit] fix "Incorrect file permissions" message
...
When the file isn't world-readable, `brew audit` prints a failure
message including a suggestion to `chmod +r` the file. Unfortunately,
this isn't quite right: with both macOS and coreutils, leaving out the
"who" in a chmod only affects bits which would be set in the umask. So,
if the umask doesn't allow world-readable (which might be why the file
wasn't world-readable in the first place), the suggested chmod command
does nothing.
Change to print `chmod a+r` instead; that does have the intended effect.
No other `chmod` suggestions in this file have the same problem.
2024-02-20 16:26:21 -05:00
Markus Reiter
771193c80a
Ensure readall runs without API.
2024-02-20 20:44:14 +01:00
Markus Reiter
2d41fe8feb
Support Tap#formula_files when using API.
2024-02-20 20:44:13 +01:00
Markus Reiter
7f5a67917a
Ensure CoreCaskTap is included in diagnostics.
2024-02-20 20:44:02 +01:00
Markus Reiter
4cf0f79368
Support Tap#cask_files when using API.
2024-02-20 20:44:02 +01:00
Markus Reiter
670eb3d02d
Remove CaskLoader::tap_paths.
2024-02-20 18:25:11 +01:00
Mike McQuaid
14ba271533
Merge pull request #16705 from issyl0/lxml-resource-needs-uses-from-macos
...
rubocop: Formulae with the "lxml" resource have required dependencies
2024-02-20 12:54:19 +00:00
Issy Long
ff23de4766
Formatting and cope with more modern RSpec config changes
...
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-02-20 12:17:27 +00:00
BrewTestBot
4272a6108b
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-02-20 00:18:54 +00:00
Issy Long
33c33b5338
rubocop: Formulae with the "lxml" resource have required dependencies
...
- We're moving from `depends_on "python-lxml"` to `resource "lxml" ...` as part
of the new Python vendoring plan.
- For `resource "lxml"` to work, `uses_from_macos "libxml2"` and
`uses_from_macos "libxslt"` are needed in the formulae.
- This new RuboCop rule enforces that a formula including the "lxml" resource
also include those dependencies.
2024-02-19 22:50:55 +00:00
Douglas Eichelberger
e7e4ecc405
Change return type
2024-02-19 13:29:49 -08:00
Douglas Eichelberger
b5d07dd7d6
Finalize methods that do not support overrides
2024-02-19 13:23:45 -08:00
Douglas Eichelberger
ab62a717b9
Merge pull request #16407 from dduugg/default-prefixes
...
Remove redirection for default prefixes
2024-02-19 09:48:26 -08:00
Mike McQuaid
aa925598ee
Merge pull request #16699 from dduugg/modern-rspec
...
Modernize RSpec configuration
2024-02-19 16:56:53 +00:00
Douglas Eichelberger
c2e48ec79c
Extract find_files to helper
2024-02-19 08:28:12 -08:00
Douglas Eichelberger
d97645977f
Fix rebase test failure
2024-02-19 08:27:59 -08:00
Patrick Linnane
95449b4dc3
formula_creator: remove ENV.deparallelize suggestion
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-02-19 08:14:44 -08:00
Mike McQuaid
d33efcda9c
Merge pull request #16556 from PauloPhagula/patch-1
...
fix: use recommended way of updating Fish shell $PATH
2024-02-19 14:44:49 +00:00
Mike McQuaid
b083b1a85b
Merge pull request #16673 from dduugg/fix-rubocop-filters
...
Fix rubocop .rbi exclusion
2024-02-19 14:07:30 +00:00
Mike McQuaid
412852bd5f
Apply suggestions from code review
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2024-02-19 14:05:12 +00:00
Douglas Eichelberger
d7ebf97467
Turn on disable_monkey_patching
2024-02-19 13:57:28 +00:00
Douglas Eichelberger
ab8f5702ac
git grep -l '^shared_examples' | xargs gsed -i 's|^shared_examples|RSpec.shared_examples|g'
2024-02-19 13:57:28 +00:00
Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
Douglas Eichelberger
2255b9d43d
Enable verify_partial_doubles
2024-02-19 13:57:27 +00:00
Douglas Eichelberger
d6b3f5031a
Enable and fix warnings
2024-02-19 13:57:27 +00:00
Mike McQuaid
b1fe90710e
Merge pull request #16698 from iMichka/py2
...
audit: cleanup easy-install check
2024-02-19 13:54:28 +00:00
Mike McQuaid
8bb2787dd9
Merge pull request #16691 from dduugg/tapioca-config
...
Move tapioca args to config; exclude unnecessary gems
2024-02-19 13:54:04 +00:00
Douglas Eichelberger
c2aa4475f7
Remove merged upstream sorbet changes
2024-02-18 15:49:23 -08:00
Douglas Eichelberger
8a71570a6b
brew style --fix
2024-02-18 15:47:56 -08:00
Michka Popoff
3a8fd43df1
audit: cleanup easy-install check
...
- Python 2 is long gone
- Do not allow to use easy_install at all: it is now long deprecated
2024-02-18 15:53:21 +01:00
apainintheneck
e96313f6ed
formulary_spec: update API tests to avoid mocking
...
Stop mocking the formulary loader method. We just need to set the
environment variable so that it knows to load things from the API.
Fix spec that doesn't work with the `CoreTap.formula_names`.
That method assumes that we always have a valid `ruby_source_path`
in the API JSON even though that was optional for a while after
launching the API if my memory serves me. It's probably fine
to assume this should always be set though and I changed it to use
`Hash#fetch` to give use better error messages if something goes wrong in the future.
Remove unused `allow(x).to receive(y).and_call_original` in tap spec.
2024-02-17 13:00:50 -08:00
Douglas Eichelberger
89b5914c86
Add test that are exclusions are active dependencies
2024-02-17 10:07:58 -08:00
Patrick Linnane
84bae49d32
Merge pull request #16695 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-4.5.1
2024-02-17 08:07:21 -08:00
Patrick Linnane
a2b7e6a632
Merge pull request #16694 from Homebrew/dependabot/bundler/Library/Homebrew/patchelf-1.5.0
2024-02-17 08:06:51 -08:00
BrewTestBot
b2408564de
Update RBI files for parallel_tests.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-02-17 15:55:49 +00:00
BrewTestBot
f1a0aa1d2e
brew vendor-gems: commit updates.
2024-02-17 15:55:36 +00:00
BrewTestBot
4c5a6acf1b
Update RBI files for patchelf.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-02-17 15:55:20 +00:00