39924 Commits

Author SHA1 Message Date
Bo Anderson
6c5da0dfe1
Merge pull request #16922 from cho-m/test-github-spec
test/utils/github_spec: filter further to fix test failure
2024-03-19 21:19:59 +00:00
Michael Cho
d04c5ad4f8
test/utils/github_spec: filter further to fix test failure
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-19 17:01:04 -04:00
Mike McQuaid
6b073239f5
Merge pull request #16916 from Homebrew/no_critical_approval
Remove BrewTestBot critical approval process.
2024-03-19 16:06:36 +00:00
Mike McQuaid
22bad80939
Remove BrewTestBot critical approval process.
We seem to have enough maintainers across enough timezones that this is
no longer necessary any more (and it presents a bit of a security risk).
2024-03-19 08:56:12 +00:00
Mike McQuaid
d3ea535a9a
dev-cmd/bump: handle no formula tap case.
Fixes https://github.com/Homebrew/brew/issues/16913
2024-03-19 08:52:28 +00:00
Mike McQuaid
795642ea97
rubocops/service: allow require_root to be used without run.
Fixes https://github.com/Homebrew/brew/issues/16908
2024-03-19 08:46:47 +00:00
Patrick Linnane
e3797d39bd
Merge pull request #16912 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11295 2024-03-18 23:32:28 -07:00
Patrick Linnane
0be546a0ac
Merge pull request #16911 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.0 2024-03-18 23:32:12 -07:00
BrewTestBot
9ad60e232d
brew vendor-gems: commit updates. 2024-03-19 06:04:28 +00:00
BrewTestBot
cf4527aa9c
brew vendor-gems: commit updates. 2024-03-19 06:03:42 +00:00
dependabot[bot]
05d2934e24
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11294 to 0.5.11295
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11294 to 0.5.11295
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 06:03:31 +00:00
dependabot[bot]
fb27ab6e17
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.7.8 to 0.8.0.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.7.8...v0.8.0)

---
updated-dependencies:
- dependency-name: rubocop-sorbet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 06:02:32 +00:00
apainintheneck
ad35db4b24 tests: fix tests that make unexpected network calls
These were found with the Utils::Curl check and just turning
off the network on my computer and running the entire test suite.
2024-03-18 20:57:35 -07:00
apainintheneck
b66097fa3d spec_helper: add check for unexpected network calls
Any test that is not tagged as :needs_network and that makes
a call to an unapproved method in the `Utils::Curl` module
will raise an error unless that method gets mocked somehow.

tests: add exceptions for tests that use curl to download local files

These are acceptable ways to use curl in local, non-network tests.
For those edge cases we allow you to bypass the check with :needs_utils_curl.
2024-03-18 20:57:23 -07:00
Mike McQuaid
8e67ee26d7
Merge pull request #16909 from Homebrew/dduugg-fix-flaky-test
Fix flaky Tapioca::Compilers::Args test
2024-03-18 16:37:14 +00:00
Douglas Eichelberger
0c4c4a87a2 Fix flaky Tapioca::Compilers::Args test 2024-03-18 09:24:40 -07:00
Douglas Eichelberger
2cc3ce9bb4
Merge pull request #16815 from dduugg/abstract-command
Provide interface and individual namespaces for brew CLI commands
2024-03-18 08:11:52 -07:00
Bo Anderson
6cb0fd06c4
Merge pull request #16894 from Homebrew/cask-fix-app-remove
cask/artifact/moved: fix permission handling when removing directories
2024-03-18 14:42:29 +00:00
Mike McQuaid
fbc2b7da62
Merge pull request #16904 from cho-m/bump-formula-pr-partial-versions
dev-cmd/bump-formula-pr: replace partial version in URL
2024-03-18 12:51:20 +00:00
Mike McQuaid
24dede9085
Merge pull request #16907 from Homebrew/rm-rspec-its
Remove and refactor rspec-its use
2024-03-18 12:51:06 +00:00
Mike McQuaid
af8b105388
Merge pull request #16906 from dduugg/yard-rbi
Include .rbi shims in yard docs
2024-03-18 12:50:58 +00:00
Mike McQuaid
2bb53445e5
Merge pull request #16905 from cho-m/create-types
dev-cmd/create: add types
2024-03-18 12:47:09 +00:00
Mike McQuaid
672eb1f892
Merge pull request #16902 from cho-m/utils-pypi-allow-overwrite-resource-patches
utils/pypi: allow overwriting resource patches
2024-03-18 12:41:13 +00:00
Douglas Eichelberger
468c7b32e0 Remove unused matcher 2024-03-17 23:08:33 -07:00
Douglas Eichelberger
820d320835 Remove and refactor rspec-its use 2024-03-17 22:47:37 -07:00
Douglas Eichelberger
9f63674125 Include .rbi shims in yard docs 2024-03-17 20:53:58 -07:00
Michael Cho
709afd58ed
dev-cmd/bump-formula-pr: replace partial version in URL
For now, restrict to partial version excluding the last part, i.e.
version with major.minor.patch will result in attempting to replace any
occurrences of "/#{major}.#{minor}/" or "/v#{major}.#{minor}/".

