Patrick Linnane
6c44d1a8f1
Merge pull request #20681 from Homebrew/support-tahoe-drop-mojave
...
Support Tahoe, drop Mojave and older
2025-09-14 19:55:06 +00:00
Michael Cho
f5c11fa342
Check host libstdc++ for brew gcc
dependency
...
For most formulae, the bottles need a minimum libstdc++ rather than a
minimum GCC version. This is particularly important when building on
Ubuntu where the default compiler version is older than libstdc++.
So, checking the host libstdc++ version is a more accurate way to
determine whether brew GCC is needed at runtime. This can be improved in
the future to check symbol versions (e.g. GLIBCXX, CXXABI, GLIBC) which
can allow some bottles to be installed even with older glibc/libstdc++.
2025-09-12 14:15:56 -04:00
Patrick Linnane
e63c885033
Support Tahoe, drop Mojave and older
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-09-12 10:40:19 -07:00
Michael Cho
eda9e78529
Merge pull request #20633 from Homebrew/ld-system
...
os/linux/ld: add support for using system ld.so
2025-09-12 13:19:40 +00:00
Mike McQuaid
5f4e42a2c8
Merge pull request #20656 from Homebrew/copilot/fix-cask-rename-issue-linux
...
Fix Cask artifact rename operation on Linux by making xattr metadata no-op
2025-09-12 08:49:14 +00:00
copilot-swe-agent[bot]
3e413b4521
Fix Cask artifact rename operation on Linux by making xattr metadata no-op
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-12 09:30:17 +01:00
copilot-swe-agent[bot]
6297f98d06
Fix symlinked tap loading issue in cask loader
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-12 09:02:43 +01:00
Mike McQuaid
a31fb2a6c2
Add additional brew contributions
functionality.
...
- Add an `--organisation` flag to search a specific organisation.
- Wait for the GitHub API rate limit to reset before automatically
retrying.
- Use (much) fewer API calls by using organisation-wide API PR searches
rather than per-repository. This makes the rate limit easier to avoid
and also makes things much faster (with the trade-off of showing a max
PR count per-user rather than per-repository).
- Improve output to clarify when the max PR/commit count is reached.
- Move more logic and add more Sorbet signatures to the `GitHub` and
`Utils::Git` modules.
- Rename a few GitHub API methods.
- Remove a lot of (now unused) `GitHub` module methods.
- Add, use a `Tap#full_repository` method.
- Add `formula-analytics` as a deprecated tap.
2025-09-10 15:32:06 +01:00
Mike McQuaid
efc036f75a
Merge pull request #20613 from Homebrew/dug/typed-system-command
...
Enable strict typing in SystemCommand
2025-09-08 07:32:58 +00:00
Michael Cho
896edb4451
os/linux/ld: add support for using system ld.so
2025-09-05 09:04:21 -04:00
Eric Knibbe
1c4cb6936e
command options: various --eval-all
fixes
2025-09-05 08:53:44 +01:00
Douglas Eichelberger
fb6c51da07
Enable strict typing in SystemCommand
2025-09-02 10:26:40 -07:00
Bevan Kay
25ed81f14b
test/dev-cmd/unpack_spec: fix test
2025-09-02 15:55:09 +08:00
copilot-swe-agent[bot]
ac6f770cdc
Address review feedback: fix description, use if/else, enable quarantine, improve fetch efficiency, and use local test cask
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:08 +08:00
Patrick Linnane
45a2ef9159
unpack_spec: final newlines are hard for AI
2025-09-02 15:55:08 +08:00
copilot-swe-agent[bot]
88b7d2900a
Address fetching consistency concern and fix cask path handling
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:07 +08:00
copilot-swe-agent[bot]
a9cd0c4b5d
Add cask support to brew unpack command
...
Co-authored-by: p-linnane <105994585+p-linnane@users.noreply.github.com>
2025-09-02 15:55:07 +08:00
Rylan Polster
9c68b548e9
Include aliases and renames in FormulaStub
2025-08-26 17:02:57 -04:00
Issy Long
fee0e1543f
Merge pull request #20583 from Homebrew/encourage-adding-to-head-branch-allowlist
...
Encourage using a default branch for HEAD core formulae
2025-08-26 13:02:02 +00:00
Issy Long
577aec3f60
Encourage using a default branch for HEAD core formulae
...
- We don't mind if third-party taps have non-default HEAD branches - they have their reasons.
- But we want -core to be consistent, hence why there's the allowlist file.
- https://github.com/Homebrew/brew/pull/20402#discussion_r2292366323
2025-08-26 14:26:11 +02:00
Rylan Polster
9a93b15a7a
Fix WriteMkpathExtension
tests
2025-08-26 03:12:40 -04:00
Rylan Polster
763531e821
Extract Pathname
refinement from Formulary
2025-08-25 04:08:42 -04:00
Mike McQuaid
0eb0c11dc3
Merge pull request #20563 from Homebrew/dug/formula-support-rename
...
Rename formula_support to keg_only reason, refactor slightly
2025-08-25 07:31:51 +00:00
Rylan Polster
9153a22fc9
Fix utils/autoremove
tests
2025-08-25 01:07:53 -04:00
Douglas Eichelberger
6a25de5daf
Rename formula_support to keg_only reason, refactor slightly
2025-08-24 14:57:19 -07:00
Mike McQuaid
74ec33d3d2
Merge pull request #20547 from Homebrew/mcp_dev_cmds
...
Improve MCP server with development commands.
2025-08-23 19:57:46 +00:00
Bevan Kay
2b151d30e7
rubocop: replace :unsigned
automatically
2025-08-23 13:13:48 +10:00
Mike McQuaid
addff82ff4
Improve MCP server with development commands.
...
Add these extra commands, better argument handling, progress reporting
(for long-running commands), some basic refactoring and mention these
commands and flags in the Copilot instructions.
2025-08-22 15:51:14 +01:00
Mike McQuaid
3bbff84ff1
Merge pull request #20525 from Homebrew/utils_output
...
Move `o*` output methods to `Utils::Output`
2025-08-22 09:10:29 +00:00
Ruoyu Zhong
625a6c08eb
test/cli/parser: add one more test
2025-08-22 02:04:55 +08:00
Ruoyu Zhong
33a2f410af
cli/parser: convert switch env values to boolean
...
Since switch values are boolean, we should be returning the environment
variable's presence instead of its string value.
Fixes #20531 .
2025-08-22 01:59:54 +08:00
Mike McQuaid
a1f112f3fe
Move o*
output methods to Utils::Output
...
This reduces the surface area of our `Kernel` monkeypatch and removes
the need to `include Kernel` in a bunch of modules.
While we're here, also move `Kernel#require?` to `Homebrew` and fully
scope the calls to it.
2025-08-20 19:20:19 +01:00
copilot-swe-agent[bot]
8b10231085
Fix conflicts_with stanza odeprecated method call issue
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-19 17:07:37 +01:00
copilot-swe-agent[bot]
7f6b4bee93
Implement SHA256 architecture audit as RuboCop rule
...
Co-authored-by: p-linnane <105994585+p-linnane@users.noreply.github.com>
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-19 14:45:01 +01:00
Mike McQuaid
a71d5e835f
More Sorbet typed: strict
files
...
Add the necessary changes for Sorbet `typed: strict` in more files.
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2025-08-19 13:03:08 +01:00
Mike McQuaid
e29749fcc2
Merge pull request #20496 from Homebrew/update-report-desc-non-api
...
cmd/update-report: show new formula/cask desc for non-API users too
2025-08-19 07:25:39 +00:00
Ruoyu Zhong
b45f0ecd2e
test/cmd/update-report: fix test
2025-08-19 14:59:40 +08:00
Bevan Kay
69145c911d
cask/dsl/rename: add api support
2025-08-19 11:47:15 +10:00
Mike McQuaid
3518983f42
Merge pull request #20499 from Homebrew/deprecate_conflicts_with_formula
...
Deprecate `conflicts_with formula:` in Cask DSL.
2025-08-18 18:48:42 +00:00
Mike McQuaid
d13aaf94db
Deprecate conflicts_with formula:
in Cask DSL.
...
This is outside of our usual deprecation process but it's a no-op method
that does, and has always done, nothing so it doesn't make sense to wait
another 2.5 months before deprecating it.
While we're here, make `conflicts_with` `typed: strict` in Sorbet.
2025-08-18 19:25:54 +01:00
Mike McQuaid
0cadd6d0c1
Merge pull request #20487 from Homebrew/formulary-forbid-cache
...
formulary: do not allow using the cache when forbidding paths
2025-08-18 15:54:34 +00:00
Bo Anderson
b1b28fb2f4
formulary: forbid cache paths
2025-08-18 15:24:02 +01:00
Bevan Kay
9a60526c47
test/cask: speed up tests
2025-08-19 00:11:51 +10:00
Bevan Kay
97b1683466
cask: replace unsigned
deprecation reason with fails_gatekeeper_check
2025-08-18 18:04:57 +10:00
Mike McQuaid
24057cc9a5
Merge pull request #20485 from SMillerDev/feat/audit/codeberg_audit
...
feat: audit codeberg repos
2025-08-18 07:50:25 +00:00
Bo Anderson
b30d13c3ef
formulary: do not allow using the cache if explicitly forbidding paths
2025-08-18 05:33:02 +01:00
Sean Molenaar
b19ad2e796
feat: audit codeberg repos
2025-08-17 17:08:33 +02:00
Douglas Eichelberger
793da6e0be
Remove unused 'which_all' Kernel ext
2025-08-16 16:18:26 -07:00
Eric Knibbe
827480f06b
messages/comments: wording fixes
2025-08-16 00:57:59 -04:00
Eric Knibbe
e021953db4
messages/comments: formatting fixes
2025-08-16 00:54:50 -04:00