15634 Commits

Author SHA1 Message Date
Markus Reiter
77c9c1ddf0 Use described_class in Formulary spec. 2018-04-20 19:11:22 +02:00
Mike McQuaid
1d9746db84
Merge pull request #4092 from MikeMcQuaid/x11_requirement_download_base
x11_requirement: move download to base class.
2018-04-18 15:06:23 +01:00
Mike McQuaid
0a2e381471
Merge pull request #4091 from MikeMcQuaid/formula-aliases-sort
formula: sort aliases in to_hash.
2018-04-18 15:05:57 +01:00
Mike McQuaid
6fab4e1805 x11_requirement: move download to base class.
No reason to have it in macOS class and keeps consistent output with
`brew info` on Linux.
2018-04-18 11:18:29 +01:00
Mike McQuaid
63c0706190 formula: sort aliases in to_hash.
Otherwise the ordering varies based on the filesystem.
2018-04-18 11:17:57 +01:00
Mike McQuaid
dcf20682d7
Merge pull request #4090 from MikeMcQuaid/cask-generic-requirements
requirements: define cask on base class.
2018-04-18 10:08:34 +01:00
Mike McQuaid
a4bada575a requirements: define cask on base class.
The `cask` attribute doesn't make as much sense on Linux but can be
ignored there. The advantage of this change is that (like #4086) it
allows figuring out the relevant cask for a formulae requirement on a
Linux machine.
2018-04-18 09:55:44 +01:00
Mike McQuaid
55486383a9
Merge pull request #4086 from MikeMcQuaid/linux-hash-tweaks
formula: tweak to_hash bottle output.
2018-04-18 09:49:39 +01:00
Mike McQuaid
6896b086e4
Merge pull request #4088 from rayhamel/rayhamel-patch-1
AbstractDownloadStrategy#safe_system : Don't splat 2nd arg to ErrorDuringExecution::new
2018-04-18 09:04:48 +01:00
Ray Hamel
1ee40e831a
Don't splat 2nd arg to ErrorDuringExecution::new 2018-04-17 19:09:54 -04:00
Mike McQuaid
a34c11874b formula: tweak to_hash bottle output.
Make some changes required to have `brew info --json=v1` whether there
is any bottle block rather than a bottle checksum for the given system.

This provides more consistent output.
2018-04-17 21:44:50 +01:00
ilovezfs
714bf51524
Merge pull request #4085 from ilovezfs/xcode-9.3
Xcode 9.3
2018-04-17 06:37:48 -07:00
ilovezfs
807a383bc5 Xcode 9.3 2018-04-17 06:26:12 -07:00
Mike McQuaid
7166289ad7 os/mac/xcode: revert an installed? guard removal.
Fixes #4084.
2018-04-17 12:05:09 +01:00
Mike McQuaid
7b6fb39497
Merge pull request #4081 from MikeMcQuaid/deprecate_old_keg_only
formula_support: deprecate more keg_only reasons.
2018-04-17 11:51:37 +01:00
Mike McQuaid
9580afb222 formula_support: deprecate more keg_only reasons.
It's unnecessary extra complexity to have versions that are keg-only on
some versions of macOS and not others.

Initially this was to only do so on old versions of OS X and Xcode but
the discussion in https://github.com/Homebrew/brew/pull/4081 meant that
it made more sense to remove them all.
2018-04-17 11:17:18 +01:00
Mike McQuaid
d08a4accfb
Merge pull request #4083 from MikeMcQuaid/remove-xcode-installed-guards
Remove Xcode.installed? guards.
2018-04-17 11:16:43 +01:00
Mike McQuaid
a5849cb100
Merge pull request #4082 from MikeMcQuaid/rubocop-0.55.0
RuboCop 0.55.0.
2018-04-17 11:16:09 +01:00
Mike McQuaid
85edbd28b1 Remove Xcode.installed? guards.
It's safe since 600d58f4ca3d85894c66a38802965fd94d4ea469 when
MacOS::Xcode.version started returning `Version::NULL` where
appropriate.
2018-04-17 10:58:51 +01:00
Mike McQuaid
0a00312b71 Autocorrect new RuboCop 0.55.0 style violations. 2018-04-17 10:54:58 +01:00
Markus Reiter
5cf8fa5727
Update rubocop-cask to 0.19. 2018-04-17 10:59:25 +02:00
Mike McQuaid
1f64c50167 RuboCop 0.55.0. 2018-04-17 09:03:57 +01:00
Markus Reiter
6233b9d199
Merge pull request #4072 from reitermarkus/cask-refactoring
Cask Refactoring
2018-04-17 06:17:04 +02:00
Mike McQuaid
5a2817cb02
Merge pull request #4066 from scpeters/missing_fail
missing: exit nonzero if missing deps are found
1.6.1
2018-04-16 13:17:22 +01:00
Mike McQuaid
01c7df8860
Merge pull request #4071 from commitay/audit-head
audit: new formulae should not have a HEAD spec
2018-04-16 13:16:51 +01:00
Markus Reiter
c8e81e8675
Merge pull request #4077 from reitermarkus/rubocop-cask
Update `rubocop-cask` to 0.18.1.
2018-04-16 03:09:56 +02:00
Markus Reiter
6668aa4060 Update rubocop-cask. 2018-04-16 02:48:29 +02:00
Markus Reiter
b469cae9c1
Merge pull request #4075 from reitermarkus/macos-release
Add missing `MacOS.release` deprecation.
2018-04-15 16:05:03 +02:00
Markus Reiter
6714acc098 Add missing MacOS.release deprecation. 2018-04-15 15:49:37 +02:00
Gautham Goli
36c1ad9f64 cli_parser: Add depends, conflicts option constraints 2018-04-14 21:44:47 +05:30
Gautham Goli
20155c8df9 bump-formula-pr: Use Parser to parse args 2018-04-14 21:44:47 +05:30
Mike McQuaid
f9f9dbc3e9
Merge pull request #4073 from GauthamGoli/required-flag-refactor
cli_parser: Refactor required argument for flag to '='
2018-04-14 15:56:10 +01:00
Gautham Goli
48aecf2fa7 cli_parser: Refactor required argument for flag to '=' 2018-04-14 19:04:24 +05:30
Mike McQuaid
04d1d04779
Merge pull request #4061 from MikeMcQuaid/ga-retention
docs/Analytics: note retention period.
2018-04-14 14:16:24 +01:00
Markus Reiter
19317760da Remove Hbc::Scopes. 2018-04-14 11:45:51 +02:00
Markus Reiter
791af7e910 Move invalid Cask fixtures into sub-directories. 2018-04-14 11:44:19 +02:00
Markus Reiter
8d0d5eb6d9 Remove QualifiedToken. 2018-04-14 11:44:19 +02:00
Markus Reiter
270d888297 Make Cask `enumerable. 2018-04-14 11:44:19 +02:00
Markus Reiter
68eef4c74e Add .localized to undeletable macOS paths. 2018-04-14 11:44:19 +02:00
commitay
909312f9a4 audit: new formulae should not have a HEAD spec 2018-04-14 19:24:07 +10:00
Markus Reiter
cb5684831e Remove unused Buffer class. 2018-04-14 07:31:12 +02:00
Steven Peters
2adfb77cd8 missing: exit nonzero if missing deps are found 2018-04-12 22:48:02 -07:00
Mike McQuaid
6b3ee9b8fd docs/Analytics: note retention period.
Due to [GDPR](https://www.eugdpr.org) Google Analytics have added
[data retention controls](https://support.google.com/analytics/answer/7667196).

Let's set these so that we don't keep any anonymous user data any longer
than we need it.
2018-04-11 19:18:31 -07:00
Mike McQuaid
50059990e2
Merge pull request #4053 from MikeMcQuaid/string-undent-fix
compat/extend/string: fix odisabled return.
2018-04-11 16:32:53 -07:00
Mike McQuaid
9b8c30e0c8 compat/extend/string: fix odisabled return.
`odisabled` will still return for a formula in `.brew`. This means
`EOS.undent` returns `nil` and the formula cannot be parsed. Instead
return the actual string in this case to avoid e.g. patches blowing up
with `nil` strings.

Fixes #4049.
2018-04-11 16:16:30 -07:00
Markus Reiter
cd21ba904e
Merge pull request #4052 from reitermarkus/fix-cask-remote-search
Fix Cask search not showing remote matches.
2018-04-12 00:21:46 +02:00
Markus Reiter
8c116f9507 Fix Cask search not showing remote matches. 2018-04-11 16:53:32 +02:00
Mike McQuaid
df19f7103c
Merge pull request #4050 from maxim-belkin/fix-release-notes
Make release-notes command work from any location
2018-04-10 11:41:47 -07:00
Maxim Belkin
d8cc56c1d0
release-notes: update documentation and manual page 2018-04-10 13:17:35 -05:00
Mike McQuaid
3e173d8e5e
Merge pull request #4048 from GauthamGoli/bottle-minor-fix
bottle: Use @args
2018-04-10 10:20:12 -07:00