L. E. Segovia
63961ac465
Fully separate purge_versioned_files
2017-11-28 21:00:16 +00:00
Markus Reiter
f355897afa
Only show kext
caveat on High Sierra or above.
2017-11-28 21:59:20 +01:00
L. E. Segovia
5840b2fa68
Rename purge_backed_versioned_files to purge_backed_up_versioned_files
2017-11-28 20:36:36 +00:00
L. E. Segovia
9227c8fe3c
Try #2 at handling backed up Casks
...
Avoid using variables altogether; fork out the purge into two
specialized + one common function
2017-11-28 18:03:57 +00:00
L. E. Segovia
9458e985b7
Always backup the old Cask prior to upgrade
...
(and if doing so, correctly set the staged_path when purging it)
2017-11-28 17:37:36 +00:00
L. E. Segovia
2ff114bc32
Use the proper path when purging metadata
2017-11-28 14:29:53 +00:00
L. E. Segovia
8386b9384c
Solve styling and metadata issues
2017-11-28 13:34:50 +00:00
L. E. Segovia
f3355b2a2c
Stage to a different directory if upgrading Casks w/version :latest
2017-11-28 13:03:16 +00:00
L. E. Segovia
10a0662dc0
Test upgrade for Casks with version :latest
2017-11-28 00:29:45 +00:00
Markus Reiter
89845e7f76
Fix _stanza
test.
2017-11-28 00:20:29 +01:00
Markus Reiter
1948729ec8
Refactor caveats and add kext
caveat.
2017-11-28 00:20:29 +01:00
Markus Reiter
f50ae44980
Merge pull request #3396 from amyspark/hacktoberfest-upgrade
...
Implement `brew cask upgrade`
2017-11-27 23:41:03 +01:00
Shaun Jackman
2dbc4ffaf3
vendor-install: Add ARM bottle for portable-ruby
2017-11-27 12:09:27 -08:00
Mike McQuaid
f262cbc531
Merge pull request #3487 from MikeMcQuaid/dev-env-filtering
...
Enable environment filtering for developers.
2017-11-27 11:20:42 +00:00
Mike McQuaid
fb6cf0c3f8
More environment filtering fixes
...
- Make `brew pull` pass through Git environment variables
- Whitelist all `TRAVIS_` variables.
2017-11-27 10:48:03 +00:00
Mike McQuaid
b26a0d4a91
Enable environment filtering for developers.
...
If folks have set `HOMEBREW_DEVELOPER` or run a `dev-cmd` then enable
environment filtering by default for them.
2017-11-27 10:15:26 +00:00
L. E. Segovia
8abe60d2dc
Remove redundant --greedy
2017-11-27 10:15:13 +00:00
Mike McQuaid
e41a0a3b81
Merge pull request #3482 from MikeMcQuaid/homebrew-curl
...
Allow optionally using Homebrew's curl
2017-11-27 09:32:28 +00:00
L. E. Segovia
a2730c8618
Implement more of @reitermarkus's comments
...
- Include tests in context
- replace 'route' with 'path'
- more assorted fixes
2017-11-27 01:29:08 +00:00
Mike McQuaid
a19d0708a4
Allow optionally using Homebrew's curl
...
If `HOMEBREW_FORCE_BREWED_CURL` is set then allow it to be used instead
of the system `curl`.
2017-11-26 18:17:26 +00:00
Bob W. Hogg
3cd869651b
Add test fixtures for ELF executables
...
Add test/support/fixtures/elf/
and test/support/fixtures/tarballs/testball-0.1-linux.tbz
2017-11-26 08:37:57 -08:00
Shaun Jackman
7394208873
Cleaner: ELF files are executable on Linux
2017-11-26 08:25:50 -08:00
Mike McQuaid
7f1d5903ff
Merge pull request #3465 from sjackman/vcs-requirement
...
Add CVSRequirement and SubversionRequirement
2017-11-26 12:47:11 +00:00
Mike McQuaid
5335c2247c
Merge pull request #3479 from MikeMcQuaid/prune-build-default-formulae
...
formula_installer: force fewer default formulae
2017-11-26 12:46:35 +00:00
Shaun Jackman
baa3d187d6
Add CVSRequirement and SubversionRequirement
...
Use these two requirements in DependencyCollector.
Remove the unused function MacOS::Xcode.provides_cvs?
2017-11-25 09:45:08 -08:00
Mike McQuaid
718f52eda4
formula_installer: force fewer default formulae
...
Don't force a default formulae install if a requirement is satisfied if
we're building a bottle and it's a build-time dependency.
2017-11-25 12:48:30 +00:00
Mike McQuaid
86305f7d81
Merge pull request #3470 from sjackman/analytics
...
setup-analytics: Handle missing /proc/.../uuid
2017-11-24 21:26:11 +00:00
Mike McQuaid
6c23892d41
Merge pull request #3478 from GauthamGoli/dir_audit_bug_fix
...
lines_cop: Add condition to prevent false positives
2017-11-24 21:07:07 +00:00
Gautham Goli
9be85385b3
lines_cop: Add condition to prevent false positives
2017-11-24 23:45:01 +05:30
L. E. Segovia
e0be066f8b
Load Casks only once (and fix style issues)
2017-11-24 01:21:30 +00:00
L. E. Segovia
7ee98eb421
Implement more of @reitermarkus's comments
...
- Simplify outdated Casks checks
- Make use of RSpec's let(:) and .and syntax
2017-11-24 00:48:14 +00:00
Shaun Jackman
5920c0b2ae
setup-analytics: Handle missing /proc/.../uuid
2017-11-23 08:55:15 -08:00
Markus Reiter
1ff628e20f
Merge pull request #3471 from reitermarkus/system-command
...
Fix SystemCommand escaping.
2017-11-23 17:00:26 +01:00
Shaun Jackman
48ed28a154
Change the generic bottle tag to processor-system
2017-11-22 23:06:26 -08:00
Markus Reiter
a98b35d924
Fix SystemCommand escaping.
2017-11-23 03:21:44 +01:00
Shaun Jackman
0a2bfa66fd
Installing casks is supported only on macOS
2017-11-22 10:38:06 -08:00
L. E. Segovia
7ce4319012
Upgrade an outdated Cask just by name, no need for --greedy
2017-11-22 16:27:13 +00:00
Markus Reiter
a869ce0143
Merge pull request #3371 from commitay/cask-doctor
...
Cask doctor: add macOS & Java versions
2017-11-22 10:32:17 +01:00
L. E. Segovia
c9b5de4cab
Output message if no Casks are outdated
2017-11-22 00:45:29 +00:00
ilovezfs
590ba4cbf6
bump-formula-pr: fix for when hub isn't configured
2017-11-21 08:16:12 -08:00
Markus Reiter
236b017230
Merge pull request #3258 from Git-Jiro/improve_internal_stanza_command
...
improve 'brew cask _stanza' by checking for known stanzas
2017-11-20 21:41:48 +01:00
ilovezfs
c458c90236
Merge pull request #3464 from ilovezfs/ENV-no-MACOSX_DEPLOYMENT_TARGET
...
ENV: don't set MACOSX_DEPLOYMENT_TARGET
2017-11-20 09:59:47 -08:00
Shaun Jackman
e32299e652
patch: Use patch found in the PATH
2017-11-19 13:54:46 -08:00
Mike McQuaid
c6a5bbac7d
Merge pull request #3411 from issyl0/whitelist_etc_and_fix_autocorrect
...
formula_desc_cop: Whitelist "etc." and fix the full stop autocorrect
2017-11-19 14:39:09 +00:00
Dan Wendorf
151c2861ac
Custom commands can show help
...
We attempted to find the help message for commands before loading custom
commands in the path.
2017-11-18 17:04:54 -08:00
ilovezfs
15a2ef525f
ENV: don't set MACOSX_DEPLOYMENT_TARGET
...
CMake tries to use Xcode if MACOSX_DEPLOYMENT_TARGET is set but that can
lead to build failures when SDKROOT isn't set. The CMake behavior at
minimum manifests as -isysroot spontaneously being set to the Xcode SDK,
which brew sometimes can't successfully fully unwind with its ENV hacks.
2017-11-18 11:31:08 -08:00
Mike McQuaid
28f4d68b31
bottle: use HOMEBREW_GIT_* vars.
...
This allows them to be passed through from `brew test-bot`.
2017-11-18 11:22:46 +00:00
Mike McQuaid
2e1331cbc8
Tweak SDK variables for new Xcode/CLT setup.
2017-11-17 21:35:49 +00:00
Mike McQuaid
cd0db51343
diagnostic: check if Xcode needs CLT installed.
...
Require the CLT on all but the latest version of macOS to avoid the
continuous workarounds for SDK weirdness.
2017-11-17 21:35:49 +00:00
Mike McQuaid
889fc81906
Merge pull request #3449 from MikeMcQuaid/diagostic-fix-paths
...
diagnostic: fix paths usage.
2017-11-17 19:50:04 +00:00