JCount
5e8a9fa3f3
audit: online - limit download time based on HTTPS determination
...
Previously, the http_content_headers_and_checksum method always
downloaded the entire url, including headers. These downloads
periodically hang, outputting false positives or wreaking havoc on
the CI. Therefore, use curl's --max-time arg to prevent this by
setting a hard limit of 600 seconds when the entire file is going
to be used to detect whether the url can be changed to use the HTTPS
protocol instead of HTTP. Otherwise, if the url already is HTTPS, limit
the download time to 25 seconds since only the headers, not contents, matter.
2017-03-16 17:37:22 -04:00
Markus Reiter
ed10135da4
Replace Hbc.load
with CaskLoader.load
.
2017-03-16 19:16:42 +01:00
Markus Reiter
d7af864be0
Replace Hbc.path
with CaskLoader.path
.
2017-03-16 12:10:19 +01:00
Markus Reiter
d1995dad4b
Use a Formulary
-like approach to load Casks.
2017-03-16 12:10:19 +01:00
Markus Reiter
c4d8b1696c
Merge pull request #2309 from axiac/cask-outdated
...
add command 'cask outdated'
2017-03-16 11:37:49 +01:00
Markus Reiter
2c8544832e
Add test for command help strings.
2017-03-16 09:00:57 +01:00
Valentin VĂLCIU
7532545140
add command 'cask outdated'
2017-03-15 22:58:25 +02:00
JCount
ca303f6195
gpg2_requirement: set default_formula to gnupg (2.1.x)
2017-03-15 16:05:12 -04:00
JCount
de6650683b
gpg2_requirement: indicate 2.1.x "modern" series is supported as well
2017-03-15 16:05:11 -04:00
JCount
7058c089a6
gpg: add the 2.1.x series as a recognized GnuPG version
2017-03-15 16:04:52 -04:00
Markus Reiter
e1670a9210
Remove sort
from each_artifact
.
2017-03-15 20:18:56 +01:00
Mike McQuaid
60f96df44d
formula_installer: need up to date req formulae.
...
This makes them behave consistently to other dependencies. Otherwise
other checks for them being `installed?` will fail.
Fixes #2333
Closes #2302
Fixes https://github.com/Homebrew/homebrew-science/issues/5247
2017-03-15 19:29:16 +01:00
Mike McQuaid
4d88cc4c41
Merge pull request #2326 from vszakats/sprot
...
secure urls + remove -k from in-doc curl command
2017-03-15 15:11:35 +00:00
Markus Reiter
e9e6dcf893
Merge pull request #2311 from nath/highlightInstalledCasks
...
Added highlighting of installed casks to cask search
2017-03-15 14:01:28 +01:00
Markus Reiter
7685618a1c
Merge pull request #2342 from reitermarkus/cask-dsl-param
...
Remove `dsl` parameter from `Cask::new`.
2017-03-14 22:33:13 +01:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Markus Reiter
4f558f186a
Remove dsl
parameter from Cask::new
.
2017-03-14 18:18:03 +01:00
Markus Reiter
f6b1f88c3c
Update RuboCop-Cask to 0.12.0.
2017-03-14 17:30:06 +01:00
Mike McQuaid
7667b2f967
Merge pull request #2336 from sjackman/hardware-penryn-native
...
OPTIMIZATION_FLAGS: Use -march=native for Penryn
2017-03-14 07:56:16 +00:00
Nath Tumlin
48e4463f5b
Fixed test case wording
2017-03-13 19:43:08 -05:00
Nath Tumlin
b42ccece49
Style changes
2017-03-13 19:15:41 -05:00
Shaun Jackman
ecb2246ab0
OPTIMIZATION_FLAGS: Use -march=native for Penryn
...
Use -march=native for Penryn as for other systems rather than
-march=core2 -msse4.1.
2017-03-13 15:54:20 -07:00
Nath Tumlin
2080c360e2
Added tests for highlight installed and fixed style errors
2017-03-13 17:52:32 -05:00
Markus Reiter
2b4c3ee1d7
Default to sudo: false
for installer/uninstall :script
.
2017-03-13 11:38:37 +01:00
Mike McQuaid
d962a781b1
Merge pull request #2329 from Homebrew/revert-1877-audit-wine-deps-exemption
...
Revert "audit: exempt wine's deps from the universal deprecation"
2017-03-13 07:35:00 +00:00
Markus Reiter
ad7c2e5416
Merge pull request #2328 from reitermarkus/installed-caskfile
...
Add `#installed_caskfile` method to `Cask` class.
2017-03-12 22:24:45 +01:00
Markus Reiter
159e35b4c5
Merge pull request #2327 from reitermarkus/auditor
...
Use `CaskLoader.load_from_file` in `Auditor`.
2017-03-12 22:24:21 +01:00
William Woodruff
2935823251
Merge pull request #2324 from woodruffw/skip-pointless-relocations
...
keg: Skip relocation when dylib ID/install name doesn't change.
2017-03-12 17:15:18 -04:00
ilovezfs
45aa7b9a14
Revert "audit: exempt wine's deps from the universal deprecation"
2017-03-12 13:59:43 -07:00
Markus Reiter
9f7d86b97c
Add #installed_caskfile
method to Cask
class.
2017-03-12 21:59:13 +01:00
Markus Reiter
b8668f4050
Use CaskLoader.load_from_file
in Auditor
.
2017-03-12 21:47:19 +01:00
Mike McQuaid
c67c338a06
Merge pull request #2322 from MikeMcQuaid/autoupdate-stop-skipping-no-formula-taps
...
update: stop autoupdate skipping no formula taps.
2017-03-12 20:22:29 +00:00
William Woodruff
0dda8a13f1
keg: Skip relocation when dylib ID/install name doesn't change.
2017-03-12 12:29:35 -04:00
Numbermaniac
b704b48b2f
Change instances of caskroom.io to caskroom.github.io
2017-03-12 23:23:22 +11:00
Markus Reiter
ff4e0ea305
Merge pull request #2320 from reitermarkus/migrate-legacy-caskroom
...
Migrate legacy Caskroom.
2017-03-12 11:31:33 +01:00
Mike McQuaid
282622e449
update: stop autoupdate skipping no formula taps.
...
This will be slightly slower if you have a bunch of non-formula (i.e.
command or cask) taps but it avoids the confusion of having Homebrew
saying it's updated when it only did so selectively.
Fixes #1946 .
2017-03-12 09:13:27 +00:00
Vítor Galvão
b3679de310
Merge pull request #2318 from reitermarkus/remove-old-caskfiles
...
Remove old metadata when installing with `--force`.
2017-03-12 02:54:05 +00:00
Nath Tumlin
250f3445b7
Removed Hbc::
2017-03-11 16:28:41 -08:00
Nath Tumlin
6162a5e41f
Moved highlight_installed from utils.rb to search.rb
2017-03-11 16:25:02 -08:00
Nath Tumlin
4472daec2f
Updated highlight_installed to use Cask.installed?
2017-03-11 16:21:18 -08:00
Markus Reiter
3bd4349e8e
Migrate legacy Caskroom.
2017-03-12 00:35:09 +01:00
Nath Tumlin
f93fd970d5
Speed up checking if cask is installed in search
...
Switched from loading a cask and checking the installed? variable to
checking for it in the caskroom directory like search does outside cask
2017-03-11 15:20:24 -08:00
Markus Reiter
44d367edca
Deprecate #plural
.
2017-03-11 21:16:37 +01:00
Markus Reiter
00306a4ced
Add test for Formatter::pluralize
.
2017-03-11 21:12:51 +01:00
Markus Reiter
c594ffefbc
Add Formatter::pluralize
.
2017-03-11 21:12:51 +01:00
Markus Reiter
31d7d6e5f3
Remove old metadata when installing with --force
.
2017-03-11 21:09:13 +01:00
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