Mike McQuaid
370eeed2e4
diagnostic: quiet some CI whining.
...
We want to be able to symlink Homebrew/test-bot to Homebrew/core on
Linux for CI speed.
2017-06-17 14:01:42 +01:00
Gautham Goli
0e1c88e7ae
Refactor Checksum cop to add autocorrect method
2017-06-16 19:45:16 +05:30
Gautham Goli
77da75e7d6
Simplify Checksum cop by auditing all checksums
2017-06-16 19:45:16 +05:30
Gautham Goli
4d7a983415
audit: Port audit_checksum method to rubocop and add tests
2017-06-16 19:45:16 +05:30
Mike McQuaid
3b376bfa2f
Merge pull request #2761 from sjackman/bottleloader-url-homebrew
...
BottleLoader: Fix installing a bottle from an URL
2017-06-16 14:19:01 +01:00
Mike McQuaid
8cebfbda18
Merge pull request #2784 from bfontaine/suspicious-git-origin
...
diagnostic: Fix suggested git remote commands
2017-06-16 14:08:18 +01:00
Matthew Strax-Haber
0dca037446
Fix outdated --repository
man documentation
2017-06-15 18:25:16 -07:00
Baptiste Fontaine
569180dfe5
diagnostic: Fix suggested git remote commands
2017-06-14 17:26:35 +02:00
Markus Reiter
3fe32053a7
Merge pull request #2775 from reitermarkus/language
...
Fix `--language` option.
2017-06-14 14:26:44 +02:00
Markus Reiter
dcb85571ca
Add test for --language
option.
2017-06-14 13:54:12 +02:00
Markus Reiter
599a618273
Move require?
to utils
.
2017-06-14 12:51:36 +02:00
Markus Reiter
80f827e926
Print DMG EULA when --verbose
.
2017-06-14 02:06:25 +02:00
Markus Reiter
2f0aad5d88
Fix DMG mounting.
2017-06-13 23:57:23 +02:00
Shaun Jackman
7dca9a13ee
BottleLoader: Fix installing a bottle from an URL
...
The name of the formula is not extracted correctly
when the URL includes a hyphen.
2017-06-13 13:12:23 -07:00
Markus Reiter
9c8f7138f3
Add casks
method to iterate through arguments.
2017-06-13 19:45:29 +02:00
Markus Reiter
5a047c7c27
Fix --language
option.
2017-06-13 19:27:26 +02:00
Markus Reiter
66ce575301
🔨 Refactor Cask exceptions.
2017-06-13 17:14:28 +02:00
Isabell Long
b2f2fbfa63
format_desc_cop: whitelist more lowercase words
...
- From `homebrew-core` PR 14229, we decided to whitelist more words so
that reordering to appease "description must start with a capital
letter" wasn't so clunky.
2017-06-13 12:37:22 +01:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
22c431d221
Merge pull request #2767 from MikeMcQuaid/rubocop-no-special-global-vars
...
rubocop: don’t allow special global variables.
2017-06-12 16:16:37 +01:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
5d8b96a0c7
create: specify homebrew-core test requirements.
...
As requested in https://github.com/Homebrew/homebrew-core/pull/14419 .
2017-06-10 20:27:44 +03:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
Mike McQuaid
f3970b52b6
Merge pull request #2758 from MikeMcQuaid/build-error-options
...
BuildError: report options to analytics.
2017-06-10 18:42:12 +03:00
Markus Reiter
4af1d2265b
Add symlink for High Sierra test bottle.
2017-06-09 14:02:57 +02:00
Mike McQuaid
99c897acad
BuildError: report options to analytics.
...
Without this it's not easy to make much sense of these failures.
2017-06-09 14:53:01 +03:00
Mike McQuaid
113a7a81d0
Revert "audit: Port audit_checksum method to rubocop and add tests"
2017-06-09 11:16:11 +03:00
Mike McQuaid
e83e394a73
Merge pull request #2755 from GauthamGoli/audit_checksum_rubocop
...
audit: Port audit_checksum method to rubocop and add tests
2017-06-09 09:46:05 +03:00
Mike McQuaid
0e2b043c12
Merge pull request #2752 from MikeMcQuaid/remove-unused-analytics
...
analytics: remove unused analytics.
2017-06-09 08:59:40 +03:00
Gautham Goli
d09d5ecc55
audit: Port audit_checksum method to rubocop and add tests
2017-06-08 21:53:46 +05:30
Gautham Goli
134da5b8c2
Add methods in FormulaCop to find block nodes
2017-06-08 19:50:04 +05:30
Mike McQuaid
b6e1dde7c9
Merge pull request #2753 from leedm777/gcc7-shim
...
Adding shims for GCC 7
2017-06-08 16:53:35 +03:00
Mike McQuaid
18fb81906e
reinstall: keg.rmtree isn't a method.
2017-06-08 16:24:55 +03:00
Mike McQuaid
2269518768
Merge pull request #2746 from MikeMcQuaid/cleanup-tests
...
tests: cleanup tests.
2017-06-08 16:16:55 +03:00
Mike McQuaid
e25b1a3a96
Merge pull request #2748 from MikeMcQuaid/desc-cop-tweaks
...
formula_desc_cop: tweak some rules.
2017-06-08 15:44:30 +03:00
Markus Reiter
e287c83d8b
Merge pull request #2708 from JCount/codecov-move-path
...
.codecov.yml: move root so files are tracked
2017-06-08 14:42:47 +02:00
Mike McQuaid
c572081f8b
formula_desc_cop: tweak some rules.
...
Allow some specific lowercase words and provide an autocorrect for some
of these rules.
2017-06-08 15:13:10 +03:00
Mike McQuaid
cc8bc44286
audit: ensure curl always has an HTTP url.
...
This makes using `HOMEBREW_CURL` significantly nicer as then the system
`curl` (that, on old versions, sucks at SSL) can download a version of
`curl` that it can build from source.
2017-06-08 14:20:04 +03:00
Mike McQuaid
fd4aaf030f
Merge pull request #2749 from MikeMcQuaid/edit-default-editors
...
edit: tweak default editors.
2017-06-08 12:46:56 +03:00
Mike McQuaid
8b29a07cfa
Merge pull request #2750 from MikeMcQuaid/no-auto-update-no-report-issue-prompt
...
brew: no issue report prompt unless autoupdating.
2017-06-08 12:46:40 +03:00
Mike McQuaid
882f64169c
Merge pull request #2751 from MikeMcQuaid/reinstall-remove-partial-keg
...
reinstall: remove partially installed keg.
2017-06-08 12:46:17 +03:00
David M. Lee
69f3c8320f
Adding shims for GCC 7
2017-06-07 23:37:59 -05:00
Mike McQuaid
10549d13f4
brew: no issue report prompt unless autoupdating.
...
Otherwise: you may be on an old enough version that we don't care.
2017-06-07 16:37:39 +01:00
Mike McQuaid
5367f1b408
analytics: remove unused analytics.
...
We didn't end up using the `screenview` and `exception` analytics as
much as expected so let's remove them and focus on stuff that's
formula-specific.
2017-06-07 16:34:54 +01:00
Mike McQuaid
7d5b8a5cea
tests: cleanup tests.
...
Remove pending tests that are never run on CI (i.e. require `--online`),
remove fixtures for those tests and just make `--official-cmd-taps`
run by `--online` instead.
2017-06-07 16:25:07 +01:00
Mike McQuaid
486d3d84b1
edit: tweak default editors.
...
Add `atom` (not my editor of choice [TextMate for life!]) but widely
used enough to probably warrant it. Also, reorder based on my best
guestimates of current usage and cleanup the editor code while we're
here.
2017-06-07 16:07:53 +01:00
Mike McQuaid
838bb38b3e
reinstall: remove partially installed keg.
...
Previously if a `brew reinstall` was Ctrl-Cd after some files had been
installed it wouldn't try to remove the partially installed keg and the
renaming of the backed-up keg would fail. Alternatively, remove the
partially installed keg as if it has been Ctrl-Cd or otherwise failed
then it's not desirable to keep it.
2017-06-07 15:58:13 +01:00
Markus Reiter
e2e578fd83
Merge pull request #2729 from reitermarkus/cask-require-sha
...
Fix parsing `--require-sha` and `HOMEBREW_CASK_OPTS`.
2017-06-07 13:22:59 +02:00
Mike McQuaid
1627df997c
Merge pull request #2744 from DomT4/this_time_of_year_again
...
High Sierra: more initial support
2017-06-07 09:46:10 +01:00
Mike McQuaid
2cf2c020ba
tty: handle non-tty stdin.
...
When stdin is not a tty then the message `stty: stdin isn't a terminal`
will be produced. Silence this message and fall back to `tput` when it
fails and default to 80 if we get no results at all.
Follow-up from #2714 .
2017-06-07 06:57:50 +01:00