Markus Reiter
ef70677e88
Add test for Formatter.columns
.
2016-10-15 17:13:38 +02:00
Markus Reiter
198bf4d3bd
Convert puts_columns
to puts Formatter.columns
.
2016-10-15 17:13:38 +02:00
Markus Reiter
429327cac8
Use proc
to fallback to puts
.
2016-10-15 17:13:38 +02:00
Markus Reiter
5ee6df6d82
Fallback to $stdout.tty?
unless respond_to?(:tty?)
.
2016-10-15 17:13:38 +02:00
Markus Reiter
a89dc33834
Change test for puts_columns
with empty input.
2016-10-15 17:13:38 +02:00
Markus Reiter
01d87f8107
Don’t use puts_columns
if empty?
or single item.
2016-10-15 17:13:38 +02:00
Markus Reiter
4bfeaaf212
puts_columns
only has to be defined inside module Kernel
.
2016-10-15 17:13:38 +02:00
Markus Reiter
6e10f91371
Refactor puts_columns
.
2016-10-15 17:13:37 +02:00
Mike McQuaid
527a62b64b
Merge pull request #1279 from MikeMcQuaid/use-tar-xz
...
Use BSD tar's libarchive LZMA support if available
2016-10-15 13:37:35 +01:00
Mike McQuaid
b1a16deb19
Use BSD tar's libarchive LZMA support if available
...
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-15 13:10:37 +01:00
Mike McQuaid
7ab39e184b
Improve integration command test case output.
2016-10-15 12:32:34 +01:00
Mike McQuaid
f435adc2d0
Rename tap-readme command to tap-new.
...
Write the README but also a `.travis.yml` file (and in future perhaps a
`Jenkinsfile`).
2016-10-15 12:32:34 +01:00
Mike McQuaid
13276409a9
Merge pull request #1275 from woodruffw/goodbye-cctools
...
formula_installer: Remove obsolete hard dependency on cctools.
2016-10-15 11:47:29 +01:00
Paolo G. Giarrusso
aa8242bb66
brew doctor: warn about SSL_CERT_FILE ( #1284 )
...
Multiple issues have been filed about this environment variable, hence
give a warning. #932 might make this unnecessary when merged, but
hopefully this warning can be merged quickly.
2016-10-13 17:58:29 +02:00
Mike McQuaid
62e44a1dac
Merge pull request #1274 from RasPhilCo/patch-1
...
Fix warning for HOMEBREW_REPOSITORY at /usr/local
2016-10-12 20:38:37 +01:00
William Woodruff
5163aa5d21
formula_installer: Remove obsolete hard dependency on cctools.
...
ruby-macho now performs all relocations in Homebrew.
Additionally, delete the defunct CctoolsRequirement.
2016-10-12 15:00:40 -04:00
Mike McQuaid
8efb585684
Merge pull request #1273 from jawshooah/fix-relocate
...
keg_relocate: fix for multiline /usr/bin/file output
2016-10-12 19:08:10 +01:00
RasPhilCo
ec03dcfe95
Fix warning for HOMEBREW_REPOSITORY at /usr/local
2016-10-12 10:33:47 -07:00
Mike McQuaid
fd0dffdd77
Merge pull request #1271 from MikeMcQuaid/deprecate-apr-requirement
...
Deprecate apr requirement.
2016-10-12 18:22:27 +01:00
Josh Hagins
24c2d0b3c2
keg_relocate: fix for multiline /usr/bin/file output
2016-10-12 11:53:06 -04:00
Mike McQuaid
26e4899fde
Deprecate apr requirement.
...
It's not used on enough configurations now that there's little point in
keeping it around. See e.g. `:autoconf` for prior art.
2016-10-12 15:37:33 +01:00
Mike McQuaid
16793781b3
Merge pull request #1269 from MikeMcQuaid/keg-relocate-text-executable-files
...
keg_relocate: relocate text_executable? files.
2016-10-12 12:06:56 +01:00
Mike McQuaid
a812e95417
Merge pull request #1227 from DomT4/apr
...
apr_requirement: use Homebrew's Apr for Sierra
2016-10-12 11:38:57 +01:00
Mike McQuaid
2e306bcde0
keg_relocate: relocate text_executable? files.
...
This was omitted from #1258 , incorrectly fixed in #1267 , reverted in
#1268 and re-applied in this commit.
2016-10-12 11:35:37 +01:00
Mike McQuaid
02c567cb12
Revert "keg_relocate: left out text_executable? check in #1258 "
2016-10-12 11:29:33 +01:00
Mike McQuaid
784b71cb02
Tweak style.
2016-10-12 11:18:14 +01:00
Josh Hagins
72f9515e9b
Merge pull request #1267 from jawshooah/perf/keg-text-executable
...
keg_relocate: left out text_executable? check in #1258
2016-10-12 04:54:12 -04:00
Josh Hagins
6cecc4c03e
keg_relocate: left out text_executable? check in #1258
2016-10-12 04:02:47 -04:00
Mike McQuaid
01a92dd94e
Merge pull request #1262 from MikeMcQuaid/warn-repo-cellar
...
brew.sh: warn on $HOMEBREW_REPOSITORY/Cellar
2016-10-12 08:45:54 +01:00
Josh Hagins
af78b64d5c
Merge pull request #1258 from jawshooah/perf/keg-batch-text-files
...
keg_relocate: run /usr/bin/file in batches
2016-10-12 03:42:22 -04:00
Mike McQuaid
7a3ba92324
Merge pull request #1261 from MikeMcQuaid/tweak-repo-sandbox
...
postinstall: allow write access to cellars in repository.
2016-10-12 08:38:13 +01:00
Markus Reiter
1a01a4d42d
Merge pull request #1264 from reitermarkus/single-language-audit
...
Allow auditing of a single language of a cask.
2016-10-12 08:18:35 +02:00
Josh Hagins
d8a6863283
keg_relocate: use xargs to batch file arguments
2016-10-11 21:19:08 -04:00
Markus Reiter
bb3c689371
Fix CaskCommandFailedError.
2016-10-11 18:27:01 +02:00
Markus Reiter
9eaf221885
Allow auditing of a single language of a cask.
2016-10-11 15:10:12 +02:00
Mike McQuaid
981cac2a2e
brew.sh: warn on $HOMEBREW_REPOSITORY/Cellar
...
If you’re using a /usr/local prefix but e.g. /usr/local/homebrew/Cellar
then you’ll miss out on most binary packages for no good reason so warn
people of that.
2016-10-11 09:37:37 +01:00
Mike McQuaid
58d998e208
postinstall: allow write access to cellars in repository.
...
If HOMEBREW_CELLAR (or HOMEBREW_PREFIX) are children of
HOMEBREW_REPOSITORY it’s important to deny write to the repository and
enable write to the Cellar/prefix afterwards.
2016-10-11 09:36:20 +01:00
Alyssa Ross
cd615acd5f
tab: don't interpret unknown deps as no deps
2016-10-11 09:00:39 +01:00
Markus Reiter
6be6ce33e0
Merge pull request #1245 from reitermarkus/fix-cask-path-for-query
...
Fix getting cask path for queries.
2016-10-10 23:33:51 +02:00
Mike McQuaid
bb96fd7c42
Merge pull request #1255 from akirk/patch-1
...
brew.sh: allow --prefix to be run as root without warning
2016-10-10 16:56:49 +01:00
Alyssa Ross
6c5b8f0f5e
Update URL in qualified_token comment
...
The homebrew/homebrew wiki no longer exists.
2016-10-10 14:46:00 +01:00
Alex Kirk
7502c85698
Don't display root warning for --prefix
2016-10-10 14:25:07 +02:00
Mike McQuaid
0546d90e3d
Merge pull request #1251 from MikeMcQuaid/diagnostic-no-write-tmp
...
diagnostic: handle HOMEBREW_TEMP mktmpdir failure.
2016-10-09 15:26:31 +01:00
Markus Reiter
8ded5b690f
No need to check if Encoding
is defined.
2016-10-09 15:34:12 +02:00
Markus Reiter
67a7d1a64a
Fix getting cask path for queries.
2016-10-09 15:34:12 +02:00
Mike McQuaid
21ff82be7f
diagnostic: handle HOMEBREW_TEMP mktmpdir failure.
...
Fixes #1223 .
2016-10-09 14:33:04 +01:00
Mike McQuaid
0c193c308e
Merge pull request #1241 from reitermarkus/deprecation-warning
...
Comment out `license` stanza deprecation warning.
2016-10-09 14:24:55 +01:00
ilovezfs
5efb158860
cleanup: remove GLIDE_HOME cache directories
...
This is needed since some formulae now set
ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}"
2016-10-08 10:05:04 -07:00
Mike McQuaid
1b677ab0ff
Merge pull request #1238 from MikeMcQuaid/user-agent-version
...
brew.sh: improve user agent with no git repo.
2016-10-08 16:40:56 +01:00
Markus Reiter
c78d1e6bb5
Merge pull request #1243 from reitermarkus/rename-deprecation-exception
...
Rename FormulaMethodDeprecatedError to MethodDeprecatedError.
2016-10-08 17:16:29 +02:00