33509 Commits

Author SHA1 Message Date
Bo Anderson
a542ef9b7d
Merge pull request #18814 from Homebrew/revert-final-sig
Remove problematic :final from Requirement sigs
2024-11-25 03:36:44 +00:00
Sam Ford
1cbcc44cb4
bump: skip PR checking when livecheck fails
`brew bump` will check for PRs related to a package even if livecheck
fails to identify new versions. This reworks related conditions to
ensure that related PR checks are only run when livecheck returns
version information.
2024-11-24 20:50:39 -05:00
Sam Ford
918206e1fd
BumpVersionParser: expand tests
This expands test coverage for `BumpVersionParser`, bringing line
coverage to 100% and branch coverage to 95.45%. This is the best we
can do for branch coverage, as Sorbet will catch an invalid argument
type before the method is executed, so we can't exercise the method
in a test to get 100% coverage.
2024-11-24 20:50:38 -05:00
Sam Ford
a89457fcb9
bump: skip PR checking when up to date
`brew bump` will check for PRs related to a package even if the
package version and livecheck version are the same. We're presumably
only interested in related PRs when the livecheck version differs, so
we can reduce GitHub API requests by skipping the check(s) when the
versions are equal. We use `bump` in `autobump` workflows, so this
should help with recent rate limiting issues (e.g., 3203 out of 3426
autobumped formulae were up to date in a recent run).

This also reworks the output for duplicate PRs, making it clear when
`bump` skipped checking PRs (as printing "none" would suggest that
PRs were checked) and only printing the "Maybe duplicate" information
when checked. This makes it a little easier to understand what `bump`
has done internally from the output.
2024-11-24 20:50:37 -05:00
Douglas Eichelberger
ccfc8bfbe6 Remove :final from Requirement#satisfied? sig 2024-11-24 15:49:49 -08:00
Eric Knibbe
51be1d9652
revert setting --insecure to download ca-certificates 2024-11-24 14:57:32 -05:00
Markus Reiter
969005a505
Prevent race condition when deleting lock files. 2024-11-24 01:29:42 +01:00
Markus Reiter
4bd75d4235
Fix incorrect download locking. 2024-11-24 00:03:31 +01:00
Douglas Eichelberger
cb1c49e06b Fix sigs 2024-11-23 10:25:45 -08:00
Douglas Eichelberger
89e640c567 Remove OpenStruct from Uses cmd 2024-11-22 21:04:51 -08:00
Ruoyu Zhong
3b1d59d8c4
Merge pull request #18804 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.25.2
build(deps-dev): bump minitest from 5.25.1 to 5.25.2 in /Library/Homebrew
2024-11-23 03:27:49 +08:00
BrewTestBot
9ee4ad8891
Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-22 19:15:54 +00:00
BrewTestBot
71a557b32f
brew vendor-gems: commit updates. 2024-11-22 19:15:43 +00:00
BrewTestBot
2e817ea991
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-22 19:15:22 +00:00
BrewTestBot
a910ab7886
brew vendor-gems: commit updates. 2024-11-22 19:15:13 +00:00
dependabot[bot]
0b513dbaeb
build(deps-dev): bump minitest in /Library/Homebrew
Bumps [minitest](https://github.com/minitest/minitest) from 5.25.1 to 5.25.2.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/minitest/minitest/compare/v5.25.1...v5.25.2)

---
updated-dependencies:
- dependency-name: minitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 18:57:25 +00:00
dependabot[bot]
cc4039cb12
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.22.0...v0.22.1)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 18:56:49 +00:00
Mike McQuaid
3a5b17a421
Merge pull request #18801 from Homebrew/enforce-final
Enforce finalized sorbet methods
2024-11-22 09:03:04 +00:00
Douglas Eichelberger
33d9267d7d Enforce finalized sorbet methods 2024-11-21 18:34:11 -08:00
Eric Knibbe
86ada937cb
formula_installer: re-enable mirror usage when installing via API 2024-11-21 16:55:19 -05:00
BrewTestBot
d5d6734d18
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-21 16:13:28 +00:00
BrewTestBot
7aaad8fd8d
brew vendor-gems: commit updates. 2024-11-21 16:13:18 +00:00
dependabot[bot]
befc1e2d17
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.21.3 to 0.22.0.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.21.3...v0.22.0)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 16:09:06 +00:00
Jamin Thornsberry
c5253b23c2 Remove fish command completions for excluded commands
This removes fish command completions (but keeps argument completions)
for commands in the `COMPLETIONS_EXCLUSION_LIST` list.