This should take care of common situations like GNOME, KDE, and
SourceForge URLs. It should also help with URLs like `util-linux`.

It may result in incorrect replacements if URL has partial version based
on another versioning scheme like the API version or if there are some
equivalent numbers in URL that happen to match

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-17 13:03:43 -04:00
Douglas Eichelberger
133b9382f0 Improve readability 2024-03-17 09:29:40 -07:00
Michael Cho
3021ba91fd
dev-cmd/create: add types
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-17 11:33:47 -04:00
Douglas Eichelberger
4b358fc713 Extract global args 2024-03-16 11:15:03 -07:00
Douglas Eichelberger
131a5421a5 Make cmd_args block non-nilable 2024-03-16 11:14:39 -07:00
Michael Cho
393a97f868
utils/pypi: allow overwriting resource patches
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-16 13:55:19 -04:00
Patrick Linnane
bb753a6c48
Merge pull request #16901 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11294 4.2.13 2024-03-16 11:11:48 -04:00
BrewTestBot
9739dc284c
brew vendor-gems: commit updates. 2024-03-16 14:59:19 +00:00
dependabot[bot]
25a0f98a5f
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11288 to 0.5.11294
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11288 to 0.5.11294
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 14:57:59 +00:00
Bo Anderson
2d3183c84e
Merge pull request #16900 from Homebrew/github-fix
utils/github: fix variable scope
2024-03-16 03:39:15 +00:00
Bo Anderson
e6f64767c5
utils/github: fix variable scope 2024-03-16 03:25:44 +00:00
Bo Anderson
8102e239f9
Merge pull request #16887 from Homebrew/bump-no-repology
dev-cmd/bump: skip Repology checks in CI for livecheckables
2024-03-16 03:13:47 +00:00
Bo Anderson
3c811fde50
Merge pull request #16886 from Homebrew/pr-search-improvements
utils/github: use GraphQL PR searching
2024-03-16 03:13:34 +00:00
Patrick Linnane
7c09aa742c
Merge pull request #16898 from Homebrew/sponsors-maintainers-man-completions 2024-03-15 20:31:15 -04:00
BrewTestBot
bc0c8627eb
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-03-16 00:05:42 +00:00
Douglas Eichelberger
625206b0bd Avoid duplicating global options 2024-03-15 16:30:09 -07:00
Bo Anderson
011dfc8f45
cask/artifact/moved: fix permission handling when removing directories 2024-03-15 21:31:37 +00:00
Bo Anderson
7b0c3d54f1
utils/github: use GraphQL PR searching 2024-03-15 21:27:05 +00:00
Douglas Eichelberger
dfa01a5a84 Update args compiler 2024-03-15 14:24:26 -07:00
Douglas Eichelberger
23336aa316 Update tests 2024-03-15 12:58:59 -07:00
Douglas Eichelberger
aad08cd5a4 Revert using hash accessors for args 2024-03-15 12:51:03 -07:00
Douglas Eichelberger
7c7444c2a5 No longer need to thread args 2024-03-15 12:46:06 -07:00
Douglas Eichelberger
cda2761504 Preseve args_parse test for new commands 2024-03-15 12:46:06 -07:00
Douglas Eichelberger
6fc99d9569 Add tests 2024-03-15 12:46:06 -07:00