38521 Commits

Author SHA1 Message Date
Markus Reiter
c5a877d7db
Simplify test. 2024-02-14 20:28:07 +01:00
Markus Reiter
22bb15748b
Simplify conditional. 2024-02-14 20:28:07 +01:00
Markus Reiter
ba29328b59
Avoid T.cast. 2024-02-14 20:28:07 +01:00
Markus Reiter
61a283ee45
Fix loading versioned casks/formulae from API. 2024-02-14 20:28:07 +01:00
Markus Reiter
0626f62077
Remove redundant debug output. 2024-02-14 20:28:06 +01:00
Markus Reiter
0f4d912de5
Remove Formulary::tap_paths again. 2024-02-14 20:28:06 +01:00
Markus Reiter
ecee4aed35
Revert diagnostic change. 2024-02-14 20:28:06 +01:00
Markus Reiter
d70f719411
Fix code style. 2024-02-14 20:28:06 +01:00
Markus Reiter
4641690674
Refactor Formulary::loader_for. 2024-02-14 20:28:06 +01:00
Mike McQuaid
dda1785053
Merge pull request #16656 from MikeMcQuaid/static_libraries
Acceptable-Formulae: update static library guidance.
2024-02-14 19:18:51 +00:00
Mike McQuaid
7220d943c3
Update docs/Deprecating-Disabling-and-Removing-Formulae.md
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-02-14 19:17:24 +00:00
Mike McQuaid
ad25b5a776
Update docs/Acceptable-Formulae.md
Co-authored-by: Michael Cho <michael@michaelcho.dev>
2024-02-14 19:17:02 +00:00
Mike McQuaid
03224ccba0
Update docs/Deprecating-Disabling-and-Removing-Formulae.md
Co-authored-by: Michael Cho <michael@michaelcho.dev>
2024-02-14 19:16:51 +00:00
Mike McQuaid
be859520fc
Merge pull request #16657 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11255
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-14 19:15:49 +00:00
BrewTestBot
1eb8811aec
brew vendor-gems: commit updates. 2024-02-14 18:52:02 +00:00
dependabot[bot]
ccf9f9810e
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.11249 to 0.5.11255
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11249 to 0.5.11255
- [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-14 18:50:30 +00:00
Mike McQuaid
5e641f0d72
Update docs/Acceptable-Formulae.md
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-02-14 17:32:00 +00:00
Mike McQuaid
efbc4683aa
Update docs/Deprecating-Disabling-and-Removing-Casks.md
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-02-14 17:11:52 +00:00
Mike McQuaid
ba1c0951e9
Update docs/Deprecating-Disabling-and-Removing-Casks.md
Co-authored-by: Michael Cho <michael@michaelcho.dev>
2024-02-14 17:11:44 +00:00
Mike McQuaid
20f4638c70
Update docs/Acceptable-Casks.md
Co-authored-by: Michael Cho <michael@michaelcho.dev>
2024-02-14 17:11:34 +00:00
Mike McQuaid
32abc3b1e6
Update docs/Deprecating-Disabling-and-Removing-Casks.md
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-02-14 17:11:09 +00:00
Mike McQuaid
fe90e98f79
Update docs/Acceptable-Formulae.md 2024-02-14 17:09:01 +00:00
Mike McQuaid
7e7096ba14
Update docs/Acceptable-Formulae.md
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-02-14 16:14:22 +00:00
Mike McQuaid
bb57a09be0
Acceptable-Formulae: update static library guidance.
Resulting from discussion in https://github.com/Homebrew/homebrew-core/pull/162352
2024-02-14 08:50:24 +00:00
Mike McQuaid
2cdfea71e7
Apply suggestions from code review
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-02-14 08:48:01 +00:00
Mike McQuaid
24c8c0e745
Merge pull request #16654 from reitermarkus/fix-cask-rename-warning
Fix cask migration warnings.
2024-02-14 08:35:13 +00:00
Ruoyu Zhong
3a437ae6e5
Merge pull request #16655 from rrthomas/patch-1
Fix syntax of `brew audit` call
2024-02-14 06:22:00 +08:00
Reuben Thomas
bc90f94710
Fix syntax of brew audit call
`--new-formula` is now simply `--new`.
2024-02-13 21:19:41 +00:00
Markus Reiter
876535c670
Use HOMEBREW_DEFAULT_TAP_CASK_REGEX in FromDefaultNameLoader. 2024-02-13 21:52:45 +01:00
Markus Reiter
228ebe0c32
Add tests for formula migration warnings to default tap. 2024-02-13 21:27:36 +01:00
Markus Reiter
c8058a3859
Add tests for cask migrations to default tap. 2024-02-13 21:27:36 +01:00
Markus Reiter
d506645667
Add separate loader for default tap. 2024-02-13 21:25:52 +01:00
Markus Reiter
1c4b06fce2
Merge pull request #16647 from reitermarkus/uses_from_macos_sig
Refactor and add type signature for `uses_from_macos`.
2024-02-13 19:36:11 +01:00
Ruoyu Zhong
283c52f45a
Merge pull request #16652 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11249
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-02-14 02:31:10 +08:00
Markus Reiter
7f369c500b
Merge pull request #16648 from reitermarkus/tap-migrations-rename
Allow tap migrations with renames.
2024-02-13 19:26:51 +01:00
BrewTestBot
dfb9ab5810
brew vendor-gems: commit updates. 2024-02-13 18:20:39 +00:00
dependabot[bot]
b3a1a69819
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.11247 to 0.5.11249
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11247 to 0.5.11249
- [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-13 18:18:50 +00:00
Markus Reiter
3472362ddd
Don't stub all Pathnames in tests. 2024-02-13 18:46:58 +01:00
Markus Reiter
27189f4aba
Fix stubbing casks in tests. 2024-02-13 18:44:00 +01:00
Mike McQuaid
49ddb57527
Merge pull request #16651 from razvanazamfirei/fish-completions
completions: improve list of available services and outdated checks
2024-02-13 13:40:43 +00:00
Razvan Azamfirei
493028f667
completions: improve list of available services and outdated checks 2024-02-13 07:36:41 -05:00
Mike McQuaid
63e1c540fd
Update Acceptable/Deprecating/Forks/Versions docs
As discussed at the AGM:
- Only allow formula/cask forks to be used when either blessed by
  the source or used by two other major distributions,
- Further elaborate and tweak reasons to deprecate/disable formulae.
- Allow more versioned formulae when widely used.
- Add a document (based on above) for deprecating/disabling casks.

While we're here:
- let VSCode Markdown linting remove the trailing `!` from an
  Acceptable Casks heading
2024-02-13 10:13:44 +00:00
Mike McQuaid
eb9ac8d3e5
Merge pull request #16650 from Homebrew/cask_upgrade_spec_flaky
test/cask/upgrade_spec: remove flaky specs.
2024-02-13 09:47:42 +00:00
Mike McQuaid
21566fc625
Merge pull request #16649 from sazriel26/parse-git-token
update.sh: parse GitHub API token from repository URL
2024-02-13 09:44:56 +00:00
Mike McQuaid
0b04a7bdfc
test/cask/upgrade_spec: remove flaky specs.
BuildPulse (and my interactions with CI on this repository) have shown
this tests to be very flaky. Flaky tests are not useful tests so let's
just delete them and they can be re-added if fixed in future.
2024-02-13 09:38:04 +00:00
Sharon Azriel
a1fbbc323a [update.sh] New test with protection of Homebrew directory 2024-02-13 10:02:18 +02:00
sazriel26
807b3e3394 Update Library/Homebrew/cmd/update.sh
https://github.com/Homebrew/brew/pull/16289#discussion_r1448765696

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
835762b289 Ready for review? 2024-02-13 10:02:18 +02:00
sazriel26
3d0f543b63 Update Library/Homebrew/cmd/update.sh
Remove one empty line?

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
d9a38e76a9 Brew style --fix (applied) 2024-02-13 10:02:18 +02:00