27376 Commits

Author SHA1 Message Date
Bo Anderson
344ab02f18
Merge pull request #10767 from Bo98/audit_deps-force_homebrew_on_linux
Allow deps auditing to run on Linux via HOMEBREW_SIMULATE_MACOS_ON_LINUX
2021-03-05 23:46:31 +00:00
Mike McQuaid
2d1d20a236
Merge pull request #10789 from XuehaiPan/docs-install
docs/Installation: add section for Git remote mirroring
2021-03-05 14:29:25 +00:00
Michka Popoff
2466afdd83
Merge pull request #10787 from MikeMcQuaid/no-patchelf-needed
linux/keg_relocate: patchelf dependency is conditional.
2021-03-05 15:24:53 +01:00
XuehaiPan
3f64bcb2fb docs/Installation: add section for Git remote mirroring 2021-03-05 22:04:48 +08:00
nandahkrishna
8ddf9b37bd
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-03-05 18:55:51 +05:30
Bo Anderson
5660a1bf13
brew.sh: HOMEBREW_SIMULATE_MACOS_ON_LINUX implies HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2021-03-05 12:22:27 +00:00
Bo Anderson
4879cf1b48
workflows/tests: test brew audit of homebrew-core on Linux 2021-03-05 12:21:45 +00:00
Bo Anderson
abb2b26a93
Add HOMEBREW_SIMULATE_MACOS_ON_LINUX 2021-03-05 12:21:45 +00:00
Bo Anderson
7448a6be58
Revert "Revert "uses_from_macos: fix force_homebrew_on_linux behaviour.""
This reverts commit 9ad37ddc36c8438db97fdb3e4484d724e06eaffe.
2021-03-05 12:21:45 +00:00
Bo Anderson
b3e78f31ea
Revert "dev-cmd/audit: don't do dependency checks on Linux."
This reverts commit 93362547c99d880e59d0e11f4127f01145ea5b1d.
2021-03-05 12:21:45 +00:00
Mike McQuaid
761404a2dc
formula_installer: tweak "no bottle available" logic.
- ensure that `HOMEBREW_DEVELOPER` still fails when there's a bottle
  available but the `pour_bottle?` block fails. This is usually due to
  the CLT being missing (and it's removed on even patch macOS upgrades)
  so building from source without prompt is undesirable.
- require `--build-from-source` for dependencies that aren't already
  installed
- do these bottle checks before fetching dependencies (they were already
  done before fetching requested formulae)

Fixes #10729
2021-03-05 12:06:34 +00:00
Mike McQuaid
61427d6682
Merge pull request #10770 from SeekingMeaning/unless_logical_operators
rubocops: use `Style/UnlessLogicalOperators`
2021-03-05 11:45:42 +00:00
Mike McQuaid
9964a4b0a9
Merge pull request #10777 from nandahkrishna/patches-rubocop-autocorrect
rubocops/patches: autocorrect some offenses
2021-03-05 11:45:14 +00:00
Mike McQuaid
49642e4267
linux/keg_relocate: patchelf dependency is conditional.
This is only needed if we're not using `patchelf.rb`.

Partial fix for https://github.com/Homebrew/brew/issues/10784
2021-03-05 11:36:23 +00:00
Mike McQuaid
1d0abd5401
Merge pull request #10778 from MikeMcQuaid/deprecate_no_env_filtering
Deprecate HOMEBREW_NO_ENV_FILTERING
2021-03-05 11:24:53 +00:00
Bo Anderson
0b2a459a6b
Merge pull request #10783 from Bo98/ubuntu-20.04-ci-fix
test/hardware/cpu_spec: add missing families
2021-03-05 00:50:20 +00:00
Bo Anderson
e1da637f9a
test/hardware/cpu_spec: add missing families 2021-03-04 23:50:35 +00:00
nandahkrishna
ab0e427d3e
Disambiguate formulae/casks from different taps 2021-03-04 23:56:04 +05:30
nandahkrishna
6efb37206f
dev-cmd/bump: sort formulae and casks by name 2021-03-04 23:56:04 +05:30
nandahkrishna
7d5216c500
Improve formula/cask disambiguation 2021-03-04 23:56:04 +05:30
nandahkrishna
f11786d63d
Apply suggestions from code review
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2021-03-04 23:56:04 +05:30
nandahkrishna
22cc750c66
livecheck and bump: formula/cask disambiguation 2021-03-04 23:56:04 +05:30
Bo Anderson
b8448c4864
Merge pull request #10765 from Bo98/ruby-shims
Revert "Revert "shims/mac/super: add ruby shims to set SDKROOT""
2021-03-04 16:37:38 +00:00
Mike McQuaid
5fed5536f4
Merge pull request #10779 from Homebrew/update-manpage
Update maintainers, manpage and completions.
2021-03-04 15:44:53 +00:00
Mike McQuaid
cca1413bf2
Merge pull request #10764 from Bo98/export-env
Let bin/brew handle its own exporting
2021-03-04 15:43:33 +00:00
BrewTestBot
713a0692ae Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-04 15:13:05 +00:00
Dawid Dziurla
5267f7b200
Merge pull request #10772 from dawidd6/dispatch-linux
dispatch-build-bottle: support Linux
2021-03-04 16:11:06 +01:00
Mike McQuaid
14576d7b1a
Merge pull request #10771 from MikeMcQuaid/speedup_brew_version
Speedup `brew --version`.
2021-03-04 15:10:00 +00:00
Mike McQuaid
e9419dbce7
test/cmd: test Bash logic. 2021-03-04 12:59:43 +00:00
Mike McQuaid
dc1fdc9f8d
Speedup brew --version.
Port `brew --version` to Bash to speed it up.

While we're here:
- remove (now) unused `Tap` Git methods
- use `--quiet` instead of `-q` to be more verbose

Benchmarks:
```
$ hyperfine --min-runs=3 --warmup=2 "git checkout origin/master; brew --version" "git checkout speedup_brew_version; brew --version"
Benchmark #1: git checkout origin/master; brew --version
  Time (mean ± σ):      2.083 s ±  0.004 s    [User: 396.8 ms, System: 597.2 ms]
  Range (min … max):    2.080 s …  2.088 s    3 runs

Benchmark #2: git checkout speedup_brew_version; brew --version
  Time (mean ± σ):     847.9 ms ±  35.2 ms    [User: 100.0 ms, System: 247.9 ms]
  Range (min … max):   824.1 ms … 888.3 ms    3 runs

Summary
  'git checkout speedup_brew_version; brew --version' ran
    2.46 ± 0.10 times faster than 'git checkout origin/master; brew --version'
```
2021-03-04 12:59:42 +00:00
Mike McQuaid
d3d4abdbb2
Deprecate HOMEBREW_NO_ENV_FILTERING
It's undocumented so we don't need to do the full deprecation dance here
but let's give people a bit of a head up.
2021-03-04 08:51:44 +00:00
Markus Reiter
3e69c2b77b
Merge pull request #10775 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.5.1
build(deps): bump codecov from 0.5.0 to 0.5.1 in /Library/Homebrew
2021-03-04 08:48:44 +01:00
nandahkrishna
d68452f232
rubocops/patches: autocorrect some offenses 2021-03-04 12:36:18 +05:30
BrewTestBot
84c26f1585 Update RBI files for codecov. 2021-03-04 06:01:47 +00:00
BrewTestBot
731fa83e01 brew vendor-gems: commit updates. 2021-03-04 06:00:57 +00:00
dependabot[bot]
656e41ec24
build(deps): bump codecov from 0.5.0 to 0.5.1 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 05:55:17 +00:00
Dawid Dziurla
b3949f0765
dispatch-build-bottle: support Linux 2021-03-03 17:36:12 +01:00
Mike McQuaid
9d62a13a31
Merge pull request #10700 from appropriate/docs-homebrew-and-java
Add initial documentation for Java-based packages
2021-03-03 13:58:17 +00:00
Seeker
7e7274aaeb rubocops: use Style/UnlessLogicalOperators
Replaces `Style/UnlessMultipleConditions`
2021-03-03 01:39:11 -08:00
Mike McQuaid
13508eebaa
Merge pull request #10753 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.11.0
build(deps): bump rubocop from 1.10.0 to 1.11.0 in /Library/Homebrew
2021-03-03 09:06:46 +00:00
BrewTestBot
1377db534d Update RBI files for rubocop. 2021-03-02 17:54:04 +00:00
BrewTestBot
b15ddb8c22 brew vendor-gems: commit updates. 2021-03-02 17:53:13 +00:00
dependabot[bot]
97a23cc462
build(deps): bump rubocop from 1.10.0 to 1.11.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 17:48:06 +00:00
Bo Anderson
d625f91d3c
shims/scm/git: fix unintended backtick usage 2021-03-02 17:07:02 +00:00
Bo Anderson
a3ed481b9e
Revert "Revert "shims/mac/super: add ruby shims to set SDKROOT""
This reverts commit fe992cab2b943269e39e8f9f5830f4983c440e8b.
2021-03-02 17:06:05 +00:00
Bo Anderson
0a4fd2201e
Let bin/brew handle its own exporting 2021-03-02 16:59:57 +00:00
Mike Dillon
e92d67d15c Add initial documentation for Java-based packages 2021-03-02 08:42:17 -08:00
Mike McQuaid
b024954a0f
Merge pull request #10758 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.10.1
build(deps): bump rubocop-performance from 1.10.0 to 1.10.1 in /Library/Homebrew
2021-03-02 16:10:07 +00:00
Mike McQuaid
55d8c1a608
Merge pull request #10759 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.5.0
build(deps): bump codecov from 0.4.3 to 0.5.0 in /Library/Homebrew
2021-03-02 16:09:55 +00:00
Jonathan Chang
ee52b19179
Merge pull request #10763 from Homebrew/revert-10595-ruby-shims
Revert "shims/mac/super: add ruby shims to set SDKROOT"
3.0.4
2021-03-03 02:38:46 +11:00