17311 Commits

Author SHA1 Message Date
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
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
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
Dawid Dziurla
ffc1b49026
pr-pull: allow to specify tap 2020-03-31 11:25:40 +02: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
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
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
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
Vítor Galvão
2e8aa3eb97 Use long --disable instead of short -q in curl 2020-03-29 20:04:37 +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
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
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
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
Bo Anderson
c241dccbc8 test/resource_spec: fix flaky test 2020-03-28 00:10:42 +00:00
Bo Anderson
32ab83d055 language/python: move rewrite_python_shebang to compat 2020-03-27 22:27:06 +00:00
Bo Anderson
3955e7e13b language/test: add shebang tests 2020-03-27 19:18:25 +00:00
Bo Anderson
5d68856350 language/python: use rewrite_shebang, add detected_python_shebang 2020-03-27 19:18:23 +00:00
Bo Anderson
878bb0e983 language/perl: add detected_perl_shebang 2020-03-27 19:18:19 +00:00
Bo Anderson
119b3fe69a utils/shebang: add rewrite_shebang 2020-03-27 13:04:39 +00:00
Mike McQuaid
094544784e
Merge pull request #7215 from charego/shellenv-fish-path
shellenv: use PATH variable, fish_user_paths should remain universal
2020-03-27 08:47:36 +00:00
Tom Schoonjans
6f7302e4bc keg_only_whitelist: add libsigc++@2 2020-03-27 08:01:01 +00:00
Bo Anderson
94d6f361a4 os/mac/xcode: support Xcode 11.4 2020-03-26 22:03:54 +00:00
Charles Gould
871974650b shellenv: use PATH variable, fish_user_paths should remain universal in scope 2020-03-26 09:38:25 -05:00
Chris Tompkinson
931e379fec remove extra space 2020-03-26 10:40:21 +00:00
Chris Tompkinson
90488ed848 rerun tests due to failure 2020-03-26 10:40:04 +00:00
Mike McQuaid
fa8fe0fc39
Merge pull request #7200 from dawidd6/create-ruby
create: add --ruby option
2020-03-24 13:50:35 +00:00
Jonathan Chang
a8ef260850
Merge pull request #7212 from jonchang/fix-wording
pr-publish: tweak wording and function names
2020-03-24 12:57:26 +11:00
Vítor Galvão
7dfd62a768
Merge pull request #7207 from vitorgalvao/kext_caveat
cask-caveats-kext: retry installation if it fails
2020-03-24 01:32:06 +00:00
Jonathan Chang
7c752e487f pr-publish: wording fixes 2020-03-24 12:31:58 +11:00
Jonathan Chang
5f53180b7c
Merge pull request #7202 from jonchang/pr-publish
Add new `pr-publish` command
2020-03-24 12:24:27 +11:00
Dawid Dziurla
626f9406b1
remove flaky cask upgrade test 2020-03-23 19:27:48 +01:00