16059 Commits

Author SHA1 Message Date
Mike McQuaid
9da6c9b521
rubocops/urls: stricter binary URL requirements.
Don't rely on x86_64 detection but instead whitelist the few projects
that fun afoul of these regex.
2020-04-02 09:54:14 +01:00
Mike McQuaid
fe5717519c
update: make rebase quiet.
I tested the workaround with the newest Git and the Catalina system Git
and it wasn't needed in either case. We can re-add it if we get
complaints with supported Git versions.

Fixes https://github.com/Homebrew/brew/issues/7259
2020-04-02 09:00:25 +01:00
Mike McQuaid
91223b3011
Merge pull request #7255 from Bo98/xcrun
shims/mac/super/xcrun: use Homebrew's chosen SDK and DEVELOPER_DIR
2020-04-02 08:26:30 +01:00
Bo Anderson
99550ff564 shims/mac/super/xcrun: use Homebrew's chosen SDK and DEVELOPER_DIR
Fixes #7250.
2020-04-01 17:34:30 +01:00
Mike McQuaid
1824435f67
Merge pull request #7254 from Homebrew/revert-7246-pr-pull-commit-author
Revert "bottle: author bottle commit as BrewTestBot"
2020-04-01 17:05:43 +01:00
Mike McQuaid
c0dca271ef
Merge pull request #7144 from spaceapegames/master
Add headers option to URLs in forumlas
2020-04-01 16:22:35 +01:00
Mike McQuaid
29fd98960c
Revert "bottle: author bottle commit as BrewTestBot" 2020-04-01 16:20:35 +01:00
Dawid Dziurla
fe6cf5767f
Merge pull request #7246 from dawidd6/pr-pull-commit-author
bottle: author bottle commit as BrewTestBot
2020-04-01 17:15:58 +02:00
Chris Tompkinson
4bfed9cdb0 flatten before compact 2020-04-01 15:46:28 +01:00
Mike McQuaid
7df1dd7797
diagnostic: complain on deprecated/disabled formulae. 2020-04-01 13:43:15 +01:00
Mike McQuaid
c4c0e45aba
brew.rb: warn on deprecated/disabled formula. 2020-04-01 13:43:02 +01:00
Mike McQuaid
3effcc4dff
Tweak formula deprecation/disabling. 2020-04-01 13:42:52 +01:00
Mike McQuaid
4121659413
Merge remote-tracking branch 'origin/master' into deprecate-method-formulae 2020-04-01 13:07:11 +01:00
Mike McQuaid
8d3aa49ae2
Merge pull request #7234 from issyl0/head-builds-arent-officially-supported
When a HEAD build fails, output an instruction to raise PRs not issues
2020-04-01 13:05:20 +01:00
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
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
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
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