Mike McQuaid
a1b8d4179c
Merge pull request #2108 from MikeMcQuaid/readall-shadowed-aliases
...
readall: check for shadowed aliases.
2017-04-22 18:24:22 +01:00
Mike McQuaid
a937ed0a20
Merge pull request #2522 from MikeMcQuaid/more-deprecations
...
More deprecations.
2017-04-22 17:47:39 +01:00
Mike McQuaid
688034d22a
utils: fix which_editor.
...
Handle when there's no editor variable specified or it's specified but
empty.
2017-04-22 17:29:59 +01:00
Gautham Goli
413a7e5dae
Port audit_components method to rubocops and add corresponding tests
2017-04-22 21:53:16 +05:30
Mike McQuaid
114e8c5537
Merge pull request #2515 from MikeMcQuaid/travis-cache-bundler
...
travis.yml: cache Bundler output.
2017-04-22 17:11:06 +01:00
Mike McQuaid
cd5924950e
readall: check for shadowed aliases.
...
If an alias has the same name as a formula then weirdness will result
so ensure this causes `readall` to fail.
2017-04-22 17:08:36 +01:00
Mike McQuaid
5c82e0d552
Merge pull request #2526 from MikeMcQuaid/audit-gnu-mirror-flip
...
audit: flip GNU mirror preference.
2017-04-22 16:54:50 +01:00
Mike McQuaid
e04cb899ac
tap: warn on tapping deprecated, official taps.
...
They don't contain any formulae so tapping them will add pointless
clutter.
2017-04-22 16:53:48 +01:00
Mike McQuaid
d02b4f321d
Hide sensitive tokens from install/test/post.
...
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
2017-04-22 16:31:19 +01:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Mike McQuaid
62764485c7
travis.yml: cache Bundler output.
...
Travis needs some coaxing to find where we put it. This should improve
build reliability due to network issues.
2017-04-22 15:44:47 +01:00
Mike McQuaid
044bd974e4
Merge pull request #2484 from MikeMcQuaid/unversion-formula-tap-match
...
audit: lookup unversioned formulae with Formulary.
2017-04-22 15:04:21 +01:00
Mike McQuaid
206d6de845
Merge pull request #2521 from MikeMcQuaid/tests-reduce-noise
...
tests: reduce some noise.
2017-04-22 13:25:38 +01:00
Mike McQuaid
94ef7318ae
audit: flip GNU mirror preference.
...
Now that both the primary and mirror URLs use HTTPS we can flip these
around so the primary URL is the primary URL and we don't have problems
with waiting for mirror propagation.
2017-04-22 13:10:03 +01:00
Mike McQuaid
185b1787c6
audit: lookup unversioned formulae with Formulary.
...
This means that if e.g. the unversioned formulae exists in another tap
this audit won't produce a false positive.
2017-04-22 13:00:38 +01:00
Mike McQuaid
a6df701fad
tests: reduce some noise.
...
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
2017-04-22 12:49:14 +01:00
Mike McQuaid
10d70aa93a
Merge pull request #2523 from MikeMcQuaid/remove_formula_installer_feature_flags
...
formula_installer: remove feature flags.
2017-04-22 12:47:02 +01:00
Mike McQuaid
268f2dbde2
Merge pull request #2476 from MikeMcQuaid/edit-env-filtering
...
Fix `brew edit` with environment filtering.
2017-04-22 12:41:42 +01:00
Markus Reiter
44232ab044
Merge pull request #2519 from reitermarkus/validate-container-type
...
Validate `container :type`.
2017-04-22 12:53:17 +02:00
Markus Reiter
1772088099
Merge pull request #2525 from retokromer/patch-2
...
[trifle] missing space
2017-04-22 12:52:42 +02:00
Mike McQuaid
fdcffb25a9
Merge pull request #2482 from MikeMcQuaid/audit-dependency-options
...
audit: ensure default dependencies don't use options.
2017-04-22 11:07:16 +01:00
Mike McQuaid
96ea97967a
Merge pull request #2479 from MikeMcQuaid/audit-new-formula-patches
...
audit: new formulae should not require patches.
2017-04-22 11:06:27 +01:00
Reto Kromer
a173b5beea
[trifle] missing space
2017-04-22 11:55:11 +02:00
Mike McQuaid
e41f0bf8c8
formula_installer: remove feature flags.
...
We've been testing the recursive dependency check and allowing unlinked
dependencies in CI for a while with no adverse consequences so enable
them globally now for all users.
2017-04-21 18:27:44 +01:00
Mike McQuaid
69c7a20896
Fix brew edit
with environment filtering.
...
For many people `brew edit` makes use of the `EDITOR` variable to pick a
sensible editor. With environment filtering enabled unless this editor
is found in the default system PATH it'll fall back to e.g. `vim`.
Instead, ensure that we export the original, pre-filtering `PATH` as
`HOMEBREW_PATH` and use that internally to locate the editor. In future
this same approach will likely be used for requirements to be able to
find tools, too, and for other variables which we want to expose to
Homebrew itself but not other build tools.
Note that `HOMEBREW_PATH` is the same as `PATH` when build filtering
hasn't been enabled.
2017-04-21 18:26:12 +01:00
Mike McQuaid
3011cbac34
audit: ensure dependencies don't use options.
...
Option dependencies are nasty as they cause unnecessary builds from
source.
2017-04-21 18:24:10 +01:00
Mike McQuaid
1775c32210
audit: new formulae should not require patches.
...
We may under some circumstances accept these anyway but it's better to
nudge people into the right behaviours on local `audit`s.
2017-04-21 18:23:55 +01:00
Mike McQuaid
6e1faf5b88
Merge pull request #2513 from Sharpie/nostalgia
...
README: Add Charlie to former maintainers.
2017-04-21 18:11:51 +01:00
Markus Reiter
75ceed39e6
Merge pull request #2520 from reitermarkus/pkgutil-plist
...
Partly revert “Fix `uninstall :pkgutil` leaving empty `.app` directories.”.
2017-04-21 17:37:42 +02:00
Markus Reiter
80e09c8dec
Partly revert “Fix uninstall :pkgutil
leaving empty .app
directories.”.
2017-04-21 16:46:39 +02:00
Markus Reiter
cd110b467d
Merge pull request #2512 from commitay/cask-binary
...
Replace `FileUtils.chmod` with `/bin/chmod` for cask binaries.
2017-04-21 15:24:07 +02:00
Markus Reiter
5c51c4e23b
Fix test for chmod +x
on binaries.
2017-04-21 14:52:35 +02:00
commitay
13c33f561e
Update binary.rb
2017-04-21 14:52:35 +02:00
commitay
7d9513130b
Replace FileUtils.chmod
with /bin/chmod
for cask binaries. [WIP]
...
Update binary.rb
Update binary.rb
Update binary.rb
2017-04-21 14:52:35 +02:00
Vítor Galvão
cc7376246e
Merge pull request #2517 from reitermarkus/fix-select-blocking
...
Fix `IO#select` blocking.
2017-04-21 13:43:20 +01:00
Markus Reiter
12fe895749
Merge pull request #2516 from Arcank/extraneous-brace
...
Remove extraneous }
2017-04-21 14:13:09 +02:00
Markus Reiter
cc634b2d50
Set timeout to 10 seconds instead of retrying.
2017-04-21 14:12:16 +02:00
Markus Reiter
1e06d1318e
Validate container :type
.
2017-04-21 14:07:34 +02:00
Markus Reiter
9e089a7d12
Fix IO#select
blocking.
2017-04-21 07:18:46 +02:00
Markus Reiter
1cd125e7e7
Refactor cask metadata directory methods.
2017-04-21 01:28:21 +02:00
Louis Romero
a27a82c196
Remove extraneous }
2017-04-21 00:24:09 +02:00
Mike McQuaid
2be7999878
Merge pull request #2274 from rwhogg/fuse-requirement
...
Port OsxfuseRequirement to Linux
2017-04-20 17:14:42 +01:00
Charlie Sharpsteen
824462c5c0
README: Add Charlie to former maintainers.
2017-04-20 08:00:14 -07:00
Markus Reiter
67a0a89b10
Merge pull request #2511 from reitermarkus/fix-plist-parser
...
Fix `plist` parser failing when encoded with ASCII.
2017-04-20 11:57:15 +02:00
Mike McQuaid
29d750df71
Merge pull request #2509 from scpeters/audit_message_swap
...
audit: fix swapped audit messages
2017-04-20 08:24:38 +01:00
Markus Reiter
a264590201
Merge pull request #2254 from reitermarkus/lowercase-caskroom
...
Lowercase `caskroom` and add missing Taps.
2017-04-20 05:50:52 +02:00
Markus Reiter
6ce84c4fb8
Add OFFICIAL_CASK_TAPS
in official_taps.rb
.
2017-04-20 05:22:34 +02:00
Markus Reiter
3c017a7405
Lowercase Caskroom
in search
.
2017-04-20 05:22:34 +02:00
Markus Reiter
62cc258ba7
Merge pull request #2510 from bfontaine/be-be-be-be
...
Acceptable-Formulae: reword 'niche stuff'
2017-04-20 05:08:59 +02:00
JCount
7e0eddd5b0
Merge pull request #2508 from JCount/xcode-8.3.2
...
xcode: 8.3.2 is latest version
2017-04-19 23:07:12 -04:00