29289 Commits

Author SHA1 Message Date
Bo Anderson
8045ed959a
tap_auditor: fix API data getting mixed in 2023-07-04 16:08:53 +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
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
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
Mike McQuaid
6f1728fdc9
Merge pull request #15605 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-1.0.3
build(deps): bump json_schemer from 0.2.25 to 1.0.3 in /Library/Homebrew
2023-06-28 13:52:54 +01:00
BrewTestBot
6af663f07e
Update RBI files for json_schemer.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-28 12:03:35 +00:00
BrewTestBot
e1176a17e1
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-28 12:02:16 +00:00
BrewTestBot
e3323d4b51
brew vendor-gems: commit updates. 2023-06-28 11:58:35 +00:00
BrewTestBot
a35acdabfe
brew vendor-gems: commit updates. 2023-06-28 11:57:38 +00:00
dependabot[bot]
2b7d14aef5
build(deps): bump json_schemer from 0.2.25 to 1.0.3 in /Library/Homebrew
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 0.2.25 to 1.0.3.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.25...v1.0.3)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 11:54:49 +00:00
dependabot[bot]
c23b860eb8
build(deps): bump parser from 3.2.2.1 to 3.2.2.3 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.2.2.1 to 3.2.2.3.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.2.2.1...v3.2.2.3)

---
updated-dependencies:
- dependency-name: parser
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 11:54:10 +00:00
Mike McQuaid
043b9512e4
Merge pull request #15487 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-0.2.25
build(deps): bump json_schemer from 0.2.24 to 0.2.25 in /Library/Homebrew
2023-06-28 12:53:32 +01:00
BrewTestBot
2b469ed5b4
Update RBI files for json_schemer.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-28 10:54:11 +00:00
BrewTestBot
c63aec6dd9
brew vendor-gems: commit updates. 2023-06-28 10:49:12 +00:00
BrewTestBot
8cab50f5ff
Update RBI files for activesupport.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-28 10:31:35 +00:00
dependabot[bot]
524e3cdf69
build(deps): bump json_schemer in /Library/Homebrew
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 0.2.24 to 0.2.25.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.24...v0.2.25)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 11:26:45 +01:00
BrewTestBot
32dae08226
brew vendor-gems: commit updates. 2023-06-28 10:26:36 +00:00
dependabot[bot]
f9d1c7c573
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.7.3 to 6.1.7.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.5.1/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.7.3...v6.1.7.4)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 20:57:11 +00:00
Mike McQuaid
20dfa3694b
cmd/update.sh: always move names*.txt files.
Move the `names*.txt` files even when the file size hasn't changed
(which can happen when the versions change in the API but the file
size doesn't change).

Fixes #15217

While we're here, also add some whitespace for easier reading.
2023-06-27 17:30:27 +01:00
Bo Anderson
c969be340e
download_strategy: move HOMEBREW_ARTIFACT_DOMAIN hack 2023-06-27 14:33:23 +01:00
Carlo Cabrera
bc6e88d45c
pr-publish: request a large runner for appropriately labelled PRs
This will make it easier to merge PRs that require the large runner to
upload the built bottles.
2023-06-27 20:06:35 +08:00
Carlo Cabrera
0b57d7b04f
formula_auditor: make OpenSSL audit exception generic
This supports the use of `*-staging` branches in the future for projects
similar to the OpenSSL migration (e.g. Python migration). We already
have branch protections set for these branches, so it makes sense to
keep using them with the supporting code.
2023-06-27 14:44:12 +08:00
BrewTestBot
0a4f583377
Update RBI files for rspec-support.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-26 19:08:18 +00:00
BrewTestBot
ba7dbdfdb7
brew vendor-gems: commit updates. 2023-06-26 19:01:29 +00:00
dependabot[bot]
6e4529d5d5
build(deps): bump rspec-support in /Library/Homebrew
Bumps [rspec-support](https://github.com/rspec/rspec-support) from 3.12.0 to 3.12.1.
- [Changelog](https://github.com/rspec/rspec-support/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-support/compare/v3.12.0...v3.12.1)

---
updated-dependencies:
- dependency-name: rspec-support
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 18:57:08 +00:00