27815 Commits

Author SHA1 Message Date
Mike McQuaid
f1f7dc151d
Merge pull request #10834 from samford/livecheck-replace-open-uri-with-curl
Livecheck: Replace OpenURI#open with Curl
3.1.10
2021-06-07 12:44:03 +01:00
Nanda H Krishna
ea8477715c
Update manpage and completions 2021-06-07 15:16:48 +05:30
Nanda H Krishna
b607fb0712
brew pr-{pull,upload}: remove --no-publish flag
The `--no-publish` flag isn't used anywhere since we removed all the
Bintray code. Also, the `--no-upload` flag used in `pr-pull` doesn't
apply the bottle commit, so its description has been modified.
2021-06-07 15:13:29 +05:30
Nanda H Krishna
9f4874d11f
Merge pull request #11495 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.6.2
build(deps): bump rubocop-sorbet from 0.6.1 to 0.6.2 in /Library/Homebrew
2021-06-07 13:28:01 +05:30
Nanda H Krishna
84c22620e1
Merge pull request #11496 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.9
build(deps): bump concurrent-ruby from 1.1.8 to 1.1.9 in /Library/Homebrew
2021-06-07 13:08:24 +05:30
BrewTestBot
e7ef5f949d
Update RBI files for concurrent-ruby. 2021-06-07 06:19:34 +00:00
BrewTestBot
34a3cd00cd
Update RBI files for rubocop-sorbet. 2021-06-07 06:19:07 +00:00
BrewTestBot
6bf72e5fca
brew vendor-gems: commit updates. 2021-06-07 06:18:39 +00:00
BrewTestBot
0539b0d9c2
brew vendor-gems: commit updates. 2021-06-07 06:18:14 +00:00
dependabot[bot]
42f1f7d4ad
build(deps): bump concurrent-ruby in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.8...v1.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 06:16:16 +00:00
dependabot[bot]
968e293bed
build(deps): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.6.1...v0.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 06:15:54 +00:00
Rylan Polster
144c1c68c3
docs: add terminology to manpage 2021-06-05 14:49:51 -04:00
Rylan Polster
aebaa7f8df
formula: only include sha256 for core formulae in bottle JSON 2021-06-05 12:31:55 -04:00
Rylan Polster
d60f549a48
info: add --bottle option for JSON bottle info 2021-06-05 12:27:24 -04:00
Sean Molenaar
8250f73383
service: add install block to unit 2021-06-05 17:59:17 +02:00
Sam Ford
a6769ae7cd
Strategy: Better align curl usage in methods 2021-06-04 16:16:06 -04:00
Sam Ford
793ea17749
Strategy: Create constant for HTTP separator 2021-06-04 16:16:06 -04:00
Sam Ford
ccfd01ba38
Strategy: Replace open-uri with curl 2021-06-04 16:16:05 -04:00
Rylan Polster
f8a58c27a0
formula: use declared_runtime_dependencies in to_bottle_hash 2021-06-03 13:33:26 -04:00
Rylan Polster
8b0f7e7ada
formula: add to_bottle_hash method 2021-06-03 12:59:42 -04:00
Mike McQuaid
654c78c2d7
Merge pull request #11479 from gibfahn/redirect_stdout
fix(vendor-gems): redirect bundler stdout to stderr
2021-06-03 11:43:35 +01:00
Gibson Fahnestock
07d571bebc
fix(vendor-gems): redirect bundler stdout to stderr
When running brew commands and interpreting the output, e.g. running
`brew livecheck --json`, it's necessary to stop other programs Homebrew
happens to execute from writing logging output to stdout. Most programs
don't do this, but `bundle install` does seem to.

To reproduce the issue you can run:

```shell
git -C "$(brew --prefix)" clean -ffdx Library/Homebrew/vendor
stdout=$(HOMEBREW_FORCE_VENDOR_RUBY=1 brew livecheck --newer-only --json --cask $(brew --repo homebrew/cask)/Casks/grid.rb)
echo "^^^ was stderr, >>> is stdout: $stdout"
```

If you run it without this change it will print a bunch of output like
this to the stdout before printing out the livecheck JSON output:

```text
Using bundler 1.17.3
Fetching byebug 11.1.3
Fetching coderay 1.1.3
Installing byebug 11.1.3 with native extensions
Installing coderay 1.1.3
Fetching colorize 0.8.1
Installing colorize 0.8.1

[
  # Contents of the JSON block.
]
```

