40981 Commits

Author SHA1 Message Date
Sean Molenaar
e8430b25a1
Merge pull request #17381 from SMillerDev/feat/cops/shared_homepage_cop
feat: add shared checks for casks and formulae
4.3.6
2024-06-16 18:01:43 +02:00
Sean Molenaar
bbd73a7243 feat: add shared checks for casks and formulae 2024-06-16 17:24:31 +02:00
Mike McQuaid
6b8b4d3f26
bottle/github_packages: include path_exec_files, all_files. 2024-06-16 09:35:33 +02:00
Patrick Linnane
766b9b8d9f
Merge pull request #17517 from Homebrew/revert-17507-path_exec_files 2024-06-15 13:06:00 -07:00
Patrick Linnane
2a053b7bc8
Revert "bottle/github_packages: include path_exec_files, all_files." 2024-06-15 12:54:59 -07:00
Mike McQuaid
ec39f9b5c6
Merge pull request #17507 from Homebrew/path_exec_files 2024-06-15 18:50:25 +01:00
Mike McQuaid
895cd02071
bottle/github_packages: include path_exec_files, all_files.
This provides an extra field to the GitHub Packages manifest about the
executable files in `bin` or `sbin` directories of the bottle.

It also provides an extra GitHub Packages JSON file with the list of all
files.

This would allow us (post a large rebottling effort) to start providing
this information in the Homebrew JSON API.

