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
William Woodruff
91a9b57d1f
Revert "Revert "PyPI: Handle non-pythonhosted formula URLs""
...
This reverts commit 286e175a313bfc4505f972c343200dfa7e6afef5.
2023-07-02 20:46:46 -04:00
Carlo Cabrera
83f2a69acb
rubocops/lines: disallow quictls dependencies in homebrew/core
...
QuicTLS is a fork of OpenSSL that adds support for QUIC. We'll probably
end up adding it to homebrew/core at some point (see
Homebrew/homebrew-core#134975 ), but I don't think we want to actually
use it as a dependency of any formulae in place of OpenSSL.
We ought to only allow it for software that actually require QuicTLS in
place of OpenSSL, but I'm not aware of any existing formulae that have
this requirement.
2023-07-01 23:07:28 +08:00
Carlo Cabrera
c3be703e02
extend/ENV/super: set OPENSSL_NO_VENDOR
...
Many (~60) formulae in Homebrew/core set this manually to prevent the
`openssl` Rust crate from vendoring OpenSSL.
Let's make handling this simpler by setting it globally instead.
2023-07-01 04:16:20 +08:00
Mike McQuaid
95da50fffc
Merge pull request #15507 from johndbritton/pyenv-sync
...
cmd/pyenv-sync: add new command.
2023-06-29 21:39:45 +01:00
John Britton
24c014b506
Fix single process logic in rbenv-sync and nodenv-sync
2023-06-29 09:54:18 -04:00
John Britton
03b455f460
cmd/pyenv-sync: add new command.
...
Similar to `rbenv-sync` and `nodenv-sync`, but for use with `pyenv`.
Python has separate formulae for minor Python versions, as such this
will symlink all patch versions to the latest minor version.
2023-06-29 09:37:56 -04:00
Mike McQuaid
b3015701f6
dependency: use formula name.
...
This allows renamed or aliased formulae dependencies to be resolved to
specific formulae correctly and deduplicated.
Fixes #15488
2023-06-29 14:30:43 +01:00
Don Chea
907a9238c2
Always pass headers as array to downloader, if present
...
We still need to support it being named "header" in the Cask url stanza.
2023-06-28 11:37:15 -04:00
Don Chea
8f8d69a203
cask: url stanza support for multiple headers
2023-06-28 11:36:12 -04:00
Mike McQuaid
c5f4d040a7
Merge pull request #15606 from MikeMcQuaid/eval_all_api
...
Include core formulae from API in `Formula.all`.
2023-06-28 15:52:39 +01:00
Mike McQuaid
cd414bd95f
Include core formulae from API in Formula.all.
...
This is needed to allow `Formula.all` to behave as expected when using
the API. Let's also (immediately, because it's broken) deprecate the
`CoreTap#formula_files` method.
Fixes #15122
2023-06-28 15:27:20 +01:00