Bevan Kay
322d5c67ec
Add parentheses to if statement
2021-07-06 10:11:40 +10:00
Carlo Cabrera
c20826a872
Merge pull request #11647 from carlocab/python3.10
...
keg, cmd/--prefix: handle python3.10
2021-07-05 17:02:46 -07:00
Rylan Polster
1eba2255a2
Merge pull request #11655 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2021.0704
...
build(deps): bump mime-types-data from 3.2021.0225 to 3.2021.0704 in /Library/Homebrew
2021-07-05 17:04:45 -04:00
BrewTestBot
30118918f6
Update RBI files for mime-types-data.
2021-07-05 18:08:58 +00:00
BrewTestBot
cb1ef7062c
Update RBI files for addressable.
2021-07-05 18:07:09 +00:00
BrewTestBot
3665e96954
brew vendor-gems: commit updates.
2021-07-05 18:05:55 +00:00
BrewTestBot
4355f50cfe
brew vendor-gems: commit updates.
2021-07-05 18:05:02 +00:00
dependabot[bot]
738590f688
build(deps): bump mime-types-data in /Library/Homebrew
...
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data ) from 3.2021.0225 to 3.2021.0704.
- [Release notes](https://github.com/mime-types/mime-types-data/releases )
- [Changelog](https://github.com/mime-types/mime-types-data/blob/master/History.md )
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2021.0225...v3.2021.0704 )
---
updated-dependencies:
- dependency-name: mime-types-data
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:02:57 +00:00
dependabot[bot]
ce621a1956
build(deps): bump addressable from 2.7.0 to 2.8.0 in /Library/Homebrew
...
Bumps [addressable](https://github.com/sporkmonger/addressable ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases )
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0 )
---
updated-dependencies:
- dependency-name: addressable
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:02:39 +00:00
Carlo Cabrera
5ed4430daf
Apply suggestions from code review
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-05 10:12:34 -07:00
Carlo Cabrera
63aa192088
Incorporate suggestions from feedback
...
1. Never install `binutils`. Instead, report an audit failure.
2. Tighten instruction check with a stricter matching strategy.
2021-07-05 17:47:20 +01:00
Dawid Dziurla
c676aee842
dispatch-build-bottle: rename --wheezy to --linux-wheezy
2021-07-05 18:24:43 +02:00
Rylan Polster
e316c4f013
Rename Utils::BottleAPI
to BottleAPI
2021-07-05 11:45:15 -04:00
Rylan Polster
ca5f6026ed
Fix tests
2021-07-05 11:29:27 -04:00
Rylan Polster
36dd69dd60
Rename download_bottles
to fetch_bottles
2021-07-05 10:55:34 -04:00
Rylan Polster
22f986b89a
Install formulae from JSON files
2021-07-04 12:38:59 -04:00
Dawid Dziurla
d50bd605b8
components_order: allow ignore_missing_libraries in on_os
2021-07-04 18:34:03 +02:00
Dawid Dziurla
8d5dc50b68
keg_relocate: swap env var
2021-07-04 15:02:39 +02:00
Bevan Kay
88edb1c64b
fix style
2021-07-04 17:25:03 +10:00
Carlo Cabrera
c59a42b24e
formula_cellar_checks: check for cpuid
instruction when needed
...
This implements the second audit discussed in #11608 .
2021-07-04 00:31:31 +01:00
Carlo Cabrera
d88576a89b
keg, cmd/--prefix: handle python3.10
2021-07-03 23:33:09 +01:00
Bevan Kay
9cf0a7409b
fix style
2021-07-03 11:58:16 +10:00
Bevan Kay
507fba73c4
update command line outputs
2021-07-03 11:57:32 +10:00
Mike McQuaid
83aa3ff258
Merge pull request #11637 from carlocab/runtime-cpu-allowlist
...
rubocops/lines: check allowlist for use of `ENV.runtime_cpu_detection`
2021-07-02 13:53:30 +01:00
BrewTestBot
366a901fc9
Update RBI files for rubocop-rails.
2021-07-01 18:09:45 +00:00
BrewTestBot
1f98c60b81
brew vendor-gems: commit updates.
2021-07-01 18:06:57 +00:00
dependabot[bot]
8b12b6d04b
build(deps): bump rubocop-rails in /Library/Homebrew
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.11.1...v2.11.2 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 18:03:20 +00:00
Carlo Cabrera
92d224f0fc
rubocops/lines: check allowlist for use of ENV.runtime_cpu_detection
...
This is implements the first audit discussed in #11608 .
2021-07-01 18:38:54 +01:00
Carlo Cabrera
89aeaffd9f
Merge pull request #11608 from carlocab/runtime-arch
...
superenv: handle formulae with runtime CPU detection
2021-07-01 10:16:42 -07:00
Carlo Cabrera
0404da7ba7
superenv: handle formulae with runtime CPU detection
...
Some formulae are able to detect the features of the runtime CPU, and
execute code accordingly. This typically entails 1) the detection of
features of the build-time CPU in order to determine the targets that
the compiler can generate code for, and 2) generating code for the
targets that the compiler can support.
Our filtering of optimization flags can cause misdetection of compiler
features, leading to failed builds [1], and miscompilation even when the
build does not fail [2].
Let's try to fix this by allowing formulae to declare
`ENV.runtime_cpu_detection` which skips the filtering of `-march` and
related flags.
I've also skipped the filtering of the optimisation
level, since it seems to me that if upstream maintainers have gone to
the lengths of writing code that detects runtime hardware, they probably
also know better about appropriate `-O` flags to use.
This is a partial list of formulae that should make use of this feature:
1. apache-arrow
2. fftw
3. gromacs
4. open-mpi
5. openblas
Partially resolves Homebrew/homebrew-core#76537 .
[1] open-mpi/ompi#8306 and linked issues/PRs
[2] Homebrew/homebrew-core#76537
2021-07-01 16:24:38 +01:00
Bevan Kay
85082066f2
fix style
2021-07-01 23:02:15 +10:00
Bevan Kay
b1c70160f3
Split into two flags --greedy-latest and --greedy-auto-updates
2021-07-01 23:01:22 +10:00
Mike McQuaid
dae4ed288e
Merge pull request #11635 from hyuraku/repair-check_deleted_formula
...
fix duplicate keg names in `Keg.all` names
2021-07-01 11:42:56 +01:00
Alexander Bayandin
ffb28d8867
Merge pull request #11628 from areese/add-reinstall-git
...
reinstall: add support for the --git option
2021-07-01 11:29:30 +01:00
hyuraku
d177d8a159
make all keg names uniq
2021-07-01 09:20:58 +09:00
BrewTestBot
f634c672de
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2021-07-01 00:11:11 +00:00
Allen Reese
128f63db53
reinstall: add support for the --git option
2021-06-30 10:16:46 -07:00
Mike McQuaid
c37794e653
formula_support: deprecate bottle :unneeded
/:disabled
in 3.3.0
...
We'll no longer need this DSL so let's move towards deprecation.
2021-06-30 17:35:10 +01:00
Sam Ford
2342dcd90c
Add comment to Gemfile about disallowed gems
2021-06-30 09:11:47 -04:00
Sam Ford
bb463376e8
Remove nokogiri from Gemfile
2021-06-30 09:11:46 -04:00
Mike McQuaid
0cd08fefd0
Merge pull request #11624 from Homebrew/tweak_buildpulse
...
Fix BuildPulse handling
2021-06-30 09:40:46 +01:00
Mike McQuaid
d490e2a9a7
Fix BuildPulse handling
...
- be more verbose with output to be clear when we're using/submitting to
BuildPulse
- remove the duplicate BuildPulse submission step
2021-06-30 09:20:56 +01:00
Mike McQuaid
1680ddb267
utils/repology: temporarily disable functionality.
...
Doesn't work with system `curl` currently.
2021-06-30 09:20:56 +01:00
Bevan Kay
72e3704827
update style
2021-06-30 11:21:24 +10:00
Bevan Kay
057b3a3502
adds an option to skip unversioned casks in outdated and upgrade command
2021-06-30 11:13:21 +10:00
Sam Ford
b3d95b89e4
Merge pull request #11610 from samford/replace-nokogiri-with-rexml-part-two
...
Replace Nokogiri with REXML
2021-06-29 20:51:48 -04:00
Mike McQuaid
5a5db3ab96
Merge pull request #11239 from MikeMcQuaid/audit_core_bottle_disabled_unneeded
...
formula_auditor: don't allow `bottle :unneeded` in core.
2021-06-29 13:23:17 +01:00
Mike McQuaid
a4c2e0e1b3
Tweak BuildPulse/rspec-retry
logic
...
BuildPulse is trying to find flaky tests for us but, given the previous
model of using `rspec-retry`, it would rarely find them. Instead, let's
try to always rerun `brew tests` multiple times, report to BuildPulse
each time (by moving the reporting logic into `brew tests`) and disable
`rspec-retry` when using BuildPulse.
While we're here, let's enable `rspec-retry` locally so we don't have
flaky tests biting maintainers/contributors there.
2021-06-29 12:43:47 +01:00
Mike McQuaid
0eb9b62c2d
formula_auditor: don't allow bottle :unneeded
in core.
...
Now we have `all:` bottles and Bintray is going away for `mirror`s:
let's bottle everything in Homebrew/homebrew-core.
2021-06-29 12:42:30 +01:00
Carlo Cabrera
04532cb621
Merge pull request #11611 from carlocab/venv-system-site-packages
...
language/python: create venvs with access to system site packages
2021-06-28 19:37:11 -07:00