38798 Commits

Author SHA1 Message Date
Michael Cho
31533cff05
utils/pypi: allow only updating extra_packages 2024-02-27 10:40:42 -05:00
Markus Reiter
18571e8991
Merge pull request #16732 from reitermarkus/repo-var-suffix
Rename `Tap#repo_var` to `Tap#repo_var_suffix`.
2024-02-27 11:26:16 +01:00
Mike McQuaid
ca9405de5c
Merge pull request #16746 from apainintheneck/simplify-cache-clearing-in-tests
cachable: make sure to clear caches between tests
2024-02-27 08:35:38 +00:00
Mike McQuaid
6b6767be21
Merge pull request #16751 from Homebrew/no-fork-yes-auth
utils/github: support `HOMEBREW_GITHUB_API_TOKEN` with `--no-fork`
2024-02-27 08:34:08 +00:00
Mike McQuaid
9014328f59
Merge pull request #16749 from Homebrew/homebrew-temp
Use `HOMEBREW_TEMP` more universally
2024-02-27 08:33:46 +00:00
Mike McQuaid
a25df66f56
Merge pull request #16752 from bevanjkay/cask-disable-reasons-2
deprecate_disable: add `no_longer_meets_criteria` deprecate/disable reason
2024-02-27 08:27:29 +00:00
apainintheneck
bea2dc65fe Clean up files that use to include cachable
These were changed to extend to make it easier to determine
where the classes come to in the extended callback but that
means that the file is somewhat inconsistent. On the one
hand we're using class methods and on the other we're extend
self. This cleans that up but now the diff is atrocious and
the blame is even worse. Oh well...
2024-02-26 21:21:38 -08:00
apainintheneck
5cc1c85a5f cachable: Move registry to test directory
Now we only include the cachable registry when running tests.
We basically just load it first and add a bunch of methods to
it before loading the rest of the formula files when we require
global.rb. I added a check to make sure this require order is
preserved.

I also made a bunch of methods private, stop excluding classes
that inherit from casks since it's unnecessary and add more docs.
2024-02-26 20:41:10 -08:00
Bevan Kay
013aba295a
deprecate_disable: add no_longer_meets_criteria deprecate/disable reason 2024-02-27 13:46:10 +11:00
Bo Anderson
913c46d994
utils/github: support HOMEBREW_GITHUB_API_TOKEN with --no-fork 2024-02-26 23:43:58 +00:00
Bo Anderson
1d7101d8a3
Use HOMEBREW_TEMP more universally 2024-02-26 16:58:53 +00:00
Issy Long
7848bd3226
Merge pull request #16745 from issyl0/rubocop-todos-2
rubocop: Fix remaining TODOs for triaging Ruby 3 cops
2024-02-26 16:19:14 +00:00
Ruoyu Zhong
d8d82d27c8
Merge pull request #16748 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11268
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-02-27 00:18:05 +08:00
BrewTestBot
1f38fa7a89
brew vendor-gems: commit updates. 2024-02-26 16:06:17 +00:00
dependabot[bot]
93632f34fd
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 16:04:34 +00:00
apainintheneck
536ae08a44 cachable: make sure to clear caches between tests
This adds a registry for all modules and classes that
cachable is included in. The registry allows us to
programmatically clear all caches in between tests
so that we don't forget to do that when adding a new
class or refactoring code. The goal here is to reduce
the number of flaky tests in the future.
2024-02-25 17:47:30 -08:00
Issy Long
e654af3e15
Disable RuboCop Naming/BlockForwarding and Style/ArgumentsForwarding
- These break Sorbet type signatures:

