Mike McQuaid
08e5122036
Merge pull request #18340 from Homebrew/revert-18329-limit-annotations
...
Revert "Limit usage of GitHub Actions Annotations"
2024-09-16 17:49:45 +01:00
Mike McQuaid
547677c810
Merge pull request #18341 from Homebrew/add-warning-silence-suggestions
...
cli/named_args: update `package_conflicts_message`
2024-09-16 17:40:07 +01:00
Mike McQuaid
8f5c74592e
Merge pull request #18328 from notfirefox/fix-rubocop-cache
...
style: resolve symblic links in `HOMEBREW_CACHE`
2024-09-16 17:23:51 +01:00
Carlo Cabrera
2101411c0a
cli/named_args: update package_conflicts_message
...
Let's also show users the right way to silence this message.
Follow-up to #18330 .
2024-09-17 00:23:15 +08:00
Mike McQuaid
8fd78bffce
Merge pull request #18330 from Homebrew/package-conflicts-message-quiet
...
cli/named_args: silence `package_conflicts_message` with `--quiet`
2024-09-16 17:00:04 +01:00
Mike McQuaid
1c390093f8
Revert "Limit usage of GitHub Actions Annotations"
2024-09-16 16:52:03 +01:00
Bo Anderson
337ac07980
dev-cmd/generate-cask-api: fix handling of +
characters
2024-09-16 16:25:19 +01:00
Bo Anderson
a434e516cd
formula_installer: fix fetch call
2024-09-16 15:03:58 +01:00
Carlo Cabrera
bb20b3c720
os/linux/ld: harden brewed_ld_so_diagnostics
against TypeError
...
I think this is a bug in Ruby, but I've no idea how to track it down. I
can reproduce it intermittently in a codespace when `brew install`ing a
large number of formulae.
To work around this:
- cache the return value of `brewed_ld_so_diagnostics` so that we can
limit the number of calls to `IO.popen`
- retry once when we see a `TypeError`
Closes #17828 .
2024-09-16 20:26:35 +08:00
notfirefox
bb4208ebf1
style: resolve symblic links in HOMEBREW_CACHE
...
On Linux HOMEBREW_CACHE may be set to `$HOME/.cache/Homebrew`. Some
systems, like Fedora Silverblue, have `/home` set up to be a symbolic
link to `/var/home`. While Homebrew generally seems to work fine on
Fedora Silverblue, rubocop causes the `brew style` command to emit
a lot of warnings because of the symbolic link[1]. This can be resolved
by looking up the real path of HOMEBREW_CACHE before passing it to rubocop.
[1] https://github.com/rubocop/rubocop/issues/6228
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-09-16 09:50:48 +02:00
Carlo Cabrera
076c4e01f2
Merge pull request #18334 from Homebrew/NoSuchKegFromTapError
2024-09-16 12:59:35 +08:00
Bo Anderson
eb93d844d8
Fix NoSuchKegFromTapError handling
2024-09-16 05:46:14 +01:00
Bo Anderson
2985b16369
Merge pull request #18331 from Homebrew/debug-symbols-prefix
...
shims/super/cc: don't strip prefixes with `--debug-symbols`
2024-09-16 05:07:46 +01:00
Bo Anderson
505d184a16
Merge pull request #18332 from Homebrew/manifest-error-fix
...
software_spec: fix invalid manifest handling
2024-09-16 01:31:39 +01:00
Bo Anderson
45c88cc508
software_spec: fix invalid manifest handling
2024-09-16 00:39:53 +01:00
Bo Anderson
0820c19417
shims/super/cc: don't strip prefixes with --debug-symbols
2024-09-15 19:07:12 +01:00
Carlo Cabrera
150e14f83d
cli/named_args: silence package_conflicts_message
with --quiet
...
Based on feedback from Homebrew/discussions#5602 .
While users can already silence this by passing `--formula` or `--cask`
as required, I am inclined to agree that `--quiet` should probably
silence messages that are relatively low priority (of which I think this
is one).
2024-09-15 18:51:06 +08:00
Carlo Cabrera
c6e2cd9037
Limit usage of GitHub Actions Annotations
...
- only use annotations for `opoo` and `onoe` if
`HOMEBREW_GITHUB_ACTIONS` is set. This will make using `brew` less
noisy in GitHub Actions for third parties. See
Homebrew/discussions#5602 .
- if we've already called `puts_annotation_if_env_set`, then we no
longer need to print the message to `$stderr`. The message from the
annotation already show up in the GitHub Actions log, so printing to
`$stderr` just leads to duplicate messages in the log.
While we're here, let's make sure to forward the `file:` and `line:`
kwargs of `puts_annotation_if_env_set` to the `Annotation` constructor.
2024-09-15 11:31:54 +08:00
BrewTestBot
4430030b0d
brew vendor-gems: commit updates.
2024-09-13 15:03:13 +00:00
dependabot[bot]
c4653cdb02
build(deps-dev): bump rubocop-md in /Library/Homebrew
...
Bumps [rubocop-md](https://github.com/rubocop/rubocop-md ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rubocop/rubocop-md/releases )
- [Changelog](https://github.com/rubocop/rubocop-md/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-md/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: rubocop-md
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 14:59:30 +00:00
Mike McQuaid
51b9200f6e
Merge pull request #18314 from Homebrew/sequoia-runner-for-bottled-formulae
...
Deploy Sequoia runner, 🔪 Monterey
2024-09-13 08:36:53 +01:00
Carlo Cabrera
51c4421409
Change default Homebrew/core CI runners
...
We will now build on Ventura (macOS 13) to Sequoia (macOS 15).
Runners for macOS 15-x86_64 will not be allocated by default due to a
lack of appropriate hardware.
2024-09-12 22:06:10 +08:00
Carlo Cabrera
623e1766dd
cmd/shellenv: use long flags for fish
...
This will make the output more readable. We tend to prefer long flags
elsewhere anyway.
2024-09-12 16:49:23 +08:00
Carlo Cabrera
c5d09b4117
Merge pull request #18304 from WinkelCode/fish-path-order-fix
2024-09-12 16:40:12 +08:00
Carlo Cabrera
a4b433895c
exceptions: skip #fetch_issues
is HOMEBREW_NO_BUILD_ERROR_ISSUES
is set
...
This will allow us to set `HOMEBREW_NO_BUILD_ERROR_ISSUES` in our
workflows, which will avoid needlessly burning through our rate limit.
2024-09-12 14:05:30 +08:00
Carlo Cabrera
0fb4d515e5
Merge pull request #18312 from Homebrew/cargo-parallel
2024-09-12 02:28:15 +08:00
Carlo Cabrera
a9591c712f
formula: make cargo
respect Homebrew-managed parallelism
...
`cargo` doesn't follow setting `HOMEBREW_MAKE_JOBS` or
`ENV.deparallelize`. Let's fix that.
2024-09-12 02:16:01 +08:00
Carlo Cabrera
d2c443afce
Merge pull request #18310 from cho-m/m4-env
2024-09-12 02:10:04 +08:00
BrewTestBot
5dd6ad3a1b
Update RBI files for vernier.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-09-11 16:29:58 +00:00
BrewTestBot
72860b6135
brew vendor-gems: commit updates.
2024-09-11 16:29:44 +00:00
dependabot[bot]
041b01f0dd
build(deps-dev): bump vernier from 1.1.2 to 1.2.1 in /Library/Homebrew
...
Bumps [vernier](https://github.com/jhawthorn/vernier ) from 1.1.2 to 1.2.1.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.1.2...v1.2.1 )
---
updated-dependencies:
- dependency-name: vernier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 16:27:12 +00:00
Mike McQuaid
491b9d4fa1
Merge pull request #18309 from Homebrew/linker-flag-parsing
...
shims/super/cc: fix linker flag parsing
2024-09-11 17:12:56 +01:00
Michael Cho
99d81b4717
ENV/super: replace m4 shim with M4 variable
...
The problem is the shim can end up getting baked into formula binaries
(e.g. `flex`) or cause odd issues when mixed up with brew `m4`, e.g.
https://github.com/Homebrew/homebrew-core/issues/180040
2024-09-11 11:33:44 -04:00
Carlo Cabrera
f3d1dd165d
shims/super/cc: fix linker flag parsing
...
Our parsing of linker flags can be easily confused by, e.g.,
-Wl,-undefined -Wl,dynamic_lookup,-dead_strip_dylibs
The current code that tries to detect these flags will erroneously
conclude that they were not passed.
This change fixes that.
2024-09-11 22:53:04 +08:00
Rylan Polster
6cc232c205
Include formula name in no-URL error
2024-09-11 10:45:28 -04:00
Carlo Cabrera
9c8068793b
Merge pull request #18307 from Homebrew/cmake-log-files
2024-09-11 22:28:55 +08:00
Mike McQuaid
b29549eaed
Merge pull request #18296 from fxcoudert/sequoia_rc
...
Make Sequoia supported
2024-09-11 13:31:36 +01:00
Carlo Cabrera
c51bb196d1
tests: update determine-test-runners
tests
...
We've decoupled the macOS versions there from
`MacOSVersion#supported_release?`, so these tests need updating.
2024-09-11 20:20:08 +08:00
Francois-Xavier Coudert
4ab19e09da
Make Sequoia supported
2024-09-11 09:00:37 +01:00
Mike McQuaid
057ee664dd
Merge pull request #17823 from Homebrew/load-installed-casks
...
Set correct tap when loading installed casks
2024-09-11 08:57:37 +01:00
Carlo Cabrera
4335e0f5ff
formula: update CMake log files
...
New versions of CMake no longer generate the log files that we look for.
Instead, they generate `CMakeConfigureLog.yaml`, so let's keep that
instead.
2024-09-11 14:57:16 +08:00
Carlo Cabrera
1e07fb2841
Remove :big_sur
GitHub macOS runner
...
https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-09-11 11:51:35 +08:00
Carlo Cabrera
d0d1d451ae
github_runner_matrix: decouple macOS versions from MacOSVersion#supported_release?
...
See discussion at #18296 .
2024-09-11 11:25:53 +08:00
WinkelCode
d6043f1554
shellenv.sh: Move fish PATHs to front if they exist
2024-09-10 22:46:17 +02:00
Carlo Cabrera
d20fdada4a
Merge pull request #18302 from Homebrew/silence-shellenv-errors
2024-09-11 03:37:59 +08:00
Carlo Cabrera
4f03226a10
shellenv: silence errors from writing to HOMEBREW_PATHS_FILE
...
Fixes #18301 .
2024-09-11 03:26:54 +08:00
BrewTestBot
1b30b316cb
Update RBI files for parallel_tests.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-09-10 18:31:41 +00:00
BrewTestBot
7c9b6da492
brew vendor-gems: commit updates.
2024-09-10 18:31:28 +00:00
dependabot[bot]
e2bb54fbde
build(deps-dev): bump parallel_tests in /Library/Homebrew
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 4.7.1 to 4.7.2.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md )
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.7.1...v4.7.2 )
---
updated-dependencies:
- dependency-name: parallel_tests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 18:28:36 +00:00
Rylan Polster
b1db0ee290
Rename load method when preferring installed casks
2024-09-10 13:54:12 -04:00