With this change the stdout from `bundle install` will be redirected to
brew's stderr, meaning only the JSON goes to stdout, and the rest goes
to stderr.
2021-06-03 11:18:23 +01:00
Mike McQuaid
d74da6cfc6
Merge pull request #11481 from cnnrmnn/install-head-deps
Install build dependencies for `head` when `stable` is installed
2021-06-03 09:17:46 +01:00
Mike McQuaid
d2ddb80cf4
Merge pull request #11483 from nandahkrishna/audit-elasticsearch-kibana
formula_auditor: add audit for elasticsearch and kibana
2021-06-03 09:16:46 +01:00
Nanda H Krishna
1950830d0b
Merge pull request #11484 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.11.7
build(deps): bump nokogiri from 1.11.6 to 1.11.7 in /Library/Homebrew
2021-06-03 13:21:40 +05:30
BrewTestBot
e177384dca
Update RBI files for nokogiri. 2021-06-03 05:57:07 +00:00
BrewTestBot
9922ca94df
brew vendor-gems: commit updates. 2021-06-03 05:56:15 +00:00
dependabot[bot]
671dc8a33b
build(deps): bump nokogiri from 1.11.6 to 1.11.7 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.6...v1.11.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 05:54:01 +00:00
Daniel Nachun
273b06c822
Merge pull request #11459 from danielnachun/gcc_fix
super: fix GCC linkage issue in Linux
2021-06-02 20:23:53 -07:00
Nanda H Krishna
141edc8506
formula_auditor: add audit for elasticsearch and kibana
Prevent upgrading them to version 7.11 or newer, as they were
relicensed to an incompatible license.
2021-06-03 00:33:37 +05:30
Connor Mann
e75a10fafd
Fix style 2021-06-02 11:21:44 -04:00
Connor Mann
cb78499cd4
Install build deps for --HEAD 2021-06-02 11:13:12 -04:00
Mike McQuaid
aa937b9024
Merge pull request #11474 from cho-m/fix-tar-validation
utils/tar: fix validation for tar without directory or extensions
2021-06-02 14:06:17 +01:00
Mike McQuaid
995baa96e2
Merge pull request #11480 from hyuraku/use_const_API_URL
change https://api.github.com to API_URL
2021-06-02 13:40:30 +01:00
Mike McQuaid
9ea4c555ac
Merge pull request #11473 from gromgit/diagnose-broken-tap
diagnostic: add check for broken taps
2021-06-02 13:36:18 +01:00
hyuraku
90c02f7b5a change https://api.github.com to API_URL 2021-06-02 21:13:53 +09:00
Nanda H Krishna
d84f98b28c
Merge pull request #11477 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.16.0
build(deps): bump rubocop from 1.15.0 to 1.16.0 in /Library/Homebrew
2021-06-02 15:30:27 +05:30
Rylan Polster
27e27fa603
Merge pull request #11476 from Rylan12/fix-bottle-rebuild
bottle: calculate rebuild correctly when removing `bottle :unneeded`
2021-06-02 03:44:11 -04:00
Nanda H Krishna
47a549e944
Fix style using brew style --fix 2021-06-02 11:43:16 +05:30
BrewTestBot
92baa2e84a
Update RBI files for rubocop. 2021-06-02 05:30:06 +00:00
BrewTestBot
c926c43a8f
brew vendor-gems: commit updates. 2021-06-02 05:29:08 +00:00
dependabot[bot]
85d7ba7292
build(deps): bump rubocop from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.15.0 to 1.16.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.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 05:23:28 +00:00
Michael Cho
9e29c6eac2
utils/tar: fix validation for tar without directory or extensions 2021-06-01 12:53:25 -07:00
Adrian Ho
1cf8b43966 Unrefactor broken tap
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-02 00:11:18 +08:00
Rylan Polster
023063d6a2
bottle: calculate rebuild correctly when removing bottle :unneeded 2021-06-01 11:39:07 -04:00
Adrian Ho
c7bbb904e8 diagnostic: add check for broken taps
Detect half-baked core taps that show up on a fairly regular basis (e.g. #11465).

The logic is simple enough: Since an improper tap wouldn't have a complete Git config, and is always somewhere below `HOMEBREW_REPOSITORY`, any Git operation would look at the Brew repo instead. We simply need to test for any of:

1. Empty tap origin
2. Empty tap HEAD
3. Tap HEAD == Brew HEAD
2021-06-01 23:16:45 +08:00
Rylan Polster
b8479ade2b
Merge pull request #11475 from Rylan12/fix-eligible_kegs_for_cleanup
formula: reject only the latest head keg when cleaning up
2021-06-01 11:12:52 -04:00
Mike McQuaid
be7d890970
Merge pull request #11471 from Bo98/ghp-tab-fix
software_spec: fix wrong tab being fetched when bottle isn't unique
2021-06-01 13:59:06 +01:00
Rylan Polster
56f723339d
formula: reject only the latest head keg when cleaning up 2021-06-01 03:25:26 -04:00
Sam Ford
f9dd12ef5c
Merge pull request #11457 from nandahkrishna/livecheck-gnome-update
livecheck/strategy/gnome: handle new GNOME versioning
2021-05-31 20:22:06 -04:00