15650 Commits

Author SHA1 Message Date
Mike McQuaid
e29054ae0b
Merge pull request #6632 from sjackman/portable-ruby
vendor-install: Change double hyphen to single
2019-10-23 09:34:17 +01:00
Steven Peters
34bf7c9bf5 os/mac/keg: Frameworks -> MUST_BE_WRITABLE_DIRS
Also add it to MUST_EXIST_SUBDIRECTORIES.
2019-10-23 00:36:23 -07:00
Markus Reiter
04493e2dde Fix trash.swift without arguments. 2019-10-23 06:59:39 +02:00
L. E. Segovia
a02ef65f68
cask: fix xattr error detection
Fixes Homebrew/homebrew-cask#71209
2019-10-23 01:49:09 +00:00
Markus Reiter
299bb1c25f
Merge pull request #6628 from reitermarkus/automation-access
Remove `User::automation_access?`.
2019-10-22 20:52:37 +02:00
Shaun Jackman
023f0b59a2 vendor-install: Change double hyphen to single 2019-10-22 11:26:16 -07:00
Tim Masliuchenko
3ef5e06943 Add Manpage artifact 2019-10-22 15:21:49 +03:00
Mike McQuaid
cddf402365
Merge pull request #6620 from scpeters/must_exist_frameworks
os/mac/keg: Frameworks -> MUST_EXIST_DIRECTORIES
2019-10-22 09:15:51 +01:00
Mike McQuaid
368b80aa8d
Merge pull request #6627 from DavidGriffith/fix-gmake-fix
Fix stupid mistake in 6ff61909a91edf3f31adc608dcafd3f5f8e642d0
2019-10-22 08:45:38 +01:00
Mike McQuaid
2f0c178901
Merge pull request #6619 from sjackman/portable-ruby
vendor-install: Update aarch64 and add armv6
2019-10-22 08:37:39 +01:00
Mike McQuaid
d15edf735a
extend/string: use unless to fix style. 2019-10-22 08:24:32 +01:00
Markus Reiter
e5ccb9b2b2
Merge pull request #6601 from amyspark/unzip
zip: overwrite existing files
2019-10-22 07:56:33 +02:00
Markus Reiter
7a5e4d1269 Remove User::automation_access?. 2019-10-22 07:38:35 +02:00
David Griffith
11f322b61c Trying this to please brew test-bot. 2019-10-21 19:01:54 -07:00
David Griffith
5b58931ebd Fix stupid mistake in 6ff61909a91edf3f31adc608dcafd3f5f8e642d0
I forgot to alter the call to gsub() when breaking up the unless to shorten
the line.
2019-10-21 17:46:50 -07:00
Markus Reiter
0a175c4feb
Merge pull request #6625 from reitermarkus/rubocop-namespace
Fix RuboCop namespace.
2019-10-22 01:46:05 +02:00
Steven Peters
20e85acec4 keg: uniq.sort -> sort.uniq 2019-10-21 12:29:37 -07:00
Steven Peters
1ad0addbc8 spec_helper: always remove Frameworks 2019-10-21 12:27:39 -07:00
Steven Peters
c2cb6cfa79
os/mac/keg.rb: uniq.sort -> sort.uniq
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-21 12:26:01 -07:00
Markus Reiter
f099d44021 Add GitHub::create_check_run function. 2019-10-21 20:12:31 +02:00
Markus Reiter
6c03cc0040 Fix RuboCop namespace. 2019-10-21 20:09:56 +02:00
Mike McQuaid
333642927b
Merge pull request #6607 from dawidd6/keep-old-but-not-cellar
bottle: don't keep old cellar
2019-10-21 13:37:17 +01:00
Dawid Dziurla
aa9950282f
bottle: set bottle.cellar to old_spec.cellar if deleting mismatch
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-21 14:11:08 +02:00
Dawid Dziurla
e19fab86c0
bottle: allow prefix cellar to be any* 2019-10-21 13:37:55 +02:00
David Griffith
6ff61909a9
Deal with Makefile conditional assignment operators.
Ordinarily variable assignments in Makefiles are done simply with an
unconditional assignment: the equals sign.  There are variants of this:

FOO := $(BAR)	Avoid recursively expand variables.
FOO ?= bar	Assign only if $(FOO) is not already set.
FOO += bar	Add more to a variable.
FOO != bar	Execute a shell script and assign result to $(FOO).

