15827 Commits

Author SHA1 Message Date
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
Mike McQuaid
d331c47de0 diagnostic: remove check_user_curlrc check. 2018-04-08 16:07:21 -07:00
Mike McQuaid
54a594ea23
Merge pull request #3870 from GauthamGoli/bump-formula-gh-api
bump-formula-pr: Replace `hub` with GH API calls
2018-04-08 16:02:51 -07:00
Mike McQuaid
3994d5937d keg: don't remove versioned aliases on unlink.
Fixes #4030.
2018-04-08 16:02:02 -07:00
Mike McQuaid
0bd5869319 Add/use HOMEBREW_CURLRC variable. 2018-04-08 15:51:58 -07:00
Mike McQuaid
010d593a8d
bump-formula-pr: sleep for fork creation. 2018-04-08 15:37:16 -07:00
Mike McQuaid
c73e873893
Merge pull request #4027 from SENG480-18/master
Simplify `search_taps` method and handle errors
2018-04-08 23:17:51 +01:00
Mike McQuaid
cd84f440b4
Merge pull request #3896 from MikeMcQuaid/more-deprecate-disable-delete
Disable/delete more deprecations
2018-04-08 23:16:10 +01:00
Mike McQuaid
cffa5a9864 Disable/delete/add more deprecations
Move various `odeprecated` to `odisabled` and delete uses of
`odisabled`.
2018-04-08 14:57:17 -07:00
Mike McQuaid
b584e24ad1
Merge pull request #4033 from MikeMcQuaid/audit-depend-if-build-with
audit (strict): check for build.with? dependencies.
2018-04-08 22:54:07 +01:00
Mike McQuaid
a349d85d6b
Merge pull request #4007 from MikeMcQuaid/deprecate-homebrew-php
official_taps: deprecate homebrew/php.
2018-04-08 22:53:29 +01:00
Mike McQuaid
af9ddfe899
Merge pull request #4035 from MikeMcQuaid/ruby-warnings
Fix HOMEBREW_RUBY_WARNINGS="-w"
2018-04-08 22:51:25 +01:00
Mike McQuaid
7ef1aa6dd5
Merge pull request #4034 from MikeMcQuaid/faq-installation
docs: update FAQ and Installation.
2018-04-08 05:50:35 +01:00
Mike McQuaid
bcf4102510
Merge pull request #4028 from MikeMcQuaid/empty-env
Note environment variables need to have values.
2018-04-07 23:38:47 +01:00
Maxim Belkin
3484db71d0 fix missing_deps 2018-04-07 15:35:27 -05:00
Mike McQuaid
58c7d32183 docs: update FAQ and Installation.
Make some miscellaneous updates to stuff I noticed was wrong.
2018-04-07 21:07:24 +01:00
Maxim Belkin
e15430c2cb fix if statement 2018-04-07 14:46:31 -05:00
Mike McQuaid
544dc1b0d0 audit: check for build.with? dependencies.
These don't behave as expected; depending on when and where in Homebrew
(or even an installation process) these are evaluated they return
different results. This means that sometimes these will be seen as
dependencies and sometimes they will be ignored entirely by the DSL.

Instead `:optional` or `:recommended` dependencies should be used. We
don't have a solution yet for grouping dependencies together but this is
another case for removing more optional dependencies altogether (as
there are no designs or proposed implementations).
2018-04-07 20:41:25 +01:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Maxim Belkin
e4a1b16180 Being explicit about sorting keys first 2018-04-07 13:33:10 -05:00
Maxim Belkin
71fef1493d Use flat_map and other shortcuts 2018-04-07 13:28:15 -05:00
Vítor Galvão
427e39b421
Merge pull request #4029 from commitay/set_ownership
Add message to `set_ownership`
2018-04-07 13:01:08 +01:00
commitay
7f7eb7e6cd Add message to set_ownership 2018-04-07 21:39:51 +10:00
Alyssa Ross
3c0443123f
Test Formula with undeclared_deps
Changed in 10ec789660edb7f727f11989cff003bf2f7275e7.
2018-04-07 12:17:12 +01:00
Alyssa Ross
264acb22f4
Restore Formula#declared_runtime_dependencies
This got lost in a merge.
2018-04-07 12:16:10 +01:00
Mike McQuaid
d0261d6e15
Merge pull request #3938 from ryangreenberg/scp_download_strategy
brew: Add ScpDownloadStrategy
2018-04-07 10:21:57 +01:00
Mike McQuaid
845b29467f Note environment variables need to have values.
Address the confusion in #4015.
2018-04-07 10:10:24 +01:00
Mike McQuaid
7c22c4b345
Merge pull request #4011 from tschoonj/meson-template-fix
brew create: fix meson template
2018-04-07 09:54:48 +01:00
Stevie Howard
d74721acc7
More granular 'brew search' query == simpler code 2018-04-06 23:14:30 -07:00
Stevie Howard
296d48ba7a
Handle error when 'brew search' can't reach GitHub 2018-04-06 22:12:29 -07:00
Stefan Sundin
0ec47813f1 Prevent .curlrc from being loaded. 2018-04-06 14:13:26 -07:00