Carlo Cabrera
add2ebff6b
Update docker.yml
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-12 12:19:57 +08:00
Mike McQuaid
1c4dfe066e
Update .github/workflows/docker.yml
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-11 17:16:56 +00:00
Ruoyu Zhong
364068eaa6
workflows/docker: build and publish ARM64 Docker images
...
This modifies the Docker workflow to first build the images natively on
x86_64 and ARM64 runners, push them by digest to the registry, and then
merge the manifest lists to form a tagged multi-platform image. This
allows e.g. `docker run homebrew/brew` to work on both platforms.
Ref: https://docs.docker.com/build/ci/github-actions/multi-platform/
2025-02-09 20:32:23 +08:00
Bo Anderson
6567eb2bbb
Merge pull request #19274 from Homebrew/docker-master-images
...
workflows/docker: continue to deploy `master` images
2025-02-09 04:47:08 +00:00
Ruoyu Zhong
d2f2334d4a
workflows/docker: continue to deploy master
images
...
I noticed that `master` images have not been updated since #18912 :
$ docker run --pull=always --rm -it homebrew/brew:master brew --version
master: Pulling from homebrew/brew
Digest: sha256:3812ffd9b728ce3d96a2a362ef33bed420d1dc73c7d96c93a8f8d2d4f10e6281
Status: Image is up to date for homebrew/brew:master
Homebrew 4.4.11-6-geae8d1b
Homebrew/homebrew-core (git revision 9610909d254; last commit 2024-12-10)
That is due to images no longer being built on `master` pushes. This
change restores the previous behaviour.
2025-02-09 11:47:49 +08:00
Patrick Linnane
e1a7553a56
Merge pull request #19272 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-c4d130b5bf
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-09 00:33:05 +00:00
BrewTestBot
863a12ac13
brew vendor-gems: commit updates.
2025-02-09 00:23:08 +00:00
Patrick Linnane
0103fc2130
Merge pull request #19268 from Homebrew/dependabot/github_actions/codecov/test-results-action-1.0.3
...
build(deps): bump codecov/test-results-action from 1.0.2 to 1.0.3
2025-02-09 00:22:15 +00:00
Patrick Linnane
d0b9191652
Merge pull request #19270 from Homebrew/dependabot/github_actions/docker/setup-buildx-action-3.9.0
...
build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0
2025-02-09 00:21:50 +00:00
Patrick Linnane
bb385decd4
Merge pull request #19273 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.9
...
build(deps): bump github/codeql-action from 3.28.8 to 3.28.9
2025-02-09 00:21:37 +00:00
Patrick Linnane
7ce4c0579d
Merge pull request #19269 from Homebrew/dependabot/github_actions/actions/create-github-app-token-1.11.3
...
build(deps): bump actions/create-github-app-token from 1.11.2 to 1.11.3
2025-02-09 00:21:34 +00:00
Patrick Linnane
3cc76a8738
Merge pull request #19271 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.218.0
...
build(deps): bump ruby/setup-ruby from 1.215.0 to 1.218.0
2025-02-09 00:21:20 +00:00
Patrick Linnane
c1f51b7b65
Merge pull request #19267 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-02-09 00:21:09 +00:00
dependabot[bot]
5ca3073a7e
build(deps): bump github/codeql-action from 3.28.8 to 3.28.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.8 to 3.28.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](dd746615b3...9e8d0789d4
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:50 +00:00
dependabot[bot]
eaeef33321
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
...
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ), [sorbet-runtime](https://github.com/sorbet/sorbet ), [sorbet](https://github.com/sorbet/sorbet ) and [sorbet-static](https://github.com/sorbet/sorbet ).
Updates `sorbet-static-and-runtime` from 0.5.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11810 to 0.5.11812
- [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-group: sorbet
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-static
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:44 +00:00
dependabot[bot]
cd82b09163
build(deps): bump ruby/setup-ruby from 1.215.0 to 1.218.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.215.0 to 1.218.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](2654679fe7...d781c1b4ed
)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:43 +00:00
dependabot[bot]
9ae7d3ef44
build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](6524bf65af...f7ce87c1d6
)
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:39 +00:00
dependabot[bot]
d4d4e17085
build(deps): bump actions/create-github-app-token from 1.11.2 to 1.11.3
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](136412a57a...67e27a7eb7
)
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:37 +00:00
dependabot[bot]
94e4051369
build(deps): bump codecov/test-results-action from 1.0.2 to 1.0.3
...
Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/codecov/test-results-action/releases )
- [Commits](4e79e65778...44ecb3a270
)
---
updated-dependencies:
- dependency-name: codecov/test-results-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:34 +00:00
BrewTestBot
cddc2fc615
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2025-02-09 00:11:25 +00:00
Patrick Linnane
c76ccdbdce
Merge pull request #19259 from Homebrew/brew_formula_analytics_import
...
Import `brew formula-analytics` and `generate-analytics-api` commands
2025-02-08 23:59:48 +00:00
BrewTestBot
6fa8edd34a
Update RBI files for brew_formula_analytics_import.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-08 23:50:34 +00:00
BrewTestBot
449250b8ba
brew vendor-gems: commit updates.
2025-02-08 23:50:25 +00:00
Branch Vincent
ace770d29c
Merge pull request #19266 from branchvincent/python-resources
...
utils/pypi: remove extra newline when updating resources
2025-02-08 17:56:06 +00:00
Branch Vincent
3d7c6fa10f
utils/pypi: remove extra newline when updating resources
2025-02-08 09:43:47 -08:00
Issy Long
f9b33d7c44
Merge pull request #19265 from Homebrew/review-some-docs
...
Review some docs
2025-02-08 16:04:23 +00:00
Issy Long
8f75f66d01
Review some docs
...
- Most of these were fine still, apart from:
- FAQ: `hub` is less maintained than `gh`.
- Brew-Maintainer-Guide: link to GitHub docs on commit signing via GPG or SSH.
- Interesting-Taps-and-Forks: remove outdated information about `homebrew/core` being in `Library/Taps`.
- New-Maintainer-Checklist: remove outdated information about the `@members` team.
2025-02-08 14:43:49 +00:00
Issy Long
a0be99a710
Merge pull request #19264 from Homebrew/lint-frontmatter-presence
...
Enforce that all docs have `last_review_date` frontmatter
2025-02-08 08:30:51 +00:00
Issy Long
00905fbd7e
Enforce that all docs have last_review_date
frontmatter
...
- So we don't forget to add it to new docs we write.
2025-02-08 00:14:10 +00:00
Mike McQuaid
1f5a84a694
Merge pull request #19260 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-f0dcbe9041
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-07 23:52:02 +00:00
BrewTestBot
9376efc318
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-07 23:40:00 +00:00
BrewTestBot
7bd466c1fc
brew vendor-gems: commit updates.
2025-02-07 23:39:51 +00:00
Mike McQuaid
c62fcdfb20
Merge pull request #19262 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-02-07 20:19:13 +00:00
Mike McQuaid
6f99704a64
Import brew formula-analytics
and generate-analytics-api
commands
...
Import these from the homebrew/formula-analytics tap and deprecate
that tap.
This required a little messing around with filenames and paths to get
it finding Python and writing to the user's home directory.
2025-02-07 20:05:05 +00:00
dependabot[bot]
340d0b0c84
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
...
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ), [sorbet-runtime](https://github.com/sorbet/sorbet ), [sorbet](https://github.com/sorbet/sorbet ) and [sorbet-static](https://github.com/sorbet/sorbet ).
Updates `sorbet-static-and-runtime` from 0.5.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11805 to 0.5.11810
- [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-group: sorbet
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-static
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 19:43:16 +00:00
BrewTestBot
769fb8739f
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2025-02-07 19:42:46 +00:00
Mike McQuaid
5ae29d324d
Merge pull request #19258 from Homebrew/brew_alias_import
...
Import `brew alias` and `brew unalias` commands
2025-02-07 19:32:14 +00:00
Mike McQuaid
743971bcc4
Merge pull request #19233 from Homebrew/livecheck/add-post-support
...
livecheck: Add support for POST requests
2025-02-07 19:31:49 +00:00
Mike McQuaid
890b2950c3
Merge pull request #19261 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.9
...
build(deps-dev): bump ruby-lsp from 0.23.8 to 0.23.9 in /Library/Homebrew
2025-02-07 19:31:27 +00:00
dependabot[bot]
ec49a3e9f6
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.8...v0.23.9 )
---
updated-dependencies:
- dependency-name: ruby-lsp
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 18:31:02 +00:00
Mike McQuaid
8adc188992
Import brew alias
and brew unalias
commands
...
Import these from the homebrew/aliases tap and deprecate that tap.
This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.
I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00
Sam Ford
8997cccddf
Livecheck: Expand test coverage
...
This brings line coverage for the `Livecheck` DSL back to 100%, as we
had evidently overlooked part of the `#strategy` method.
2025-02-07 08:57:33 -05:00
Sam Ford
a16f5666a8
Sparkle: Add homebrew_curl support
...
`Sparkle` is the only strategy with a `find_versions` method that
calls `Strategy::page_content` (or `::page_headers`) and doesn't have
a `homebrew_curl` parameter. This adds the missing parameter and
passes the value to `page_content`, which brings it in line with the
other strategies.
2025-02-07 08:57:32 -05:00
Sam Ford
2187316262
Strategy: Expand test coverage
...
Between this commit and the previous one, this brings test coverage
for `Livecheck::Strategy` up to 98.18% line coverage and 97.22%
branch coverage. The only uncovered areas are some Sorbet `params`
calls (which I'm not sure how to cover) and a conditional `break` in
`page_headers` that will be refactored away in the future.
The increased coverage is primarily in areas that weren't covered
before because they call methods that make network requests. I worked
around this with stubs and doubles, so we can test this code to some
degree. I plan to expand this approach to other areas in livecheck
that aren't covered for the same reason and that should significantly
increase test coverage (along with some other test improvements that
I have lined up).
2025-02-07 08:57:32 -05:00
Sam Ford
b4757af656
livecheck: Add support for POST requests
...
livecheck currently doesn't support `POST` requests but it wasn't
entirely clear how best to handle that. I initially approached it as
a `Post` strategy but unfortunately that would have required us to
handle response body parsing (e.g., JSON, XML, etc.) in some fashion.
We could borrow some of the logic from related strategies but we would
still be stuck having to update `Post` whenever we add a strategy for
a new format.
Instead, this implements `POST` support by borrowing ideas from the
`using: :post` and `data` `url` options found in formulae. This uses
a `post_form` option to handle form data and `post_json` to handle
JSON data, encoding the hash argument for each into the appropriate
format. The presence of either option means that curl will use a
`POST` request.
With this approach, we can make a `POST` request using any strategy
that calls `Strategy::page_headers` or `::page_content` (directly or
indirectly) and everything else works the same as usual. The only
change needed in related strategies was to pass the options through
to the `Strategy` methods.
For example, if we need to parse a JSON response from a `POST`
request, we add a `post_data` or `post_json` hash to the `livecheck`
block `url` and use `strategy :json` with a `strategy` block. This
leans on existing patterns that we're already familiar with and
shouldn't require any notable maintenance burden when adding new
strategies, so it seems like a better approach than a `Post` strategy.
2025-02-07 08:53:47 -05:00
Mike McQuaid
94e2bdf668
Merge pull request #19257 from Homebrew/improve_brew_wrapper_error
...
brew.sh: improve HOMEBREW_FORCE_BREW_WRAPPER error message
2025-02-07 13:36:26 +00:00
Mike McQuaid
17bfef29f2
brew.sh: improve HOMEBREW_FORCE_BREW_WRAPPER error message
...
Rather than just explaining what is happening, let's explain a bit more
why this is happening and how to fix it.
2025-02-07 13:23:52 +00:00
Mike McQuaid
9e3ae9f3f9
Merge pull request #19251 from Homebrew/revert-json-v3-logic
...
Revert json v3 logic
2025-02-07 08:32:22 +00:00
apainintheneck
f916f27d82
remove all references to JSON v3
...
The logic has now been removed in previous commits. This just
removes some references to the `HOMEBREW_INTERNAL_JSON_V3`
environment variable along with reverting the changes to the
`Cachable` class that were originally added in
bd72ec812c3ed656dfcf8e24f77df142a1fe9cc1.
2025-02-06 21:04:08 -08:00
apainintheneck
eead014ceb
cask/cask: remove unnecessary tests
...
The `compact:` option got removed from `Cask::Cask#artifacts_list`
in 042d6cc97e886c6f2817500083cda6c856b5350a.
2025-02-06 20:13:19 -08:00