13469 Commits

Author SHA1 Message Date
Markus Reiter
fc739bf82e Add trash util. 2017-06-20 15:53:33 +02:00
Markus Reiter
19cf6dcb3f 🔨 Fix sorting on APFS. 2017-06-20 15:44:54 +02:00
Mike McQuaid
80ce43dff1 Merge pull request #2776 from GauthamGoli/audit_checksum_rubocop_fix
audit: Fix audit_checksum method's rubocop and add more tests
2017-06-20 14:27:51 +01:00
Andrew Janke
b5a0cfd861 rubocops: use consistent (_)body_node parameter name 2017-06-19 23:37:32 -04:00
William Woodruff
47fe214963
linkage_checker: Add harmless dylibs check.
While the linkage checker should normally report all broken links,
there are a few cases where broken links are harmless. One case
is when a the PPC slice of a program links to a PPC-only library
that no longer exists on x86_64 OS X. Since the PPC slice is never
loaded on modern OS X, inconsistencies within it do not need to
be reported.
2017-06-19 22:48:01 -04:00
Mike McQuaid
cd7e3cd39d Merge pull request #2778 from jasonkarns/tap-full-name
refactor: DRY up redundant formulations of {#user}/homebrew-{#repo}
2017-06-19 15:46:48 +01:00
Jason Karns
c2899b6559
Tap learns to form its own full_name
full_name is formed from `{user}/homebrew-{repo}` and is always
lowercase.
2017-06-19 09:42:59 -04:00
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
aa364fbf15 Merge pull request #2766 from MikeMcQuaid/rubocop-no-percent-x
rubocop: don’t allow %x.
2017-06-12 09:27:09 +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
564b03aa01 rubocop: don’t allow Perl regex backrefs.
Even if shell/perl users recognise these variables the explicit versions
are significantly more readable for everyone.
2017-06-10 20:20:02 +03:00
Mike McQuaid
c21abf0e3a rubocop: don’t allow special global variables.
Even if shell/perl users recognise these variables the English
versions are significantly more readable for everyone.
2017-06-10 20:01:59 +03:00
Mike McQuaid
139f44f013 rubocop: don’t allow %x.
It’s confusing for non-Rubyists (and some Rubyists) and that’s a major
number of our current and future contributors.
2017-06-10 20:01:53 +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