It also provides a much nicer information source for e.g.
homebrew-command-not-found that doesn't involve downloading actual
bottles.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-06-15 18:40:07 +01:00
Mike McQuaid
e2d01583f6
Merge pull request #17512 from samford/cask-audit-livecheck-availability-user-agents 2024-06-15 18:28:48 +01:00
Ruoyu Zhong
5f40cdf215
Merge pull request #17516 from jbampton/fix-spelling 2024-06-15 18:52:24 +08:00
John Bampton
f6ee19239d Fix spelling; Github -> GitHub 2024-06-15 19:08:53 +10:00
Bo Anderson
fad96312fe
Merge pull request #17514 from Homebrew/trash-swift-fix
cask: fix trash.swift under Xcode 16
2024-06-15 04:39:35 +01:00
Bo Anderson
fa00d2a9fd
cask: fix trash.swift under Xcode 16 2024-06-15 03:09:50 +01:00
BrewTestBot
e6f894fc20
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-06-15 00:20:54 +00:00
Sam Ford
fcc87c901d
Cask::Audit: Align user agents with livecheck
The `#page_headers` and `#page_content` methods in
`Livecheck::Strategy` will fetch a URL using our default user agent
but if the request fails it will retry with the `:browser` user agent.
[For context, it was added as an interim measure to make URLs work
that require a different user agent but I aim to remove it in the
future in favor of specifying the user agent in a `livecheck` block
(so we don't make unnecessary requests that we know will fail).]

`Cask::Audit#audit_livecheck_https_availability` checks the
`livecheck` block URL but it only does so using our default user
agent (i.e., it calls `#validate_url_for_https_availability` which
calls `Utils::Curl#curl_check_http_content` which has a `user_agents:
[:default]` parameter). Due to this behavioral mismatch, it's possible
for a `livecheck` block to work but for this cask audit to fail.

This addresses the issue by adding `user_agents: [:default, :browser]`
to the arguments the audit uses, which aligns its behavior with
livecheck's.
2024-06-14 15:38:24 -04:00
Mike McQuaid
214359316f
Merge pull request #17506 from shivammathur/actionlint 2024-06-14 18:38:46 +01:00
Shivam Mathur
dbb2bb9fb9 style: ignore runner labels 2024-06-14 17:28:06 +00:00
Mike McQuaid
ff76e61ffc
Merge pull request #17508 from Homebrew/autoremove_bottles 2024-06-14 17:36:56 +01:00
Mike McQuaid
a883f14b72
autoremove: don't remove formulae that were built from source
When a formula was built from source, it should not be removed by
`brew autoremove` as it will take a while to be installed again.

Fixes https://github.com/Homebrew/brew/issues/17433
2024-06-14 17:26:28 +01:00
Mike McQuaid
540c9f9534
Merge pull request #17505 from Homebrew/style_reject_sh_directory 2024-06-14 16:22:51 +01:00
Mike McQuaid
dcc5659a70
style: reject *.sh directories.
Otherwise silly things happen like thinking formulae.brew.sh directories
are files.
2024-06-14 16:09:21 +01:00
Mike McQuaid
754c026dd4
Merge pull request #17504 from Homebrew/even_more_portable_ruby_cleanup 2024-06-14 14:22:54 +01:00
Mike McQuaid
1c39944a93
Merge pull request #17499 from EricFromCanada/pkg-intel-permissions 2024-06-14 12:51:47 +01:00
Mike McQuaid
3206a5a597
Merge pull request #17503 from Homebrew/portable-ruby-cleanup 2024-06-14 12:31:16 +01:00
Mike McQuaid
b38e14bce7
Further Portable Ruby cleanup
- Use the `HOMEBREW_PORTABLE_RUBY_VERSION` environment variable to
  determine the version of the Portable Ruby to use in
  `vendor-install.sh` and `ruby.sh`.
- Replace the `docs/.ruby-version` file with a symlink to
 `Library/Homebrew/.ruby-version`.
- Fix an incorrect `HOMEBREW_LIBRARY` comment.
- Use a simpler `HOMEBREW_USING_PORTABLE_RUBY` definition.
2024-06-14 12:22:02 +01:00
Mike McQuaid
9e0cbe0fd7
Rename variable to HOMEBREW_USING_PORTABLE_RUBY 2024-06-14 12:06:06 +01:00
Mike McQuaid
4bfdbe20b9
vendor-install: fix incorrect portable Ruby version reference. 2024-06-14 12:05:01 +01:00
Bo Anderson
24f74c0528
Merge pull request #17501 from Homebrew/portable-ruby-3.3.3
Portable Ruby 3.3.3
2024-06-14 04:34:01 +01:00
Bo Anderson
bfd1b18e92
Merge pull request #17500 from Homebrew/setup-ruby-ruby
cmd/setup-ruby: fix Portable Ruby install failing
2024-06-14 04:33:52 +01:00
Bo Anderson
fa91edadfd
Portable Ruby 3.3.3 2024-06-14 03:32:38 +01:00
Bo Anderson
fa2731d0c7
cmd/setup-ruby: fix Portable Ruby install failing 2024-06-14 02:26:16 +01:00
Eric Knibbe
90ac39998f
pkg: adjust setting permissions on Intel 2024-06-13 17:32:38 -04:00
Ruoyu Zhong
9aeba61fad
Merge pull request #17495 from Homebrew/dependabot/bundler/Library/Homebrew/erubi-1.13.0 2024-06-14 02:51:33 +08:00
Ruoyu Zhong
f985c9d23d
Merge pull request #17493 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11430 2024-06-14 02:51:09 +08:00
Ruoyu Zhong
f97485aca4
Merge pull request #17497 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-expectations-3.13.1 2024-06-14 02:50:28 +08:00
BrewTestBot
fba59689de
Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-13 18:17:07 +00:00
BrewTestBot
ef352789ac
brew vendor-gems: commit updates. 2024-06-13 18:16:52 +00:00
BrewTestBot
89e39527de
Update RBI files for erubi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-13 18:16:49 +00:00
BrewTestBot
78fa0b5faa
brew vendor-gems: commit updates. 2024-06-13 18:16:35 +00:00
BrewTestBot
6a6bf55d6c
brew vendor-gems: commit updates. 2024-06-13 18:16:11 +00:00
dependabot[bot]
a15d6c9d8c
build(deps-dev): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.13.0...v3.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:16:01 +00:00
dependabot[bot]
7342471c39
build(deps-dev): bump erubi from 1.12.0 to 1.13.0 in /Library/Homebrew
Bumps [erubi](https://github.com/jeremyevans/erubi) from 1.12.0 to 1.13.0.
- [Changelog](https://github.com/jeremyevans/erubi/blob/master/CHANGELOG)
- [Commits](https://github.com/jeremyevans/erubi/compare/1.12.0...1.13.0)

---
updated-dependencies:
- dependency-name: erubi
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:15:42 +00:00
dependabot[bot]
d343a4007b
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11429 to 0.5.11430.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:15:16 +00:00
Patrick Linnane
216884ff56
Merge pull request #17492 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.5.0 2024-06-13 07:34:00 -07:00
dependabot[bot]
79e6e612d6
build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](125fc84a9a...e28ff129e5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 14:23:33 +00:00
Mike McQuaid
9e4002dff5
Merge pull request #17491 from Homebrew/brew_style_docs 2024-06-13 13:05:33 +01:00
Mike McQuaid
a707c708c1
Fix/reenable brew style docs
- start running this check again
- check the `docs` basename correctly
- use a different name (to a symlink) for the docs rubocop
  configuration so that path relativity is done correctly:
  https://docs.rubocop.org/rubocop/configuration.html#path-relativity
- add more wildcards to fix docs rubocop exclusions
2024-06-13 12:31:47 +01:00
Mike McQuaid
df2387fd56
Merge pull request #17482 from samford/fix-brew-style-tap-checking 2024-06-13 11:37:22 +01:00
Mike McQuaid
ca2ac3dd06
workflows/docs: temporarily disable brew style docs check. 2024-06-13 09:55:31 +01:00
Mike McQuaid
1b8bddd8bf
docs: brew style --fix 2024-06-13 09:55:31 +01:00
Mike McQuaid
349627e3dd
style: ignore actionlint false-positive. 2024-06-13 09:55:30 +01:00