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
Mike McQuaid
b7e7b5b5c9
Merge pull request #2331 from EricFromCanada/master
...
docs: add markers to ordered lists and sublists
2017-03-13 07:36:48 +00: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
EricFromCanada
c0468a3266
docs: add markers to ordered lists and sublists
...
While GitHub allows a single space to denote a sublist, Jekyll is not
so lenient. It also seems unable to handle ordered sublists.
2017-03-12 21:01:00 -04: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
Vítor Galvão
5d9215b211
Merge pull request #2249 from Numbermaniac/remove-caskroom-io-2
...
Change instances of caskroom.io to caskroom.github.io
2017-03-12 12:59:10 +00: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
Markus Reiter
3bd4349e8e
Migrate legacy Caskroom.
2017-03-12 00:35:09 +01:00
Markus Reiter
7a8d782365
Merge pull request #2314 from reitermarkus/formatter-pluralize
...
Replace `#plural` by `Formatter::pluralize`.
2017-03-11 23:35:33 +01: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
666ab1438c
Merge pull request #2319 from EricFromCanada/master
...
docs: update Brew Test Bot screen shots
2017-03-11 18:55:50 +00:00
EricFromCanada
56f3c0552c
docs: update Brew Test Bot screen shots
2017-03-11 13:46:20 -05: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
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
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