29318 Commits

Author SHA1 Message Date
Bo Anderson
54a1f2005a
livecheck: fix implicit no-api handling 2023-07-10 14:50:53 +01:00
Bo Anderson
5b30de880d
Merge pull request #15649 from Bo98/uses_from_macos-audit-fix
formula_auditor: fix macOS system dependency false positive
2023-07-09 15:25:17 +01:00
Issy Long
b9d8fd4f79
Enable issues_for_formula to show only issues, only PRs, or both
- This change is useful for the "these issues are also open for this
  build failure" exception. Hopefully there'll be less noise on PRs with
  people encouraging us to fix things faster if we don't link them to
  WIP PRs (or any PRs at all).
- Fixes https://github.com/Homebrew/brew/issues/ 15608.
2023-07-08 22:15:58 +01:00
BrewTestBot
bfeb4fc642
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-08 00:29:27 +00:00
Bo Anderson
9dc459b026
formula_auditor: fix macOS system dependency false positive 2023-07-07 23:45:03 +01:00
Bo Anderson
4054ab6560
Merge pull request #15638 from Bo98/ci-messages
cmd/update-report: tweak messages for CI
2023-07-07 21:37:19 +01:00
Bo Anderson
623eeb4e47
cmd/update-report: tweak messages for CI 2023-07-07 21:10:21 +01:00
Bo Anderson
0a9e69ffdf
tap: fix handling of taps without formulae 2023-07-07 20:58:22 +01:00
Bo Anderson
dc7a47d0ac
test: drop deprecated uses_from_macos_elements checks 2023-07-07 20:35:54 +01:00
Bo Anderson
8f13cfc529
cmd/update: adjustments for setup-homebrew in brew CI 2023-07-07 19:53:50 +01:00
Mike McQuaid
cb6178596b
Merge pull request #15632 from MikeMcQuaid/deprecate_disable_delete
Deprecate/disable/delete code.
2023-07-07 07:57:50 +01:00
Mike McQuaid
36dfbb515d
Merge pull request #15636 from mfloryan/patch-1
App Management message reflects new System Settings labels
2023-07-06 16:59:20 +01:00
Mike McQuaid
7da934f7e2
Deprecate/disable/delete code.
The next release after this is merged will be 4.1.0.

Co-authored-by: Markus Reiter <me@reitermark.us>
2023-07-06 16:56:20 +01:00
Mike McQuaid
eadac2fb2a
cask/quarantine: tweak wording. 2023-07-06 14:10:13 +01:00
Mike McQuaid
28817dfe6c
cmd/update-report: use api_auto_update_secs default.
Otherwise this can be printed incorrectly.

As reported in https://github.com/Homebrew/brew/pull/14592#issuecomment-1623578695
2023-07-06 13:58:24 +01:00
Marcin Floryan
1b474a508d
App Management message updated
With the update of MacOS from Monterey (12) to Ventura (13) the appearance of the System Settings has changes and the "Security & Privacy" category has been renamed to "Privacy & Security".

I am aware that currently Ventura has a very low adoption rate so this change could be premature.
2023-07-06 14:43:36 +02:00
Bo Anderson
8d1aabba81
tap: warn if tapping core taps under API mode 2023-07-05 21:57:00 +01:00
Mike McQuaid
66fc022106
Merge pull request #14592 from MikeMcQuaid/env_update_prompts
cmd/update-report: nudge people to tweak settings.
2023-07-05 18:28:34 +01:00
Mike McQuaid
b64ed9dc58
cmd/update-report: nudge people to tweak settings.
Nudge people who have set update or analytics related settings to change
them and to run `brew untap` for taps they no longer need.
2023-07-05 17:18:26 +01:00
Mike McQuaid
27dda52a5d
Download tap_migrations.json files from the API
Download the previously stored tap migrations files for homebrew/core
and homebrew/cask from the formulae.brew.sh API.

This adds a much longer stale time (24 hours) to decide whether or not
the migrations files need downloaded from the API in Ruby land.
`brew update` will still update them every time.

Requires https://github.com/Homebrew/brew/pull/15628
Fixes https://github.com/Homebrew/brew/issues/14897
2023-07-05 17:18:12 +01:00
Mike McQuaid
229a1f6c1e
Remove Tap#versioned_formula_files
This doesn't work with the API and the single caller can be
refactored to not need it instead.
2023-07-05 16:28:44 +01:00
Mike McQuaid
9241db1f78
Merge pull request #15628 from MikeMcQuaid/generate_tap_migrations
dev-cmd/generate-*-api: generate tap migrations JSON.
2023-07-05 14:44:43 +01:00
Mike McQuaid
3f3d587665
dev-cmd/generate-*-api: generate tap migrations JSON.
These will be consumed later.

