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
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
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
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
Ryan Greenberg
fe8939ddd0
brew: Add ScpDownloadStrategy
2018-04-05 18:57:34 -07:00
Mike McQuaid
1376b9e41c
diagnostic: remove missing check.
2018-04-02 19:31:36 +01:00
Mike McQuaid
93e1dbcf1d
official_taps: deprecate homebrew/php.
...
After all these formulae have been deleted we want to warn people on
tapping it.
2018-04-02 14:50:51 +01:00
ilovezfs
7fd6210127
Merge pull request #4014 from ilovezfs/virtualenv-15.2.0
...
python_virtualenv_constants: update virtualenv to 15.2.0
2018-04-02 02:14:51 -07:00
ilovezfs
7eaaaf6fa2
python_virtualenv_constants: update virtualenv to 15.2.0
2018-04-02 01:58:17 -07:00
Mike McQuaid
9b1bd5f45a
system_config: don’t output std/superenv vars.
2018-04-02 09:40:39 +01:00
Mike McQuaid
7095738d1d
Remove config/doctor checks we no longer need
...
A bunch of these were needed before superenv, environment filtering or
on now long-unsupported versions of macOS.
2018-04-02 09:40:39 +01:00
Tom Schoonjans
4cdee1b53d
brew create: fix meson template
2018-04-01 11:24:50 +02:00
Mike McQuaid
5dfa0cf622
keg: delete bad tap opt non-symlink directories.
...
But don't delete them if they are a symlink to a directory i.e. a normal
opt link.
Handles the issue mentioned in
1651647a3d (r28360427)
2018-04-01 09:27:49 +01:00
Gautham Goli
1e0f9fb835
bump-formula-pr: Replace hub with GH API calls to fork and open Pull request
2018-03-31 19:44:55 +05:30
Mike McQuaid
49038a2cd9
Remove mentions to official taps
...
There are none remaining. We don’t want PHP to get the deprecated
messages until all formulae have been deleted so that will be in a
later PR.
2018-03-31 13:42:33 +01:00
Maxim Belkin
d6e0b7d2bf
use new syntax
2018-03-30 20:56:36 -05:00
Maxim Belkin
55620a736a
distinguish between broken_dylibs and broken_deps
2018-03-30 15:55:14 -05:00
Mike McQuaid
33b5ac78ad
cmd/switch: improve usability.
...
- Ensure that we output the available versions where relevant
- Use `<formula>` to be consistent with other commands’ help
- General code cleanup
2018-03-30 15:19:13 +01:00
Mike McQuaid
5b68bb84d2
cmd/upgrade: output the outdated version.
...
This makes it clearer what version is being updated to what version.
2018-03-30 15:00:45 +01:00
Mike McQuaid
ed8cae93ab
cmd/install: mention brew reinstall
...
If people are trying to `brew install` an existing version it’s worth
pointing out to them how they can reinstall (as it’s pretty much the
only case where we’re not already suggesting another command).
2018-03-30 14:58:36 +01:00
Mike McQuaid
4c07685258
cmd/help: usability tweaks.
...
- Don’t mention `brew home` or `brew options` as their output is in
`brew info` (and the `(…|…)` is weird.
- Use full length flags for `-v` and `-d` to make more obvious what
they are doing
- Don’t use `Developers`; instead point out it’s how you contribute
- Mention `brew commands` for `COMMAND` output (like we do with
`FORMULA` and `brew search`)
- Point towards `docs.brew.sh`
2018-03-30 14:57:38 +01:00
Alyssa Ross
6bbc56c3a9
Merge branch 'master' into undeclared_runtime_dependencies
2018-03-30 12:39:13 +01:00
Markus Reiter
cc2d9d926e
Merge pull request #4002 from reitermarkus/tap-path-loader
...
Use `TapPathLoader` in more cases.
2018-03-29 22:19:53 +02:00
Markus Reiter
94f2098c36
Only use HOMEBREW_TAP_PATH_REGEX
once inside Tap
class.
2018-03-29 22:05:02 +02:00
Markus Reiter
db2cd52842
Use TapPathLoader
in more cases.
2018-03-29 21:56:32 +02:00
Markus Reiter
8a29244965
Update to RuboCop 0.54
2018-03-29 21:07:04 +02:00
Mike McQuaid
ce9c8c6808
cmd/leaves: handle missing formulae.
...
We can't get dependencies of unavailable formulae so don't try.
Fixes #3995 .
2018-03-29 10:58:01 +01:00
Mike McQuaid
6654ff6e13
Merge pull request #3996 from GauthamGoli/common-switch
...
cli_parser: Add :quiet, :verbose, :debug common switches
2018-03-29 08:15:39 +01:00
Mike McQuaid
62e855c863
Merge pull request #3998 from kabel/rubocop-dependency-order-tags
...
audit: Fix dependency order with multiple tags
2018-03-29 08:15:04 +01:00
Kevin Abel
1b22e16a08
rubocop: Fix audit for dependency order with multiple tags
...
Dependencies that have multiple tags (`[:build, :test]`) get sorted into
multiple locations resulting in the cop always reporting an offense
regardless of order.
2018-03-28 20:54:39 -05:00