```
      RuntimeError:
        The declaration for  is missing parameter(s): &
```
2024-02-25 23:00:07 +00:00
Issy Long
c11a07db5b
Alphabetize Style/HashSyntax RuboCop rule and keep it the same 2024-02-25 23:00:07 +00:00
Issy Long
921753cf84
Fix RuboCop Performance/BindCall offenses 2024-02-25 23:00:07 +00:00
Issy Long
f4218a6316
Fix RuboCop Performance/MapCompact offenses
- Rename an iterator variable since it would make the line too long.
2024-02-25 22:59:59 +00:00
Patrick Linnane
c6d959218f
Merge pull request #16743 from bevanjkay/cask-disable-reasons 4.2.10 2024-02-25 10:23:34 -08:00
Patrick Linnane
146451aeee
brew style --fix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-02-25 10:13:26 -08:00
Bevan Kay
b544934fbf
docs/Deprecating-Disabling-and-Removing-Casks.md: add cask deprecate/disable reasons 2024-02-25 19:58:35 +11:00
Bevan Kay
80d4488bbf
deprecate_disable: add cask deprecate/disable reasons 2024-02-25 19:58:35 +11:00
Issy Long
c86a402110
Fix RuboCop Lint/RedundantDirGlobSort offenses 2024-02-24 23:59:31 +00:00
Sam Ford
e9cb65bfba
Merge pull request #16741 from mavenor/fix-livecheck-page-content
`strategy#page_content`: allow cURL to `--fail-with-body`
2024-02-24 16:11:17 -05:00
Shreedhar Hegde
cf43d53ddc
strategy#page_content: align comments to future intentions
@samford is working on the ability to specify custom UA (among other things)
in livecheck blocks; "retrying" will cease to be relevant

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2024-02-25 02:30:33 +05:30
Markus Reiter
6b14d9cae3
Merge pull request #16742 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11267
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-24 19:16:28 +01:00
BrewTestBot
7034c8e508
brew vendor-gems: commit updates. 2024-02-24 16:44:39 +00:00
dependabot[bot]
f48b779d8b
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.11266 to 0.5.11267
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11266 to 0.5.11267
- [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-02-24 16:43:09 +00:00
Patrick Linnane
b1fbd59479
Merge pull request #16740 from Homebrew/bump-no-fork 2024-02-23 12:42:28 -08:00
Patrick Linnane
4c73646e36
Regenerate manpages and completions
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-02-23 12:25:05 -08:00
Patrick Linnane
9092f760fb
dev-cmd/bump: add --no-fork switch
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-02-23 12:20:59 -08:00
Bo Anderson
1d614fc027
Merge pull request #16584 from Homebrew/codecov-fix
workflows/tests: fix codecov reporting after v4
2024-02-23 19:34:16 +00:00
Ruoyu Zhong
80de148c95
Merge pull request #16738 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11266
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-02-24 03:19:49 +08:00
Bo Anderson
8df60496ed
workflows/tests: fix codecov reporting after v4 2024-02-23 19:17:13 +00:00
Ruoyu Zhong
a541501682
Merge pull request #16739 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-support-3.13.1
build(deps-dev): bump rspec-support from 3.13.0 to 3.13.1 in /Library/Homebrew
2024-02-24 03:15:19 +08:00
mavenor
be418d81e6
Strategy#page_content: allow cURL to --fail-with-body
since `curl_output` (introduced in #15351) sets `show_output: true`,
it doesn’t let it unless some form of --fail[...] is passed explicitly
2024-02-24 00:40:49 +05:30
BrewTestBot
d432322e12
Update RBI files for rspec-support.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-23 19:04:34 +00:00
BrewTestBot
7887819eeb
brew vendor-gems: commit updates. 2024-02-23 19:04:21 +00:00
BrewTestBot
290910e1ff
brew vendor-gems: commit updates. 2024-02-23 19:03:18 +00:00
dependabot[bot]
a9f75d6122
build(deps-dev): bump rspec-support in /Library/Homebrew
Bumps [rspec-support](https://github.com/rspec/rspec-support) from 3.13.0 to 3.13.1.
- [Changelog](https://github.com/rspec/rspec-support/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-support/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: rspec-support
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 19:03:00 +00:00
dependabot[bot]
412ea2090e
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 19:01:27 +00:00
Bo Anderson
ea3b4b887e
Merge pull request #16737 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.0.2
build(deps): bump codecov/codecov-action from 4.0.1 to 4.0.2
2024-02-23 18:39:21 +00:00
dependabot[bot]
84b8e6cc67
build(deps): bump codecov/codecov-action from 4.0.1 to 4.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e0b68c6749...0cfda1dd0a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 18:28:28 +00:00
Patrick Linnane
d72f4a883d
Merge pull request #16734 from Homebrew/maintainers_fork 2024-02-23 09:39:07 -08:00
Mike McQuaid
18b835b2ac
docs/New-Maintainer-Checklist: tell people to avoid forks.
This was discussed at the AGM. It's no longer needed to avoid
"cluttering up clones" because most users use the API for our
main repositories now.

It should also simplify security work in future because we can assume
anyone who can create a branch on the main repository has write access
rather than e.g. having a hardcoded list of maintainers we rely on.
2024-02-23 17:22:44 +00:00
Markus Reiter
b29a2cdff3
Add missing local variable.
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-02-23 17:09:42 +01:00
Markus Reiter
132a87aff5
Rename Tap#repo_var to Tap#repo_var_suffix. 2024-02-23 16:02:29 +01:00
Michael Cho
aaadbd9695
docs: update info on setuptools for Python 3.12
Also update info for `pip install --upgrade` given PEP 668
2024-02-23 09:32:46 -05:00