Part of https://github.com/Homebrew/brew/issues/14897
2023-07-05 14:01:09 +01:00
BrewTestBot
8abe34e1d1
sorbet: Autobump sigils via Spoom
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-05 00:31:35 +00:00
BrewTestBot
0ad66f2c46
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-05 00:31:35 +00:00
Mike McQuaid
7ba3b5a6f9
Merge pull request #15626 from Bo98/audit-skip-taps
dev-cmd/audit: don't audit every tap when given named packages
2023-07-04 16:37:44 +01:00
Mike McQuaid
4c8c9b5d6e
Merge pull request #15627 from Bo98/tap-audit-no-api
tap_auditor: fix API data getting mixed in
2023-07-04 16:25:38 +01:00
Bo Anderson
8045ed959a
tap_auditor: fix API data getting mixed in 2023-07-04 16:08:53 +01:00
Bo Anderson
367f716a08
dev-cmd/audit: don't audit every tap with given named packages 2023-07-04 16:08:04 +01:00
Mike McQuaid
93a6335c30
cmd/update: update homebrew/core and homebrew/cask with devcmdrun.
If those folks have this tapped and explicitly run `brew update`:
let's update it from them.
2023-07-04 15:50:59 +01:00
Mike McQuaid
a5a728a4df
Merge pull request #15566 from Bo98/dep-refactor
Refactor some dependency handling to fix various API dependency issues
2023-07-04 14:58:11 +01:00
Mike McQuaid
eb5c27df07
Merge pull request #15620 from Bo98/update-no-core-fetch
cmd/update: don't fetch core taps on manual brew update
2023-07-04 13:58:03 +01:00
Bo Anderson
2d1e9eedbf
build: don't add implicit dependencies to build environment 2023-07-04 13:40:59 +01:00
Bo Anderson
c4077aa076
Support head deps & uses_from_macos bounds in API; strip implicit deps 2023-07-04 13:40:58 +01:00
Bo Anderson
71d51faa55
Introduce tag for implicit dependencies 2023-07-04 13:40:58 +01:00
Bo Anderson
d1b923f314
Introduce UsesFromMacOSDependency
Add Formula#declared_deps and SoftwareSpec#declared_deps
2023-07-04 13:40:55 +01:00
Bo Anderson
53d513695a
Remove TapDependency 2023-07-04 13:31:58 +01:00
Mike McQuaid
fd4f488072
Merge pull request #15544 from Tokarak/cargo_cpu
Apply cpu-optimisation to Rust projects
2023-07-04 12:04:24 +01:00
Mike McQuaid
9cd4475366
Merge pull request #15624 from bayandin/disable-fsmonitor-for-taps
tap: disable fsmonitor for third-party taps
2023-07-04 12:00:22 +01:00
Carlo Cabrera
00db165cd7
Merge pull request #15623 from carlocab/openssl-no-vendor-comment
extend/ENV/super: add comment for `OPENSSL_NO_VENDOR`
2023-07-04 18:59:54 +08:00
Alexander Bayandin
f6e4849c0f
tap: disable fsmonitor for third-party taps 2023-07-04 09:56:57 +00:00
Carlo Cabrera
b214ccd86d
extend/ENV/super: add comment for OPENSSL_NO_VENDOR
This is based on feedback from #15613.
2023-07-04 16:21:35 +08:00
William Woodruff
6ec9575c2a
Merge remote-tracking branch 'origin/master' into ww/update-resources-handle-non-pypi-urls 2023-07-03 16:35:05 -04:00
Carlo Cabrera
9e257fc960
Merge pull request #15613 from carlocab/openssl-no-vendor
extend/ENV/super: set `OPENSSL_NO_VENDOR`
2023-07-04 04:06:01 +08:00
Bo Anderson
7e1efd61a5
cmd/update: don't fetch core taps on manual brew update 2023-07-03 20:03:17 +01:00
Bo Anderson
fa0ccdb3ba
cmd/postgresql-upgrade-database: fix brew not being found 2023-07-03 04:17:36 +01:00
Bo Anderson
dcba7f356d
test/utils/github_spec: fix artifact URL test 2023-07-03 03:31:01 +01:00
William Woodruff
da326d602d
pypi: improve error message
Emphasize that we're failing because the user tried to update
a non-PyPI package by version, when only PyPI packages can
be updated by version. Other Python packages need to be updated
by a full URL change.

Signed-off-by: William Woodruff <william@yossarian.net>
2023-07-02 21:54:27 -04:00
William Woodruff
0160bc53e4
brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-07-02 21:15:49 -04:00
William Woodruff
ed653ab219
pypi: handle ignore_non_pypi_packages correctly
Signed-off-by: William Woodruff <william@yossarian.net>
2023-07-02 21:08:54 -04:00