20749 Commits

Author SHA1 Message Date
Mike McQuaid
1cbf261c9b
Merge pull request #7252 from dawidd6/github-not-json
github: return output if JSON parsing is not desired
2020-04-01 12:44:22 +01:00
Mike McQuaid
9e86ea536b
Merge pull request #7253 from MikeMcQuaid/rubocop_rspec_include
rubocop_rspec: fix includes.
2020-04-01 12:24:37 +01:00
Dawid Dziurla
e1ce5c852d
github: return output if JSON parsing is not desired 2020-04-01 13:23:54 +02:00
Mike McQuaid
e2b08d47a8
Merge pull request #7251 from Bo98/load_path
load_path: trim entries where possible to fix Ruby crashes
2020-04-01 12:22:09 +01:00
Bo Anderson
4265540cc4 load_path: trim entries where possible to fix Ruby crashes 2020-04-01 11:53:54 +01:00
Mike McQuaid
9ab8e1d51d
rubocop_rspec: fix includes.
Otherwise taps with specs don't get their style fixed.
2020-04-01 11:47:22 +01:00
Mike McQuaid
4ea09f5124
Merge pull request #7249 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.81.0
build: bump rubocop from 0.80.1 to 0.81.0 in /Library/Homebrew
2020-04-01 10:47:35 +01:00
dependabot-preview[bot]
27c2fe32e2
build: bump rubocop from 0.80.1 to 0.81.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.80.1 to 0.81.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.80.1...v0.81.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 09:04:30 +00:00
Dawid Dziurla
96cd210f8f
bottle: author bottle commit as BrewTestBot 2020-03-31 16:26:10 +02:00
Issy Long
7605924232
When a HEAD build fails, output an instruction to raise PRs not issues
- This has to be in multiple places, hence a new method. A patch failing
  to apply, which is a common occurrence with HEAD builds because the
  patch is already upstream, raises a different exception to another,
  "normal" build failure.

Tested with:

```
╭─issyl0@rigel /home/linuxbrew/.linuxbrew/Homebrew ‹head-builds-arent-officially-supported*›
╰─ $ brew install --HEAD mtr
==> Cloning https://github.com/traviscross/mtr.git
Updating /home/issyl0/.cache/Homebrew/mtr--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 155f76a Merge pull request #340 from Sea-n/master
==> Downloading https://github.com/traviscross/mtr/pull/315.patch?full_index=1
Already downloaded: /home/issyl0/.cache/Homebrew/downloads/82d9d939303d8fceb7a3ae071ecd49a5f075e0fb451b308653b555ffbae74336--315.patch
==> Patching
==> Applying 315.patch
patching file packet/probe.c
Hunk #1 FAILED at 323.
Hunk #2 FAILED at 364.
2 out of 2 hunks FAILED -- saving rejects to file packet/probe.c.rej
Error: Failure while executing; `patch -g 0 -f -p1 -i /tmp/mtr--patch-20200330-10734-avjmyy/315.patch` exited with 1.
HEAD builds are unsupported by maintainers - please file pull requests instead of issues.
```

and

