Mike McQuaid
7e5b2fb4fa
Merge pull request #2312 from MikeMcQuaid/hardware-dunno-native
...
hardware: use march=native for generic module.
2017-03-11 18:40:19 +00:00
Mike McQuaid
717f68eb36
Merge pull request #2292 from MikeMcQuaid/fix-shallow-clone-tests
...
test: fix tests with a shallow clone.
2017-03-11 18:37:52 +00:00
Mike McQuaid
aa866c1c4a
Merge pull request #2313 from vszakats/patch-2
...
java_requirement.rb: use HTTPS in Java Platform URL
2017-03-11 18:30:04 +00:00
Markus Reiter
bb3e509ee0
Merge pull request #2315 from reitermarkus/hombrew-typo
...
Fix “Hombrew” typo.
2017-03-11 15:46:25 +01:00
Markus Reiter
30a2f270b9
Merge pull request #2303 from reitermarkus/fix-pkg-not-uninstalling-apps
...
Fix `uninstall :pkgutil` leaving empty `.app` directories.
2017-03-11 12:02:24 +01:00
Markus Reiter
49416d10b7
Fix “Hombrew” typo.
2017-03-11 12:00:35 +01:00
Viktor Szakats
c5a9ee5719
java_requirement.rb: use HTTPS in Java Platform URL
...
It's redirected to cleartext, though this URL will be opened
in a browser so it won't be something hidden, and maybe
Oracle will fix this in the future.
2017-03-11 11:35:19 +01:00
ilovezfs
76db07e1b5
env: make prepend_path ignore system paths
...
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs
requirement was causing us to end up invoking /usr/bin/clang instead
of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-11 01:59:50 -08:00
Markus Reiter
642e355b4f
Save flags in with_full_permissions
.
2017-03-11 10:47:39 +01:00
Markus Reiter
9393b16930
Fix uninstall :pkgutil
leaving empty .app
directories.
2017-03-11 10:47:39 +01:00
Mike McQuaid
d0f1fa668c
hardware: use march=native for generic module.
...
This matches Linux where this behaviour was original imported from.
2017-03-11 08:40:48 +00:00
Markus Reiter
371a830028
Merge pull request #2299 from reitermarkus/cask-refactor-artifacts
...
Refactor artifacts.
2017-03-11 09:37:42 +01:00
Mike McQuaid
6929b936ab
Merge pull request #2310 from rwhogg/remove-python-casks
...
Python requirements: Remove casks
2017-03-11 08:29:49 +00:00
Mike McQuaid
8518b6c4f7
Merge pull request #2307 from sjackman/linux-cpu-arm
...
linux: Add ARM to CPU.type
2017-03-11 08:26:53 +00:00
Nath Tumlin
d305784c37
Added highlighting of installed casks to cask search
2017-03-10 22:46:28 -08:00
Bob W. Hogg
57d66a797c
Python requirements: Remove casks
...
Neither python nor python3 are available from Caskroom.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-03-10 18:08:49 -08:00
Shaun Jackman
c6cbf9590d
linux: Add ARM to CPU.type
2017-03-10 10:30:11 -08:00
Mike McQuaid
0cff5999ee
Merge pull request #2298 from sjackman/super-cc-llvm_clang
...
super/cc: Fix --cc=llvm_clang invoked as clang
2017-03-10 17:48:50 +00:00
Mike McQuaid
0e30d34d27
test: fix tests with a shallow clone.
...
In this case `HOMEBREW_VERSION` is `>1.1.0 (no git repository)` so these
tests failed. This was the cause of the Homebrew/homebrew-test-bot
Linux CI failures as it was testing a shallow clone.
2017-03-10 16:16:01 +00:00
Markus Reiter
621b67e531
Refactor artifacts.
2017-03-10 09:44:50 +01:00
Shaun Jackman
5b1213b053
super/cc: Fix --cc=llvm_clang invoked as clang
...
Fix the error:
brew sh --cc=llvm_clang <<<'clang --version'
Failed to execute llvm_clang --version
2017-03-08 17:11:23 -08:00
Markus Reiter
b38c52f930
Merge pull request #2289 from reitermarkus/cask-refactor-uninstall
...
Refactor `pkg`, `uninstall`, and `zap` artifacts.
2017-03-08 20:03:56 +01:00
Markus Reiter
6ec55a93eb
Merge pull request #2293 from reitermarkus/cask-version
...
Move `brew cask --version` into separate file.
2017-03-08 19:34:24 +01:00
Markus Reiter
1675f1c95e
Merge pull request #2294 from reitermarkus/cask-chmod-binary
...
Always `chmod +x` `binary` stanzas.
2017-03-08 19:33:22 +01:00
Mike McQuaid
36296d3594
Merge pull request #2291 from MikeMcQuaid/style-rubocop-improve-errors
...
style: improve Rubocop error handling.
2017-03-08 17:05:24 +00:00
Markus Reiter
88bc68f3b5
Always chmod +x
binary
stanzas.
2017-03-08 16:49:28 +01:00
Markus Reiter
b24dc2268a
Move brew cask --version
into separate file.
2017-03-08 15:49:37 +01:00
Mike McQuaid
ef02414888
Merge pull request #2290 from MikeMcQuaid/keg-resolve-rack-aliases
...
keg: resolve rack aliases correctly.
2017-03-08 10:11:04 +00:00
Mike McQuaid
c4c3588de8
Merge pull request #2252 from zmwangx/audit-no-warn-brew-mirror-url
...
audit: do not warn about reachability of `brew mirror`ed URL
2017-03-08 09:32:37 +00:00
Mike McQuaid
fe59fde8f8
style: improve Rubocop error handling.
...
- Check if the JSON is definitely invalid (< 2 characters)
- Output the arguments that were passed to Rubocop
2017-03-08 09:26:07 +00:00
Mike McQuaid
4991039809
keg: resolve rack aliases correctly.
...
Don't use the basename but instead use the Formulary logic for rack
formula resolution.
Fixes #2288 .
2017-03-08 08:51:41 +00:00
Markus Reiter
17bd6fe3ca
Refactor Cask pkg
artifact.
2017-03-08 08:16:16 +01:00
Markus Reiter
2691eb6f65
Refactor Cask uninstall
and zap
stanza.
2017-03-08 08:16:16 +01:00
Gautham Goli
d32978b859
Create FormulaCop base class to reuse helper functions in custom cops
2017-03-08 11:44:35 +05:30
Markus Reiter
9105acab6b
Merge pull request #2283 from reitermarkus/cask-cli-argumenterror
...
Use `ArgumentError` instead of `CaskError` in `CLI`.
2017-03-08 03:35:37 +01:00
Zhiming Wang
10a235d6ab
pull: check Bintray mirror URLs
2017-03-07 20:45:08 -05:00
Markus Reiter
fe694f6db9
Merge pull request #2284 from reitermarkus/cask-refactor-cli
...
Refactor CLI options.
2017-03-08 02:43:22 +01:00
Markus Reiter
9a4538a325
Merge pull request #2286 from reitermarkus/redundant-utils
...
Remove redundant `Utils`.
2017-03-08 02:43:03 +01:00
Shaun Jackman
31e5ed28d1
determine_path: Fix tests FormulaUnavailableError
...
Fix the brew tests error:
InstallTests#test_a_basic_install:
FormulaUnavailableError: No available formula with the name "gcc"
Library/Homebrew/formulary.rb:231:in `get_formula'
Library/Homebrew/formulary.rb:259:in `factory'
Library/Homebrew/extend/ENV/shared.rb:287:in `gcc_version_formula'
Library/Homebrew/extend/ENV/super.rb:124:in `determine_path'
Library/Homebrew/extend/ENV/super.rb:44:in `setup_build_environment'
Library/Homebrew/build.rb:87:in `install'
Library/Homebrew/build.rb:201:in `<main>'
2017-03-07 09:03:33 -08:00
Markus Reiter
e0acaeef81
Remove redundant Utils
.
2017-03-07 18:02:31 +01:00
Markus Reiter
536a377d71
Use ArgumentError
instead of CaskError
in CLI
.
2017-03-07 17:18:35 +01:00
Markus Reiter
ec7530bcda
Merge pull request #2281 from reitermarkus/legacy-cache
...
Move legacy cache and caskroom code to `compat/*`.
2017-03-07 15:54:36 +01:00
Markus Reiter
394f9fa0aa
Merge pull request #2282 from reitermarkus/cask-versions-string
...
Make `timestamped_versions` return an array of strings.
1.1.11
2017-03-07 03:16:35 +01:00
Markus Reiter
0a0c305111
Merge pull request #2278 from reitermarkus/cask-_audit_modified_casks
...
Refactor `brew cask _audit_modified_casks`.
2017-03-07 01:35:10 +01:00
Markus Reiter
9bcbcf9a54
Merge pull request #2280 from sjackman/bottle-mismatches
...
bottle: Remove superfluous odie
2017-03-07 00:31:34 +01:00
Markus Reiter
76e65ca070
Move legacy cache and caskroom code to compat/*
.
2017-03-07 00:31:01 +01:00
Markus Reiter
067c71363d
Merge pull request #2277 from reitermarkus/require
...
Use Homebrew’s `require?`.
2017-03-07 00:29:04 +01:00
Markus Reiter
3b8524d770
Refactor CLI options.
2017-03-07 00:06:34 +01:00
Markus Reiter
ae8627e056
Make timestamped_versions
return an array of strings.
2017-03-06 22:50:22 +01:00
Markus Reiter
b2359873d0
Move legacy_cache
outside of Locations
.
2017-03-06 21:30:06 +01:00