Mike McQuaid
818662352c
mcp_server: fix EOF handling.
...
We need to handle when `stdin` is closed but there's no interrupt
signal.
Without this, the server will be stuck an in infinite busy loop.
2025-06-23 16:50:39 +01:00
Mike McQuaid
55f65ec375
audit: ensure that official formula and cask names don't conflict.
...
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2025-06-23 16:08:13 +01:00
Mike McQuaid
c19f08b3e8
Merge pull request #20158 from Homebrew/revert-20145-some-bundle-files-werent-typed-at-all-but-now-some-are
...
Revert "Make some of the `bundle` commands Sorbet `typed: true`"
2025-06-23 13:04:48 +00:00
Mike McQuaid
68dbf12220
Revert "Make some of the bundle
commands Sorbet typed: true
"
2025-06-23 13:52:35 +01:00
Carlo Cabrera
6a7416c296
language/*: fix *_SHEBANG_REGEX
anchors
...
We should use `\A` to pick up shebangs at the start of files instead of
just anywhere in a given script.
See Homebrew/homebrew-core#227654 for an example where this can cause
problems.
2025-06-23 20:32:55 +08:00
Mike McQuaid
cfede01ea9
Merge pull request #20155 from Homebrew/core-caveats
...
rubocops/caveats: only apply dynamic logic check to core.
2025-06-23 08:17:08 +00:00
Mike McQuaid
984273be76
Merge pull request #20153 from Homebrew/brew-doctor-linux-cask-errors
...
Improve `brew doctor` warnings about `xattr` and cask quarantine
2025-06-23 08:07:30 +00:00
Mike McQuaid
afa5d50b36
rubocops/caveats: only apply dynamic logic check to core.
...
This doesn't really matter for non-API taps.
2025-06-23 08:58:34 +01:00
Mike McQuaid
a6b1d42488
Merge pull request #20154 from abitrolly/brew-audit-v-version
...
create: strip 'v' prefix from version
2025-06-23 07:30:03 +00:00
Rylan Polster
2acd4e4293
Improve messaging with missing xattr
2025-06-22 18:59:52 +00:00
Eric Knibbe
8a4cac0238
download_strategy: fix cvs
checkouts
2025-06-22 14:38:19 -04:00
Eric Knibbe
7e79232512
download_strategy: fossil now outputs hash:
2025-06-22 14:38:19 -04:00
Rylan Polster
12e5e24ce3
Improve brew doctor
warnings about xattr
and cask quarantine
2025-06-22 14:24:22 -04:00
Anatoli Babenia
84505c714d
Fix brew style
"Prefer double-quoted strings"
2025-06-22 18:05:47 +03:00
Anatoli Babenia
eca98d036c
create: strip 'v' prefix from version
...
To fix subsequent `brew audit` error:
* line 8, col 3: Version v0.38.1 should not have a leading 'v'
2025-06-22 17:41:00 +03:00
Rylan Polster
f238d3b494
Merge pull request #20151 from Homebrew/fix-doctor-linux
...
Fix `brew doctor` cask handling on Linux
2025-06-22 10:10:28 +00:00
Rylan Polster
431d8f1ff7
Consistently use ClassMethods
sub-module for prepending class methods
2025-06-21 21:40:57 -04:00
Rylan Polster
267afac198
Remove more monkey-patching in extend/os
2025-06-21 21:34:20 -04:00
Rylan Polster
508c8b606c
Fix DevelopmentTools::ld64_version
on macOS
2025-06-21 21:13:38 -04:00
Rylan Polster
2a7fbd00a9
Fix Cask::Quarantine
class methods on Linux
2025-06-21 21:07:08 -04:00
Rylan Polster
ff79015373
Fix Hardware::CPU::features
on macOS
2025-06-21 21:01:44 -04:00
Rylan Polster
e1873d30d4
Run deprecated cask tap check on all systems
2025-06-21 13:59:58 -04:00
Rylan Polster
031160936f
Split out os-specific cask software version checks
2025-06-21 13:59:57 -04:00
thibhero
2d39c7feb5
making flow easier to understand
2025-06-20 16:41:32 -04:00
thibhero
f674a3ac03
comment
2025-06-20 12:59:15 -04:00
thibhero
a16129fc59
new line to make it easier to understand
2025-06-20 12:36:22 -04:00
thibhero
6d0a77fc79
fixing method refactoring
2025-06-20 12:32:46 -04:00
thibhero
7d7d04bdf5
Merge remote-tracking branch 'tyuwags/master'
2025-06-20 12:29:08 -04:00
thibhero
2fb6105f26
renaming variable
2025-06-20 12:29:02 -04:00
thibhero
90b697995f
renaming parameter, method and struct to make it more understandable
2025-06-20 12:28:38 -04:00
thibhero
0db36b57c8
fetching tab and renaming variables
2025-06-20 12:25:55 -04:00
thibhero
052c0ae2cd
adding parameter to fetch quietly if wanted
2025-06-20 12:25:12 -04:00
Thibaut Hérault
0800faf093
Update Library/Homebrew/upgrade.rb
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-06-20 11:10:36 -04:00
Thibaut Hérault
bcc7f0f796
Update Library/Homebrew/install.rb
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-06-20 11:10:18 -04:00
Mike McQuaid
d0a144520d
Merge pull request #20145 from Homebrew/some-bundle-files-werent-typed-at-all-but-now-some-are
...
Make some of the `bundle` commands Sorbet `typed: true`
2025-06-20 10:58:07 +00:00
Issy Long
68596ec720
Make some of the bundle
commands Sorbet typed: true
...
- The last remaining one is `exec` but that's a bit more involved
(https://github.com/Homebrew/brew/pull/20128#discussion_r2156781591 ).
2025-06-20 10:11:35 +02:00
Mike McQuaid
9d357b57d1
Merge pull request #20135 from Homebrew/forbid_dynamic_caveats
...
rubocops/caveats: check for dynamic caveats.
2025-06-20 07:57:06 +00:00
Anatoli Babenia
dce285458e
Add test for name override with GitHub URLs
2025-06-19 16:28:48 +03:00
Anatoli Babenia
cf2e20d586
Fix version reporting in odebug
messages
2025-06-19 16:18:41 +03:00
Mike McQuaid
f77c9861de
rubocops/caveats: check for dynamic caveats.
...
This will avoid issues with the JSON API.
2025-06-19 10:13:32 +01:00
Mike McQuaid
2cd7a32660
formula_creator: improve code/test style.
2025-06-19 09:02:46 +01:00
Anatoli Babenia
3964186bec
formula_creator: fetch missing version from latest GitHub release
2025-06-19 09:02:36 +01:00
dependabot[bot]
6bfcd62c7c
build(deps): bump urllib3 in /Library/Homebrew/formula-analytics
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.5.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 05:26:06 +00:00
BrewTestBot
4c18ff443c
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml ) workflow.
2025-06-19 00:30:14 +00:00
thibhero
19901b5332
refactoring style to resolve the last discussions
2025-06-18 16:05:19 -04:00
Mike McQuaid
99a8e3a288
Merge pull request #20141 from botantony/enable_no_autobump
...
tap: rely on new autobump list
2025-06-18 14:34:08 +00:00
Mike McQuaid
ccb3543c6c
Merge pull request #20126 from botantony/no_autobump_rubocops
...
rubocops: add `no_autobump!` rubocop
2025-06-18 14:33:37 +00:00
botantony
aecdcd4840
rubocops: add no_autobump!
rubocop
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-18 16:16:12 +02:00
botantony
d0345513e2
tap: rely on new autobump list
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-18 16:16:08 +02:00
Anatoli Babenia
f738fce3d9
formula_creator: test GitHub repo call for archive|releases URLs
2025-06-18 15:07:44 +01:00