```
╭─issyl0@rigel /home/linuxbrew/.linuxbrew/Homebrew ‹head-builds-arent-officially-supported*›
╰─ $ brew install --HEAD zookeeper
==> Cloning https://gitbox.apache.org/repos/asf/zookeeper.git
Updating /home/issyl0/.cache/Homebrew/zookeeper--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 1ff1b779 ZOOKEEPER-3755: Use maven to create fatjar
==> ant compile_jute
Last 15 lines from /home/issyl0/.cache/Homebrew/Logs/zookeeper/01.ant:
2020-03-30 21:45:10 +0100

ant
compile_jute

Picked up _JAVA_OPTIONS: -Duser.home=/home/issyl0/.cache/Homebrew/java_cache
Buildfile: build.xml does not exist!
Build failed

READ THIS: https://docs.brew.sh/Troubleshooting

HEAD builds are unsupported by maintainers - please file pull requests instead of issues.
```
2020-03-31 14:49:02 +01:00
Mike McQuaid
ed0985783a
Merge pull request #7243 from jonchang/artifact-scopes
pr-pull: update for GPG, various permission fixes
2020-03-31 12:34:31 +01:00
Jonathan Chang
cd56e8b03e pr-pull: update for gpg environment and secrets
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-31 22:11:30 +11:00
Jonathan Chang
1147106134 bintray: only clear Bintray key
Also add debugging statements
2020-03-31 22:11:06 +11:00
Jonathan Chang
39040fba8b utils/github: properly use token scopes 2020-03-31 22:11:06 +11:00
Mike McQuaid
bf74abcc62
Merge pull request #7245 from dawidd6/pr-pull-tap
pr-pull: allow to specify tap
2020-03-31 11:43:54 +01:00
Dawid Dziurla
ffc1b49026
pr-pull: allow to specify tap 2020-03-31 11:25:40 +02:00
Mike McQuaid
3b4c2eecd2
Merge pull request #7244 from dawidd6/pr-publish-linux
pr-publish: make it work on linux too
2020-03-31 09:52:03 +01:00
Dawid Dziurla
c563b9c6a2
pr-publish: make it work on linux too 2020-03-31 10:16:48 +02:00
Mike McQuaid
6277263b3c
Merge pull request #7225 from bayandin/add-free-port
Library/Homebrew: add free_port test helper
2020-03-31 09:06:04 +01:00
Mike McQuaid
d9f8ad3b39
Merge pull request #7242 from dawidd6/patch-1
brew.sh: obey HOMEBREW_COLOR
2020-03-31 09:05:09 +01:00
Mike McQuaid
14c8b8747b
Merge pull request #7241 from MikeMcQuaid/integration_tests_only_system_ruby
integration_test: only run on system Ruby.
2020-03-31 08:44:59 +01:00
Alexander Bayandin
bfcba0f5f0 Library/Homebrew: add free_port test helper
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-31 00:00:11 +01:00
Dawid Dziurla
90b410c2a9
brew.sh: obey HOMEBREW_COLOR 2020-03-31 00:17:42 +02:00
Mike McQuaid
bd076049a0
integration_test: only run on system Ruby.
There appear to be random, seemingly impossible to debug issues with
running integration tests on portable Ruby. Instead of confusing
contributors when these will be run on CI anyway: let's just skip them
by default (like we do with `--online` for online tests anyway).
2020-03-30 20:25:42 +01:00
Jonathan Chang
ee1f05e029
Merge pull request #7236 from jonchang/pr-pull
Adds a new `pr-pull` command.
2020-03-30 23:10:58 +11:00
Jonathan Chang
e601c3f87c bintray: streamline initialization
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-30 22:41:17 +11:00
Jonathan Chang
0d3a4d98c0 utils/github: add test for fetch_artifact 2020-03-30 22:41:17 +11:00
Jonathan Chang
bab564f203 pr-pull: add tests 2020-03-30 22:41:17 +11:00
Jonathan Chang
282bfbf70a bintray: add tests 2020-03-30 22:41:17 +11:00
Jonathan Chang
d459718bc4 manpages: update for new pr-pull command 2020-03-30 22:41:17 +11:00
Jonathan Chang
0574ba436b dev-cmd: add pr-pull command 2020-03-30 22:41:17 +11:00
Jonathan Chang
49c5a4393a bintray: add Bintray API functions 2020-03-30 22:18:19 +11:00
Jonathan Chang
5b1d0786a4 utils/github: add fetch_artifact API 2020-03-30 22:18:19 +11:00
Mike McQuaid
6df0724313
Merge pull request #7233 from vitorgalvao/curl-long-disable
Use long --disable instead of short -q in curl
2020-03-30 08:22:39 +01:00
Mike McQuaid
e8245da296
Merge pull request #7240 from Homebrew/dependabot/bundler/docs/ruby-enum-0.8.0
build: bump ruby-enum from 0.7.2 to 0.8.0 in /docs
2020-03-30 08:22:20 +01:00
dependabot-preview[bot]
4fb5b93541
build: bump ruby-enum from 0.7.2 to 0.8.0 in /docs
Bumps [ruby-enum](https://github.com/dblock/ruby-enum) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/dblock/ruby-enum/releases)
- [Changelog](https://github.com/dblock/ruby-enum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dblock/ruby-enum/compare/v0.7.2...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 05:42:43 +00:00
Vítor Galvão
2e8aa3eb97 Use long --disable instead of short -q in curl 2020-03-29 20:04:37 +01:00
Mike McQuaid
ef12e329a3
Merge pull request #7235 from GauthamGoli/argv-cleanup-16
ARGV: Deprecate ARGV.build_stable?
2020-03-29 19:55:41 +01:00
Mike McQuaid
8975dfb6ff
Merge pull request #7238 from Homebrew/dependabot/bundler/Library/Homebrew/unf_ext-0.0.7.7
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
2020-03-29 19:36:51 +01:00
Mike McQuaid
9efc189202
Merge pull request #7238 from Homebrew/dependabot/bundler/Library/Homebrew/unf_ext-0.0.7.7
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
2020-03-29 19:21:24 +01:00
Mike McQuaid
38c71282a1
Merge pull request #7230 from Bo98/update-report_disable_load
cmd/update-report: check for HOMEBREW_DISABLE_LOAD_FORMULA
2020-03-29 19:17:17 +01:00
Mike McQuaid
9e503b1f3c
Merge pull request #7228 from Bo98/xcode-11.4
os/mac/xcode: support Xcode 11.4
2020-03-29 19:16:01 +01:00
Mike McQuaid
8f6029f203
Merge pull request #7237 from Homebrew/dependabot/bundler/docs/faraday-1.0.1
build: bump faraday from 1.0.0 to 1.0.1 in /docs
2020-03-29 19:12:58 +01:00
Mike McQuaid
1b1a464165
Merge pull request #7214 from GauthamGoli/argv-cleanup-15
ARGV: Deprecate ARGV.collect_build_args
2020-03-29 19:12:18 +01:00
dependabot-preview[bot]
6ab3267e8e
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
Bumps [unf_ext](https://github.com/knu/ruby-unf_ext) from 0.0.7.6 to 0.0.7.7.
- [Release notes](https://github.com/knu/ruby-unf_ext/releases)
- [Changelog](https://github.com/knu/ruby-unf_ext/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knu/ruby-unf_ext/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 17:14:30 +00:00
dependabot-preview[bot]
1a86fa4421
build: bump faraday from 1.0.0 to 1.0.1 in /docs
Bumps [faraday](https://github.com/lostisland/faraday) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 13:57:16 +00:00
Bo Anderson
870bae8ce6 cmd/update-report: check for HOMEBREW_DISABLE_LOAD_FORMULA 2020-03-28 22:15:07 +00:00
Gautham G
7ad6dab288 ARGV: Deprecate ARGV.collect_build_args 2020-03-28 21:00:59 +05:30
Mike McQuaid
6530e333b3
Merge pull request #7227 from Bo98/perl
utils/shebang: add rewrite_shebang (+ Perl & improved Python support)
2020-03-28 13:56:31 +00:00
hyuraku
6f622cd525 audit whether GitHub prerelease ot not 2020-03-28 16:57:47 +09:00