See also
https://www.gnu.org/software/make/manual/html_node/Conditional-Example.html
https://www.gnu.org/software/make/manual/html_node/Flavors.html
2019-10-21 09:21:30 +01:00
Steven Peters
875bfbc8d3 spec_helper: workaround for removing Frameworks 2019-10-20 22:47:46 -07:00
Steven Peters
8d30912e16 os/mac/keg: Frameworks -> MUST_EXIST_DIRECTORIES 2019-10-19 17:56:36 -07:00
Shaun Jackman
6169244b15 vendor-install: Update aarch64 and add armv6 2019-10-19 11:16:42 -07:00
Cheng XU
163ef284d2
brew test: more fixes for ARM
On ARMv7, the arch name is armv7l instead of armv7. So update the bottle
file name accordingly.
2019-10-19 15:20:35 +08:00
Mike McQuaid
e985986835
Merge pull request #6617 from xu-cheng/arm
brew tests: fix for ARM
2019-10-18 17:06:04 +01:00
Cheng XU
0db4287326
formula_info: use RUBY_PATH instead of calling HOMEBREW_BREW_FILE
This ensures correct RUBY_PATH is used when running `brew tests` with
custom `HOMEBREW_RUBY_PATH`

More info: https://github.com/Homebrew/brew/pull/6617#discussion_r336431131
2019-10-18 22:15:52 +08:00
Markus Reiter
dd839c7903
Merge pull request #6615 from reitermarkus/shellenv
Fix `shellenv` when using `-u`.
2019-10-18 16:03:41 +02:00
Mike McQuaid
1e3ddcade1
diagnostic: tweak modified detection. 2019-10-18 09:22:34 +01:00
Cheng XU
c98b77fd3e
cpu_spec: fix for ARM 2019-10-18 15:33:28 +08:00
Cheng XU
f0e848b3e0
fixtures: add testball bottle for ARM
Also fix the absolute link used by testball_bottle-0.1.intel_macintosh.bottle.tar.gz
2019-10-18 15:30:24 +08:00
Markus Reiter
59866d25ea Fix shellenv when using -u. 2019-10-17 20:14:01 +02:00
EricFromCanada
6bc1785c88 doctor: list any uncommitted modified files 2019-10-16 17:43:51 -04:00
Markus Reiter
6cff8aff90 Fix cop for interpolated strings. 2019-10-16 19:06:39 +02:00
Markus Reiter
3d0fae4621 Fix #match? on nil. 2019-10-16 18:37:28 +02:00
Mike McQuaid
aae9d39939
os/mac/xcode: fallback to clang version for detecting CLT.
For some reason `pkgutil --pkgs` no longer lists the CLT after the
Catalina supplemental update.

Fixes https://github.com/Homebrew/brew/issues/6610
2019-10-16 16:26:57 +01:00
Mike McQuaid
48f54d17f8
Merge pull request #6595 from sjackman/portable-ruby-aarch64
vendor-install: Add ruby bottle for aarch64
2019-10-16 14:16:57 +01:00
Cheng XU
94cf0d922e
bottle: do not install patchelf if --skip-relocation flag is passed 2019-10-16 14:29:53 +08:00
Markus Reiter
16b3cb0d71 Skip quarantining symlinks. 2019-10-15 18:32:37 +02:00
Markus Reiter
d24f3c3b99
Merge pull request #6605 from reitermarkus/missing-command-method
Fix missing `command` method.
2019-10-15 18:05:22 +02:00
Markus Reiter
40a0b8b10a Fix missing command method. 2019-10-15 17:39:15 +02:00
L. E. Segovia
e3f8939cff
zip: overwrite existing files
Fixes homebrew/homebrew-cask#69879
2019-10-15 12:33:42 +00:00
dependabot-preview[bot]
dfb33d6f3f
build: bump rubocop from 0.75.0 to 0.75.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.75.0 to 0.75.1.
- [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.75.0...v0.75.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:15:05 +00:00
Mike McQuaid
8a93230c15
test/cask: remove disabled functionality tests. 2019-10-15 09:52:33 +01:00
Mike McQuaid
02ded996a4
formulary_spec: remove deprecated tap-pin usage. 2019-10-15 09:13:11 +01:00
Mike McQuaid
1b4fdc17f4
Raise deprecation exceptions in tests
Previously tests which hit `odeprecated` would print warnings but not
always raise exceptions or fail. Combine this with the ability to have
`odeprecated` to turn into `odisabled` on certain dates and you have
tests that may fail just on the clock changing (this is bad).

Instead, ensure that tests always raise deprecations as exceptions so
that new deprecations will have their tests handled immediately.
2019-10-15 08:52:42 +01:00