It also removes unnecessary exclusions of `*instal` aliases in command
suggestions in bash and fish completions, since those were removed from
`internal_commands_list.txt` in Homebrew#10229. This makes
`COMPLETIONS_EXCLUSION_LIST` the single source of truth for commands to
exclude from completions.
2024-11-20 17:35:42 -06:00
Mike McQuaid
d8242dafd1
Merge pull request #18768 from Homebrew/revamp_installed_on_request
Revamp installed_on_request handling
2024-11-20 08:29:14 +00:00
Bevan Kay
7c5e59e8a4
generate-cask-ci-matrix-syntax: allow no argument for syntax-only jobs 2024-11-19 20:32:12 +11:00
Mike McQuaid
4d4531c19d
Revamp installed_on_request handling
- `reinstall` and `upgrade` no longer mark as installed on request,
  with or without names specified, but preserve the version from the
  tab instead
- default `install_on_request` to `false` rather than `true`
- only set installed in request in a tab if it's missing rather than
  false

Co-authored-by: Michael Cho <michael@michaelcho.dev>
2024-11-19 08:39:55 +00:00
BrewTestBot
2bbdd104c4
Update RBI files for kramdown.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-18 19:03:09 +00:00
BrewTestBot
270702079a
brew vendor-gems: commit updates. 2024-11-18 19:03:01 +00:00
dependabot[bot]
c1bb241e69
build(deps-dev): bump kramdown from 2.5.0 to 2.5.1 in /Library/Homebrew
Bumps [kramdown](https://github.com/gettalong/kramdown) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/gettalong/kramdown/releases)
- [Changelog](https://github.com/gettalong/kramdown/blob/master/doc/news.page)
- [Commits](https://github.com/gettalong/kramdown/commits)

---
updated-dependencies:
- dependency-name: kramdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 18:39:50 +00:00
BrewTestBot
30142b6859
Update RBI files for kramdown.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-18 15:26:04 +00:00
BrewTestBot
d1550da726
brew vendor-gems: commit updates. 2024-11-18 15:25:57 +00:00
dependabot[bot]
443c9e3863
build(deps-dev): bump kramdown from 2.4.0 to 2.5.0 in /Library/Homebrew
Bumps [kramdown](https://github.com/gettalong/kramdown) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/gettalong/kramdown/releases)
- [Changelog](https://github.com/gettalong/kramdown/blob/master/doc/news.page)
- [Commits](https://github.com/gettalong/kramdown/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 15:23:37 +00:00
Mike McQuaid
50cac383c7
Merge pull request #18784 from Homebrew/uninstall-unignore-deps
uninstall: don't ignore deps even for developers
2024-11-18 08:50:04 +00:00
Mike McQuaid
a12a215239
Merge pull request #18778 from elijaholmos/too-many-prs-saml-patch
fix: `too_many_open_prs()` fails without SSO access
2024-11-18 08:49:53 +00:00
Bevan Kay
597f5fa018
generate-cask-ci-matrix: fix incorrect error raised 2024-11-18 12:59:56 +11:00
Elijah Olmos
ba4dfb2664
Update Library/Homebrew/utils/github.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-11-17 15:06:34 -07:00
Ruoyu Zhong
f2cb33011a
uninstall: don't ignore deps even for developers
This was discussed a while back on Slack. The idea behind this is that
ignoring dependencies during `brew uninstall` makes it too easy to break
things, even for developers. Those who know what they are doing can, and
IMO should, always use the `--ignore-dependencies` flag.
2024-11-18 00:13:12 +08:00
Mike McQuaid
22fd47b268
Merge pull request #18779 from kiracus/m4
Add M4 processor
2024-11-17 08:46:22 +00:00
Mike McQuaid
edacadeaf0
Merge pull request #18780 from alebcay/rename-none-dunno
hardware: rename none optimization flags to dunno
2024-11-17 08:45:55 +00:00
Mike McQuaid
42b66549c8
Merge pull request #18594 from bevanjkay/determine-cask-runners
add `generate-cask-ci-matrix` command
2024-11-17 08:42:54 +00:00
Kiracus
46389dee24 cpu_spec.rb: add Apple M4 2024-11-16 16:27:11 -08:00
BrewTestBot
a2c40daebf
Update RBI files for pry.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-11-17 00:24:32 +00:00
BrewTestBot
432146091b
brew vendor-gems: commit updates. 2024-11-17 00:24:22 +00:00
dependabot[bot]
6e65a77a27
build(deps-dev): bump pry from 0.14.2 to 0.15.0 in /Library/Homebrew
Bumps [pry](https://github.com/pry/pry) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/pry/pry/releases)
- [Changelog](https://github.com/pry/pry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pry/pry/compare/v0.14.2...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-17 00:23:05 +00:00
Caleb Xu
878d5d1633
hardware: rename none optimization flags to dunno 2024-11-16 14:44:37 -05:00
Kiracus
c7b49d5cad cpu.rb: add Apple M4 2024-11-16 09:28:44 -08:00
Bevan Kay
dd3ad5bb56
add generate-cask-ci-matrix command 2024-11-16 22:19:09 +11:00
Elijah Olmos
3922140f9a
push uncommitted code 2024-11-15 18:07:48 -07:00
Elijah Olmos
d068496aa5
chore: remove debug statement 2024-11-15 17:49:10 -07:00