14001 Commits

Author SHA1 Message Date
Mike McQuaid
ff51f6ea42 Merge pull request #2719 from MikeMcQuaid/external-command-homebrew-path
brew.rb: use HOMEBREW_PATH for external commands.
2017-06-03 10:00:07 +01:00
Mike McQuaid
b7d007fb50 Merge pull request #2724 from MikeMcQuaid/capital-desc
formula_desc_cop: desc should be capitalised.
2017-06-03 09:57:26 +01:00
Markus Reiter
0b66796540 Merge pull request #2712 from 13k/hbc-dsl-appcast-fix
Fix curl invocation in Hbc::DSL::Appcast
2017-06-03 07:57:06 +02:00
Markus Reiter
e15d107041 Merge pull request #2728 from reitermarkus/brew-cask-info
Fix `brew cask info` for removed Casks.
2017-06-03 07:55:03 +02:00
Markus Reiter
8d514ae8f0 Merge pull request #2716 from reitermarkus/re-revert
Re-revert "Fix operator spacing."
2017-06-03 00:49:06 +02:00
Markus Reiter
d596c95584 Merge pull request #2721 from MikeMcQuaid/search-no-exclude-caskroom
search: don’t exclude Caskroom results even if tapped.
2017-06-03 00:16:29 +02:00
Markus Reiter
7fb6e7dde0 Fix brew cask info for removed Casks. 2017-06-03 00:05:13 +02:00
Mike McQuaid
cbfc83309f audit: check pypi URLs
#373 implemented as a strict check (thanks nijikon)
2017-06-02 22:28:07 +01:00
Mike McQuaid
6a0086a0a7 audit: fix false negative for formulae options.
Handle the case where an if/unless is detected and then write off this
line for option handling.
2017-06-02 22:26:37 +01:00
Mike McQuaid
82b113cdd0 formula_desc_cop: desc should be capitalised.
Note that the formula description field should start with a capital
letter.
2017-06-02 22:25:07 +01:00
Mike McQuaid
c309ed8d44 formula_installer: display full upgrade version.
Previously this omitted the revision which meant the currently
installed and upgrade version showed as the same.
2017-06-02 22:20:31 +01:00
Mike McQuaid
8d2794212f search: don’t exclude Caskroom results even if tapped.
As they are not shown in the normal `brew search` output.
2017-06-02 22:19:04 +01:00
Mike McQuaid
5dc11c6b93 install: fix cask install with env filtering.
With `HOMEBREW_ENV_FILTERING` simply running `brew` is not sufficient
to find `brew cask` so the full path needs to be passed.
2017-06-02 22:17:18 +01:00
Mike McQuaid
12e0a5ee7d brew.rb: use HOMEBREW_PATH for external commands.
They shouldn’t need to handle our environment filtering on the PATH as
we’re essentially breaking an API for them otherwise.
2017-06-02 18:44:39 +01:00
Markus Reiter
2d6ae61314 Re-revert "Fix operator spacing." 2017-06-02 19:22:05 +02:00
Mike McQuaid
0731a68cde Merge pull request #2714 from choco/stty-width
Use stty instead of tput to get terminal width
2017-06-02 16:32:14 +01:00
Enrico Ghirardi
a9c83f14a7
Use stty instead of tput to get terminal width
Fixes https://github.com/Homebrew/brew/issues/2707
2017-06-02 17:00:52 +02:00
Mike McQuaid
ce80485aa4 Merge pull request #2664 from GauthamGoli/audit_caveats_rubocop
audit: Port audit_caveats method to rubocop and add tests
2017-06-02 15:48:22 +01:00
Mike McQuaid
760f92abba Merge pull request #2717 from orangea/brew-edit-fix
don't try to find the full path of the editor in 'brew edit'
2017-06-02 15:45:59 +01:00
adrian
de78999def don't try to find the full path of the editor in 'brew edit'
fixes #2709
2017-06-01 17:45:07 -07:00
ilovezfs
daa6788621 Merge pull request #2710 from DomT4/node
language/node: adjustments for npm 5.0.x
2017-06-01 16:49:24 -07:00
Dominyk Tiller
b6d81359f0
language/node: adjustments for npm 5.0.x
Goes with: https://github.com/Homebrew/homebrew-core/pull/14085
2017-06-01 21:45:26 +01:00
Markus Reiter
8ce8cea6f0 Try moving back to Library/Homebrew/test. 2017-06-01 17:30:19 +02:00
JCount
88964adf19 Move .codecov.yml to root.
also, unignore it.
2017-06-01 10:52:03 -04:00
ilovezfs
8b26deef20 Merge pull request #2715 from Homebrew/revert-2698-operator-style
Revert "Fix operator spacing."
2017-06-01 04:23:53 -07:00
ilovezfs
197392b56d Revert "Fix operator spacing." 2017-06-01 04:06:40 -07:00
Kiyoshi '13k' Murata
c4b010b6d7 Fix curl invocation in Hbc::DSL::Appcast.
Fixes #2592
2017-06-01 06:02:50 -03:00
Markus Reiter
63b2eb9ffd Merge pull request #2698 from reitermarkus/operator-style
Fix operator spacing.
2017-06-01 08:52:49 +02:00
Markus Reiter
d34ba7395b Fix operator spacing. 2017-05-31 19:53:41 +02:00
Gautham Goli
cf848a14d2 audit: Port audit_caveats method to rubocop and add tests 2017-05-31 22:59:48 +05:30
Misty De Meo
f9e8d84301 Merge pull request #2697 from mistydemeo/cask_fix_cabextract
cabextract: WARNING lines aren't fatal
2017-05-31 08:23:31 -07:00
Mike McQuaid
17650628b3 Merge pull request #2700 from sjackman/env-std-linux
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
2017-05-31 08:33:55 +01:00
Misty De Meo
120985e23f Merge pull request #2684 from mistydemeo/add_vendored_sha256
Add vendored sha256
2017-05-30 19:10:00 -07:00
Misty De Meo
0c1186f47f
cabextract: remove -t test
The warnings this prints makes it not especially helpful, so
just assume the magic number test and job failure are enough.

