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
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
c2133d8100
Merge pull request #7223 from Homebrew/dependabot/bundler/docs/html-proofer-3.15.2
...
build: bump html-proofer from 3.15.1 to 3.15.2 in /docs
2020-03-27 08:49:52 +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
Mike McQuaid
31d07806de
Merge pull request #7229 from tschoonj/whitelist-libsigc@2
...
keg_only_whitelist: add libsigc++@2
2020-03-27 08:38:44 +00:00