38364 Commits

Author SHA1 Message Date
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
f156579efc
Merge pull request #15629 from MikeMcQuaid/download_tap_migrations_json
Download `tap_migrations.json` files from the API
2023-07-05 17:48:26 +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
a34d46e093
Merge pull request #15631 from MikeMcQuaid/remove_versioned_formula_files
Remove `Tap#versioned_formula_files`
2023-07-05 16:42:47 +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
Bo Anderson
32ff40f688
Merge pull request #15630 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
4.0.27
2023-07-05 01:57:43 +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
1ba1d7b7a3
Merge pull request #15625 from MikeMcQuaid/update_devcmdrun
cmd/update: update homebrew/core and homebrew/cask with devcmdrun.
2023-07-04 16:11:30 +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
Mike McQuaid
ccad81be82
Merge pull request #15617 from woodruffw-forks/ww/update-resources-handle-non-pypi-urls
PyPI: Handle non-pythonhosted formula URLs
2023-07-04 11:50:52 +01: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
Mike McQuaid
f252323725
Merge pull request #15618 from Bo98/psql-upgrade-fix
cmd/postgresql-upgrade-database: fix brew not being found
2023-07-03 17:58:29 +01:00
Bo Anderson
fa0ccdb3ba
cmd/postgresql-upgrade-database: fix brew not being found 2023-07-03 04:17:36 +01:00
Bo Anderson
f40b0f9f6e
Merge pull request #15619 from Bo98/artifact-test-fix
test/utils/github_spec: fix artifact URL test
2023-07-03 04:16:41 +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
Nanda H Krishna
9a482dea2b
Merge pull request #15612 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-06-29 17:23:04 -04:00
BrewTestBot
b9dfaae1fd
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-06-29 20:40:32 +00: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
Mike McQuaid
36fc91b7c1
Merge pull request #15607 from MikeMcQuaid/eval_all_api
dependency: use formula name.
2023-06-29 17:24:55 +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