Fixes #2689.
2017-05-30 18:55:49 -07:00
Misty De Meo
587f338daa
vendor-install: use Ruby as a sha256 fallback
But still prefer shasum/sha256sum where present.
2017-05-30 18:48:55 -07:00
Misty De Meo
a40291ee4a
Pathname: use Digest::SHA256 alias
Digest::SHA2 wasn't exposed under that name in older versions of Ruby.
2017-05-30 18:30:16 -07:00
Mike McQuaid
90c971625e Merge pull request #2704 from MikeMcQuaid/jenkins-brew-sh
Update jenkins.brew.sh links.
2017-05-30 20:28:50 +01:00
Mike McQuaid
9032574038 Update jenkins.brew.sh links.
These previously, incorrectly pointed to bot.brew.sh.

Fixes #2703.
2017-05-30 19:14:40 +01:00
Mike McQuaid
344c492299 Merge pull request #2662 from GauthamGoli/audit_text_rubocop
audit: Port audit_text method to rubocop and add tests
2017-05-30 19:10:39 +01:00
Bob W. Hogg
e2c707d8b1 Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
Add ENV.libxml2 primarily for the use of test do blocks.
Add a dummy ENV.x11 function.

See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-05-30 10:37:26 -07:00
Gautham Goli
cfbdc17cb7 Use relevant methods to consolidate logic in text_cop.rb 2017-05-30 15:28:05 +05:30
Gautham Goli
88f21b84f4 Refactor and add more methods in formula_cop.rb 2017-05-30 15:28:05 +05:30
Gautham Goli
51f2338dd5 audit: Port audit_text method to rubocop and add tests 2017-05-30 15:28:05 +05:30
Gautham Goli
5b97a8f2e1 Add methods in FormulaCop to find method nodes, dependency nodes 2017-05-30 15:28:05 +05:30
Mike McQuaid
d1f802c372 Merge pull request #2686 from MikeMcQuaid/remove-testbottest
Fix Linux build
2017-05-30 10:30:14 +01:00
Mike McQuaid
28cd0d3856 Fix Linux build
Remove `testbottest` formula (this should have lived in the `brew
test-bot` repository from the outset) and make various other changes to
fix the Linux build here.
2017-05-30 09:51:06 +01:00
Mike McQuaid
2f97b0ae55 Merge pull request #2695 from MikeMcQuaid/pin-bundler-version
tests: install specific Bundler version.
2017-05-30 07:44:24 +01:00
Misty De Meo
bfff7f9a6b Merge pull request #2696 from mistydemeo/fix_cellar_lib_check
check_non_libraries: fix false positive subdirectory reports
2017-05-29 20:51:35 -07:00
Misty De Meo
2bca6fb338 check_non_libraries: fix false positive subdirectory reports 2017-05-29 16:49:21 -07:00
Mike McQuaid
2cbbdb51bf tests: install specific Bundler version.
Otherwise `brew tests` fails with the latest. See the failing
Homebrew/homebrew-test-bot `master` build as an example.
2017-05-29 20:52:17 +01:00