28166 Commits

Author SHA1 Message Date
Mike McQuaid
7993085ad4
Merge pull request #15561 from Bo98/postinstall-fix
formula_installer: fix postinstall using incorrect formula file
2023-06-19 13:33:22 +01:00
Mike McQuaid
fbca4c6202
Merge pull request #15560 from Homebrew/spdx-update
spdx: update license data.
2023-06-19 13:32:57 +01:00
Mike McQuaid
6763d11954
Merge pull request #15553 from carlocab/s/cp/ln
github_packages: create hard link instead of copying
2023-06-19 13:32:04 +01:00
Bo Anderson
94d70b36a4
diagnostic: ignore core tap install status unless no-api is enabled 2023-06-19 04:03:45 +01:00
Bo Anderson
3e99873fa4
formula: fix variations not being generated for instance on_os usage 2023-06-19 03:47:50 +01:00
Bo Anderson
f1d3700744
formula_installer: fix postinstall using incorrect formula file 2023-06-19 03:43:26 +01:00
BrewTestBot
3ec25d5499
spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2023-06-19 00:12:59 +00:00
Nanda H Krishna
6abf6802d5
Merge pull request #15554 from Homebrew/dependabot/bundler/Library/Homebrew/rdiscount-2.2.7.1
build(deps): bump rdiscount from 2.2.7 to 2.2.7.1 in /Library/Homebrew
2023-06-16 15:48:52 -04:00
BrewTestBot
c17bb0e5c7
Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-16 19:06:33 +00:00
BrewTestBot
0e351d7e6d
Update RBI files for rdiscount.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-16 19:05:22 +00:00
BrewTestBot
b568196a34
brew vendor-gems: commit updates. 2023-06-16 19:02:00 +00:00
BrewTestBot
7d26d68596
brew vendor-gems: commit updates. 2023-06-16 19:00:47 +00:00
dependabot[bot]
e243edc442
build(deps): bump minitest from 5.18.0 to 5.18.1 in /Library/Homebrew
Bumps [minitest](https://github.com/minitest/minitest) from 5.18.0 to 5.18.1.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/minitest/minitest/compare/v5.18.0...v5.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 18:58:44 +00:00
dependabot[bot]
8a44d1297e
build(deps): bump rdiscount from 2.2.7 to 2.2.7.1 in /Library/Homebrew
Bumps [rdiscount](https://github.com/davidfstr/rdiscount) from 2.2.7 to 2.2.7.1.
- [Changelog](https://github.com/davidfstr/rdiscount/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davidfstr/rdiscount/compare/2.2.7...2.2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 18:57:32 +00:00
Carlo Cabrera
4c40d452df
github_packages: create hard link instead of copying
Some bottles are quite large, and the copies can make us run out of
space rather quickly. Let's try to avoid that by using hard links
instead of copies.
2023-06-17 01:59:23 +08:00
Mike McQuaid
cd313adbe4
cmd/info: add (undocumented) --github-packages-downloads option.
This screen scrapes GitHub Packages download counts from HTML for a
core formula.

It's useful when figuring out the difference between our analytics
numbers (which people can opt-out of) and our bottle downloads (which
people cannot due to the way GitHub Packages works).
2023-06-16 15:39:49 +01:00
Mike McQuaid
75dd070395
Remove Google Analytics
We are now entirely migrated to InfluxDB so can remove all GA code.
2023-06-16 10:33:15 +01:00
BrewTestBot
405c8f560b
Update RBI files for rack.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-14 19:09:01 +00:00
BrewTestBot
22dab37d77
brew vendor-gems: commit updates. 2023-06-14 19:04:29 +00:00
dependabot[bot]
a358174128
build(deps): bump rack from 3.0.7 to 3.0.8 in /Library/Homebrew
Bumps [rack](https://github.com/rack/rack) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.0.7...v3.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 19:01:09 +00:00
BrewTestBot
ef2efe8120
Update RBI files for regexp_parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-12 19:06:58 +00:00
BrewTestBot
99d015dffd
brew vendor-gems: commit updates. 2023-06-12 19:02:15 +00:00
dependabot[bot]
acea55b50a
build(deps): bump regexp_parser from 2.8.0 to 2.8.1 in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.8.0 to 2.8.1.
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.8.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 18:59:12 +00:00
Bo Anderson
9d01e1deaf
Merge pull request #15541 from Bo98/audit-alias-tap-fix
tap_auditor: fix alias handling with non-core taps
2023-06-12 13:03:13 +01:00
Harry Marr
d2b17e29ef
Check only_path is present before modifying it 2023-06-10 14:31:46 -04:00
Harry Marr
747d3aaaba
Apply review suggestions 2023-06-10 14:08:58 -04:00
Harry Marr
2cd2076186
Use "cone" mode for sparse checkouts 2023-06-09 22:58:00 -04:00
Bo Anderson
5652655304
tap_auditor: fix alias handling with non-core taps 2023-06-10 00:52:39 +01:00
Carlo Cabrera
f13210801a
formula_auditor: handle head_info being nil
This happens when CI runs on an event that isn't a pull request (e.g.
push, merge_group).
2023-06-10 03:03:50 +08:00
Carlo Cabrera
8ff91a1939
formula_auditor: skip dependency conflict audit for OpenSSL migration
We can't migrate the entire OpenSSL dependency tree in one go, so we'll
have to skip this audit in the interim.

See Homebrew/homebrew-core#133144.
2023-06-10 00:53:11 +08:00
Razvan Azamfirei
5192866abe
homebrew-cask-drivers: deprecate official tap 2023-06-08 08:12:59 -04:00
Mike McQuaid
83db7039ef
Merge pull request #15533 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-06-07 14:31:08 +01:00
BrewTestBot
eeec6cf70d
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-06-07 00:28:35 +00:00
Bo Anderson
c93bc7df45
utils/gems: fix bundler sometimes unnecessarily reinstalling 2023-06-06 23:32:52 +01:00
Carlo Cabrera
729c2b331b
shims/linux: add gnumake and gmake symlinks
The `opencv@3` build calls `gmake`, which ends up evading our compiler
shim and results in a build failure because of a `-Werror` flag.

Closes Homebrew/homebrew-core#132966.
2023-06-06 23:49:52 +08:00
Carlo Cabrera
7962b3072b
dependencies_helpers: fix pruning of build/test deps
We need to check that a dependency is a build or test dependency before
checking that it is satisfied in order to prune dependencies as
requested correctly.

Before:

```
❯ brew deps esptool
ca-certificates
cmake
mpdecimal
openssl@1.1
openssl@3
pkg-config
python@3.11
readline
rust
six
sqlite
xz
```

After:

```
❯ brew deps esptool
ca-certificates
cffi
mpdecimal
openssl@1.1
pycparser
python@3.11
readline
six
sqlite
xz
```

Note: You will need build dependencies installed to reproduce the
"before" behaviour.

See #15445.
2023-06-06 15:44:08 +08:00
Bo Anderson
9d0b7361d1
Merge pull request #15522 from Bo98/macos-14
Preliminary macOS 14 (Sonoma) support
2023-06-06 02:02:17 +01:00
Bo Anderson
f504b92c45
Preliminary macOS 14 (Sonoma) support 2023-06-05 23:21:11 +01:00
BrewTestBot
e5217ce62a
Update RBI files for i18n.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-05 19:06:00 +00:00
BrewTestBot
0d000c320b
brew vendor-gems: commit updates. 2023-06-05 19:01:20 +00:00
dependabot[bot]
f2698700b1
build(deps): bump i18n from 1.14.0 to 1.14.1 in /Library/Homebrew
Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 18:58:10 +00:00
Mike McQuaid
286e175a31
Revert "PyPI: Handle non-pythonhosted formula URLs" 2023-06-05 17:21:56 +01:00
Bo Anderson
6f8e858bc6
Merge pull request #15512 from Volatus/fix/cask-permissions-issue
cask/quarantine: fix exception not being caught
2023-06-05 17:20:37 +01:00
Ismayil Mirzali
8a52ae2933
cask/quarantine: fix exception not being caught
Changes the rescue clause to also handle EPERM.

This fixes the issue of cask upgrades/reinstalls to failing due to
permissions [1]. It's worth noting though, the prompt for allowing App
Management permissions does not seem to occur, so that's something else
to be investigated.

1. https://github.com/Homebrew/homebrew-cask/issues/148253

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2023-06-05 18:54:44 +03:00
William Woodruff
0f40e224bd
utils/pypi: refactor instance variables
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-05 10:16:19 -04:00
William Woodruff
7067f72eb0
utils/pypi: fix sig
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:49:20 -04:00
William Woodruff
7915363482
test: brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:33:46 -04:00
William Woodruff
af6f728eb4
utils, test: rewrite PyPI::Package
This rewrites the `Package` class from the ground up
to better accomodate non-PyPI URLs.

The existing APIs are largely preserved, but with
clearer invariants around when they can or can't be used
(e.g., `#pypi_info`).

Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:32:09 -04:00
William Woodruff
0b3a5d0f6c
utils/pypi: set default from_pypi
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:36:23 -04:00
William Woodruff
685693a8fe
utils/pypi: enforce non-pypi urls
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:27:34 -04:00