14001 Commits

Author SHA1 Message Date
Mike McQuaid
0187250600 travis.yml: fix umask for brew audit.
Change the umask before we create any files to avoid `brew audit`
complaining about the `chmod` of formulae.
2017-09-06 18:01:08 +01:00
Mike McQuaid
bf0ab938e7 Merge pull request #3091 from GauthamGoli/audit_line_rubocop_part_3
audit: Port line_problems to rubocop and add tests part 3
2017-09-05 18:10:02 +01:00
Mike McQuaid
4cc8d4737b Merge pull request #2982 from GauthamGoli/audit_class_rubocop_port
audit: Port audit_class to rubocop, add tests and autocorrect
2017-09-05 18:07:25 +01:00
Mike McQuaid
c6d5f8cc99 Merge pull request #3125 from DomT4/kaby_lake
mac/hardware/cpu: recognise Kaby Lake
2017-09-05 09:51:53 +01:00
Dominyk Tiller
9562cceef1
audit: stop demanding a HTTP HEAD mirror for curl
Not sure if this is how you want to handle it but having a HEAD mirror
for `curl` is just silliness.

Ref: e36b95849a
2017-09-05 03:35:44 +01:00
Dominyk Tiller
9899a5d0a8
mac/hardware/cpu: recognise Kaby Lake
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.
2017-09-05 03:16:18 +01:00
Gautham Goli
d45ff9c0fd audit: Add a global flag to silent warning when auditing 2017-09-04 23:57:09 +05:30
Gautham Goli
4ec26aea40 audit: Port audit_class to rubocop, add tests and autocorrect 2017-09-04 23:43:42 +05:30
Mike McQuaid
e777010756 Merge pull request #3108 from nerdrew/master
add zsh completion for switch <formula> <version>
2017-09-04 18:56:48 +01:00
Gautham Goli
337d5c6470 audit: Fetch formula name from file path rather than class name in cops 2017-09-04 15:05:43 +05:30
Gautham Goli
b582ed513b audit: Add tests for rubocop methods in line_cop.rb 2017-09-04 15:05:43 +05:30
Gautham Goli
267def28fa audit: Port rules from line_problems to rubocop part 3 2017-09-04 15:05:43 +05:30
Mike McQuaid
751334a257 Merge pull request #3076 from DomT4/high_sierra_b7
mac/xcode: update expected Clang on 10.13
1.3.2
2017-09-04 10:14:44 +01:00
Mike McQuaid
0edca0d2da Merge pull request #3120 from woodruffw/analytics-clarification
docs: Clarify availability of analytics
2017-09-04 08:55:52 +01:00
Mike McQuaid
73cd2a1db8 Merge pull request #3119 from MikeMcQuaid/audit-subversion-url-fix
audit: fix subversion remote check logic.
2017-09-04 01:54:28 +01:00
William Woodruff
6e3acddc44
docs: Clarify availability of analytics
This commit tweaks the language in Analytics.md to make it clear
that summaries of install/error data are publicly available,
while only Homebrew maintainers can access the full analytics
(as specified above in the document).
2017-09-03 20:46:50 -04:00
Mike McQuaid
37293c6f01 Merge pull request #3096 from vszakats/urlchk1
audit: Add some heuristics to https upgrade checks
2017-09-03 21:50:53 +01:00
Mike McQuaid
bbf71921eb audit: fix subversion remote check logic.
Stop flagging invalid URLs as valid and vice-versa.

