15907 Commits

Author SHA1 Message Date
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
Mike McQuaid
36c95140a3
Merge pull request #4047 from GauthamGoli/missing-import-fix
mirror: Add missing import for cli_parser
2018-04-10 10:20:01 -07:00
Mike McQuaid
07794cd7f8
Merge pull request #4046 from xu-cheng/keg_relocate
Keg#replace_text_in_files: fix incorrect replace order
2018-04-10 10:19:50 -07:00
Maxim Belkin
40b0d0b584
Make release-notes command work from any location
* specify repository location using `-C` option
* change `newest` to `latest` when talking about the latest tagged
commit
2018-04-10 10:23:40 -05:00
Gautham Goli
a93e7ab2bd bottle: Use @args 2018-04-10 19:09:59 +05:30
Gautham Goli
e809f93c45 mirror: Add missing import for cli_parser 2018-04-10 18:54:12 +05:30
Xu Cheng
6cdc501a75
Keg#replace_text_in_files: fix incorrect replace order
The order of the regexes in `Keg#replace_text_in_files` matters.
Otherwise, `/usr/local/Cellar` will be replaced to
`@@HOMEBREW_PREFIX@@/Cellar` instead of `@@HOMEBREW_CELLAR@@`.

Fixes Homebrew/homebrew-core#26043.
2018-04-10 18:22:18 +08:00
Mike McQuaid
468210840c
Merge pull request #4005 from sjackman/or-later
bottle: Add option --or-later
2018-04-09 21:25:22 -07:00
Shaun Jackman
df68d12be4 bottle: Add option --or-later
If --or-later is passed, append _or_later to the bottle tag.
2018-04-09 20:58:38 -07:00
Mike McQuaid
e3cd9c972f
Merge pull request #4045 from MikeMcQuaid/curlrc-reverse-fix
Only read curlrc if HOMEBREW_CURLRC is set.
1.6.0
2018-04-09 15:57:04 -07:00
Mike McQuaid
ae5e904c08 Only read curlrc if HOMEBREW_CURLRC is set.
This reverses the previous, incorrect order.
2018-04-09 15:43:03 -07:00
Mike McQuaid
64ae942bab
Merge pull request #4044 from GauthamGoli/urls_cop_bug
urls_cop: Search for func calls to match `url` and `mirror` calls
2018-04-09 15:28:07 -07:00
Gautham Goli
a8294a81c0 urls_cop: Search for func calls to match url and mirror calls 2018-04-10 03:22:32 +05:30
Mike McQuaid
915ab415e7
Merge pull request #4012 from GauthamGoli/global-options
cli_parser: Common switch options to be accessible across brew
2018-04-09 13:50:08 -07:00
Mike McQuaid
7c865714c7
Merge pull request #4042 from MikeMcQuaid/formula-compat-remove-patches
compat/formula: remove patches.
2018-04-09 13:49:08 -07:00
Gautham Goli
d22b750e17 Store common switch as Homebrew.args global var 2018-04-10 00:00:35 +05:30
AndrewMcBurney
e5eaf57856 Fixed broken test due to changing usage of DatabaseCache to block usage. 2018-04-09 14:19:07 -04:00
AndrewMcBurney
d5795d816a Added broken_deps to LinkageStore. 2018-04-09 14:01:42 -04:00
AndrewMcBurney
dcdd16237c Merge remote-tracking branch 'origin/master' into cache-optimization 2018-04-09 13:49:58 -04:00
Mike McQuaid
3016658a08 compat/formula: remove patches.
This method was missed in #3896.
2018-04-09 08:09:18 -07:00
Mike McQuaid
775b6325b4
Merge pull request #4039 from MikeMcQuaid/openstruct-args-undef-tap
cli_parser: undefine OpenStruct instance tap.
2018-04-08 16:59:09 -07:00
Mike McQuaid
4ab0a18c8f patch: improve nil strip message.
As reported https://github.com/Homebrew/brew/pull/4037#issuecomment-379591755.
2018-04-08 16:48:50 -07:00
Mike McQuaid
daf118971c cli_parser: undefine OpenStruct instance tap.
Undefine `tap` to allow `--tap` arguments to work as expected.
2018-04-08 16:40:02 -07:00
Mike McQuaid
99b89e4866
Merge pull request #4022 from stefansundin/disable-curlrc
Tell curl to not use .curlrc
2018-04-08 16:37:49 -07:00
Mike McQuaid
e2e1d09520
Merge pull request #4038 from MikeMcQuaid/insecure-installation
docs/Installation: note curl usage on <=10.7.
2018-04-08 16:37:35 -07:00
Mike McQuaid
f18e4e3302 docs/Installation: note curl usage on <=10.7.
Need to pass `--insecure` there for it to work.
2018-04-08 16:33:43 -07:00
Mike McQuaid
65651b373f
Merge pull request #4037 from MikeMcQuaid/keg-unlink-no-remove-old-aliases
keg: don't remove versioned aliases on unlink.
2018-04-08 16:13:42 -07:00
Mike McQuaid
de82d3a945
Merge pull request #3940 from maxim-belkin/fix-undeclared
linkage_checker: fix detection of broken dependencies and missing libraries
2018-04-08 16:13:28 -07:00