Mike McQuaid
6fe61a00d0
Merge pull request #4840 from MikeMcQuaid/minimum-git-version
...
Update minimum Git version.
2018-09-06 13:41:22 +01:00
Mike McQuaid
7a58305711
Merge pull request #4843 from MikeMcQuaid/edit-simplify
...
dev-cmd/edit: simplify project view handling.
2018-09-06 13:14:23 +01:00
Mike McQuaid
25b4d94b5c
Update minimum Git version.
...
This forces the use of Homebrew's Git on El Capitan and below.
Normally I'd remove the need for this but given we're weeks away from
El Capitan being unsupported it doesn't seem worth the effort to remove
useful functionality. Instead, let's warn about an old Git and
autoinstall Homebrew's Git wherever needed.
Fixes #4818 .
2018-09-06 12:38:20 +01:00
Mike McQuaid
38b54df55e
Merge pull request #4841 from MikeMcQuaid/os-mac-install-bump
...
os/mac: also update install on version bumps.
2018-09-06 12:32:22 +01:00
Mike McQuaid
c6b6fc678e
dev-cmd/edit: simplify project view handling.
...
The way Homebrew is structured now there’s no need to manually
specify a few different directories here.
2018-09-06 12:31:29 +01:00
Mike McQuaid
bb5166b3c7
os/mac: also update install on version bumps.
...
I also just remembered this today so let’s add a comment reminder.
2018-09-06 11:48:13 +01:00
Mike McQuaid
a2febc8971
Revert "std: use HOMEBREW_ARCH env var on Linux"
2018-09-06 09:16:13 +01:00
Mike McQuaid
132aa14320
Merge pull request #4838 from reitermarkus/cask-module
...
Rename `Hbc` module to `Cask`.
2018-09-06 09:15:44 +01:00
Mike McQuaid
0770e0bb67
Merge pull request #4814 from zdcthomas/upgrade_greedy_verbose_response
...
removes auto updates warning if greedy flag is included
2018-09-06 09:07:59 +01:00
Mike McQuaid
eaa1eb4bdb
Merge pull request #4831 from alebcay/homebrew-arch
...
std: use HOMEBREW_ARCH env var on Linux
2018-09-06 08:59:39 +01:00
Mike McQuaid
11ac4db05e
Merge pull request #4796 from amyspark/quarantine-swift-clt
...
Cask: check that the tools for quarantining are available
2018-09-06 08:56:04 +01:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Markus Reiter
171ea3fe56
Ensure Pkg
is namespaced correctly.
2018-09-06 09:30:00 +02:00
Markus Reiter
78d4db2755
Use classes for instance doubles.
2018-09-06 09:13:21 +02:00
Markus Reiter
cf49788d3a
Rename test/cask/cli
to test/cask/cmd
.
2018-09-06 08:33:51 +02:00
Markus Reiter
f64e0d8dbe
Merge pull request #4834 from reitermarkus/cask-version
...
Deprecate `brew cask --version`.
2018-09-06 07:53:42 +02:00
Markus Reiter
ac2cd67861
Deprecate brew cask --version
.
2018-09-06 07:05:22 +02:00
Markus Reiter
33ce424399
Remove redundant namespacing.
2018-09-06 06:47:29 +02:00
Markus Reiter
eac60b0876
Add test for RuboCop $LOAD_PATH
.
2018-09-06 01:10:47 +02:00
Markus Reiter
eca488a966
Add $LOAD_PATH
for RuboCop cops.
2018-09-06 01:10:47 +02:00
Caleb Xu
90c25bf913
std: use HOMEBREW_ARCH env var on Linux
...
Unlike macOS, Linux installations can be installed/deployed on a
variety of hardware. The HOMEBREW_ARCH environment variable
allows the end user to set a custom -march=... option for the
compiler. If the variable is not set, it defaults to "native".
This only applies on Linux; on macOS, behavior remains unchanged.
2018-09-05 16:06:11 -04:00
zdcthomas
5cca3315cf
fixes trailing whitespace
2018-09-05 09:19:39 -06:00
zdcthomas
f71f74da4a
removes auto updates warning if greedy flag is included
2018-09-05 09:19:39 -06:00
commitay
88bf60d589
Merge pull request #4815 from commitay/cargo-cache
...
rust/cargo: enable caching
2018-09-05 21:22:03 +10:00
Xu Cheng
6aa7b47ae1
scm shim: handle edge case
...
Since #4748 `HOMEBREW_GIT` is set by the `brew.sh`, whose value is default to be `git`.
As a result, it completely bypasses the logic of the shims/scm/git.
This fixes the issue by checking whether `HOMEBREW_GIT` and
`HOMEBREW_SVN` are set to be `git` and `svn` respectively.
Fixes #4825 .
2018-09-05 16:01:36 +08:00
Markus Reiter
3a4914664e
Merge pull request #4824 from reitermarkus/content-disposition-regex
...
Change regex to match `filename` if header also contains `filename*`.
2018-09-05 04:14:03 +02:00
William Woodruff
eacdca872e
Merge pull request #4819 from woodruffw/error-pipe
...
utils: Use JSON to marshal child errors
2018-09-04 21:02:29 -04:00
Markus Reiter
17c3a66265
Change regex to match filename
if header also contains filename*
.
2018-09-05 02:28:35 +02:00
Markus Reiter
46230d4429
Merge pull request #4823 from reitermarkus/verify
...
Refactor `Hbc::Verify`.
2018-09-05 02:27:28 +02:00
Markus Reiter
0e03b46899
Refactor Hbc::Verify
.
2018-09-05 01:39:30 +02:00
Markus Reiter
eccbc4ea4b
Merge pull request #4822 from reitermarkus/downloads-dir
...
Fix `downloads` directory not being created.
2018-09-05 00:59:06 +02:00
Markus Reiter
2ca3439ada
Fix downloads
directory not being created.
2018-09-05 00:38:19 +02:00
Markus Reiter
b00b1f5ecd
Fix detecting P7Zip
from symbol.
2018-09-05 00:27:22 +02:00
L. E. Segovia
ed6f2829b1
Cask: check support of quarantine's tools
...
- In some cases (usually old CLT versions) Swift is available but needs an
extra guard to use the quarantine API.
- xattr's native filesystem recursion is an Apple extension which is
not available in Mojave; so let's use xargs.
- Insert a quarantine support check in brew cask doctor.
Fixes Homebrew/homebrew-cask#51554 , and fixes Homebrew/homebrew-cask#51538 .
2018-09-04 21:11:29 +00:00
William Woodruff
367629d289
utils: Use JSON to marshal child errors
...
Replaces our serialization of child process
errors via Marshal with JSON, preventing
unintentional or malicious code execution outside
of the build sandbox.
Additionally, adds tests for the new behavior.
2018-09-04 11:03:32 -04:00
Mike McQuaid
6db4b72200
tap: fix GitHub naming.
2018-09-04 09:58:58 +01:00
Mike McQuaid
9d28502625
Homebrew Cask isn't an independent project.
2018-09-04 09:58:43 +01:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd.
2018-09-04 09:56:58 +01:00
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd.
2018-09-04 09:56:57 +01:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00
Mike McQuaid
088730c6f1
Revert "Use JSON to marshal errors from children"
2018-09-04 08:37:08 +01:00
Mike McQuaid
9777b2788e
Merge pull request #4810 from MikeMcQuaid/mojave-mmacosx-version-min
...
super/cc: fix -mmacosx-version-min on Mojave.
2018-09-04 07:57:36 +01:00
Markus Reiter
32ad22395b
Remove some #popen_read
s.
2018-09-04 05:16:59 +02:00
commitay
11a6413fd0
cleanup: remove cargo_cache
2018-09-04 12:00:57 +10:00
commitay
a5af6e8ef4
formula: set CARGO_HOME
to enable cache
2018-09-04 12:00:38 +10:00
William Woodruff
1eec585afe
Merge pull request #4752 from woodruffw/error-pipe
...
Use JSON to marshal errors from children
2018-09-03 18:59:40 -04:00
William Woodruff
86b9647450
utils: Use JSON to marshal child errors
...
Replaces our serialization of child process
errors via Marshal with JSON, preventing
unintentional or malicious code execution outside
of the build sandbox.
Additionally, adds tests for the new behavior.
2018-09-03 18:42:59 -04:00
Mike McQuaid
2086e3c9c4
super/cc: fix -mmacosx-version-min on Mojave.
...
It fails to accept any version < 10.6.
2018-09-03 20:49:01 +01:00
Markus Reiter
89dd608766
Deprecate gpg
stanza.
2018-09-03 20:47:52 +02:00