Fixes #3118.
2017-09-03 21:42:46 +01:00
Mike McQuaid
e82f36db3e Merge pull request #3109 from DomT4/mandatory_java_cache
Java: deprecate ENV.java_cache in favour of setting it by default.
2017-09-03 21:18:51 +01:00
Mike McQuaid
3bb98714af Merge pull request #2955 from mansimarkaur/git_tests
Added tests for utils/git
2017-09-02 15:53:32 +01:00
ilovezfs
dce1e91c6f Merge pull request #3098 from DomT4/gnupg
gpg: tweaks
2017-09-02 07:41:28 -07:00
Markus Reiter
2f133725a2 Merge pull request #3084 from laughedelic/cask/search-offline
Offline cask search and listing all available casks
2017-09-02 15:28:05 +02:00
Alexey Alekhin
50db7db724 Updated cask search manpage 2017-09-02 14:27:02 +02:00
Alexey Alekhin
8e5ad9ad9b Minor tests formatting change 2017-09-02 02:29:56 +02:00
Viktor Szakats
42e2c71dbc cleanup range check 2017-09-01 16:47:31 +00:00
Markus Reiter
818777687e Merge pull request #3112 from mistydemeo/search_online_failure
search_remote_tap spec: fix test offline
2017-09-01 14:27:21 +02:00
Misty De Meo
a26cde8299
search_remote_tap spec: fix test offline
Even though we stub the JSON response, the method being tested always
returns [] immediately if HOMEBREW_NO_GITHUB_API is set.
2017-08-31 22:29:43 -07:00
Dominyk Tiller
6d726e1bd6
gpg: create unified test helper 2017-09-01 01:50:26 +01:00
Dominyk Tiller
c75a8221a5
gpg2_requirement: update code comments 2017-09-01 01:43:57 +01:00
Dominyk Tiller
380afe2f2d
gpg: test usability tweaks 2017-09-01 01:43:52 +01:00
Dominyk Tiller
b38d811673
gpg: be less strict on newer versions 2017-09-01 01:43:14 +01:00
Dominyk Tiller
f301e5c4f4
audit: add a nudge to remove ENV.java_cache 2017-08-31 21:33:09 +01:00
Dominyk Tiller
0cb6307f2d
ENV: move java_cache to compat for future hard deprecation 2017-08-31 21:04:42 +01:00
Dominyk Tiller
db1054be7b
formula: manipulate Java's home usage by default 2017-08-31 21:03:42 +01:00
Mike McQuaid
b2cd52d0b7 Merge pull request #3105 from sjackman/pour_local_bottle
pour_bottle?: Pour local bottles without sha256
2017-08-31 19:26:56 +01:00
Mike McQuaid
bf5a58d6a4 Merge pull request #3110 from DomT4/too_many_goats
github: limit PR search to Homebrew
2017-08-31 19:17:58 +01:00
Mike McQuaid
35de091bae Merge pull request #3111 from alyssais/migrate_empty_homebrew_directory
Don't fail to migrate repo because of empty dir
2017-08-31 19:14:37 +01:00
Alyssa Ross
a6fa2f367b
Don't fail to migrate repo because of empty dir
I just ran into an issue where a colleague's Homebrew couldn't update.
It seems to have been because it failed once just after the new repo
directory was created. Since there was nothing in this directory, there
really isn't any reason for us to fail here, so to avoid this problem in
the future, try to `rmdir` the directory before failing because it already
exists.
2017-08-31 12:17:01 +01:00
ilovezfs
8b145e27bc Merge pull request #3102 from DomT4/pillow
missing_formula: update for Pillow's brew demise.
2017-08-30 23:56:13 -07:00
Dominyk Tiller
0ea4da4ef6
github: limit PR search to Homebrew
Not sure whether this is the way you want to handle this problem but
it's really darn irritating so here's a PR that handles it one way.

Fixes: https://github.com/Homebrew/brew/pull/3086#issuecomment-324519156
2017-08-31 03:59:33 +01:00
Alexey Alekhin
68dd0ac918 Changed warning message as recommended by @reitermarkus 2017-08-31 03:03:00 +02:00
Andrew Lazarus
775245262d add zsh completion for switch <formula> <version> 2017-08-30 14:36:16 -07:00
Shaun Jackman
4cfd333c5a pour_bottle?: Pour local bottles without sha256
Pouring a local bottle for a formula without a bottle sha256
in the formula for that OS would unexpectedly install from
source instead.
2017-08-30 10:17:36 -07:00
Shaun Jackman
008eaac60d pour_bottle?: Ensure local bottles are compatible
Don't ignore f.pour_bottle? and compatible_cellar? when pouring
a local bottle. --force-bottle may be used to pour a local
bottle that is incompatible, as it is for remote bottles.
2017-08-30 10:16:49 -07:00
Misty De Meo
156bca7dfb Merge pull request #2950 from mansimarkaur/svn
Added tests for utils/svn
2017-08-29 15:08:05 -07:00
Misty De Meo
fd4fe3b80c Merge pull request #2952 from mansimarkaur/analytics_tests
Added tests for utils/analytics
2017-08-29 15:05:47 -07:00
mansimarkaur
784250d550 Used already existing clear_git_available_cache to remove @git 2017-08-29 22:53:10 +05:30
Viktor Szakats
18f5b43d90 fix length ratio range 2017-08-29 17:02:27 +00:00
Viktor Szakats
56ccf10efa limit some heuristics to strict mode 2017-08-29 12:53:45 +00:00
Viktor Szakats
c30b941358 review follow-up #1 2017-08-29 12:31:07 +00:00