29185 Commits

Author SHA1 Message Date
Nazar
521fdcb506
Wording
Co-authored-by: Alexander Bayandin <alexander@bayandin.dev>
2023-06-24 11:09:28 +01:00
Tokarak
55bdbabaae brew style --fix 2023-06-20 23:48:10 +01:00
Nazar
87158acfe0
Improve logic (code review)
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-06-20 23:44:25 +01:00
Tokarak
40aa41929f More cpus in rust_optimisation_flags 2023-06-17 12:14:21 +01:00
Tokarak
73c339d82b Style changes 2023-06-17 10:51:48 +01:00
Tokarak
9a19f5bcd2 Refactor to use oldest_cpu 2023-06-17 10:38:32 +01:00
Tokarak
9a99b932e8 Add RUSTFLAGS to ENV/super 2023-06-17 10:16:53 +01:00
Tokarak
2133da8597 Set target-cpu through RUSTFLAGS 2023-06-14 17:26:01 +01:00
Tokarak
261f55a526 Prepare to migrate to RUSTFLAGS 2023-06-14 17:14:05 +01:00
Tokarak
cccad3e7d8 Line break 2023-06-14 16:46:12 +01:00
Tokarak
c698174200 Fix error on empty target-cpu 2023-06-13 20:40:23 +01:00
Tokarak
2bd20eaa15 Fix 2023-06-13 19:45:52 +01:00
Tokarak
d4bfbb1d02 Remove FIXMEs 2023-06-13 19:32:18 +01:00
Tokarak
b4dd639189 Use rustflags_target_cpu 2023-06-13 19:28:53 +01:00
Tokarak
066a88855b Add rustflags_target_cpu method 2023-06-13 19:22:12 +01:00
Tokarak
a0725083f1 Revert "Apply cpu-optimisation to Rust projects (hardcoded)"
This reverts commit c344a3ff3dbde3db05edb802d8951924689d1d65.
2023-06-13 19:17:28 +01:00
Tokarak
c344a3ff3d Apply cpu-optimisation to Rust projects (hardcoded) 2023-06-13 11:50:20 +01: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
Mike McQuaid
f2efb6bb21
Merge pull request #15511 from woodruffw-forks/ww/update-resources-handle-non-pypi-urls
PyPI: Handle non-`pythonhosted` formula URLs
2023-06-05 16:12:03 +01: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
Issy Long
4d509aa529
Merge pull request #15520 from issyl0/rubocop-turn-off-enabled-by-default 2023-06-05 14:59:39 +01: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
William Woodruff
ec0361fd9b
test: add another URL test for update_pypi_url
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:01:41 -04:00