Gautham Goli
ffb4fe7041
DependencyOrder: Fix var initialization bug
2018-06-30 15:24:53 +05:30
Mike McQuaid and GitHub
0d33aba0b7
Merge pull request #4377 from jacktose/force-brewed-git
...
Implement HOMEBREW_FORCE_BREWED_GIT
2018-06-26 19:34:44 +01:00
Jack Haden-Enneking and GitHub
e63feb79f9
Simplify check before git install
...
No need to check for both variables, because they're always set together.
Also, this harmonizes with the CURL equivalent just above.
2018-06-26 11:14:32 -07:00
Jack Haden-Enneking
9fd5a92ff6
Implement HOMEBREW_FORCE_BREWED_GIT
...
Because of this messing with the user's path:
https://github.com/Homebrew/brew/blob/
efc02899c851c62c9ce0d15dea9a231575d7d774/bin/brew#L68
brew uses /usr/bin/git over brewed git, even when the former is
problematically old.
There may also be other reasons a user prefers to use brewed git.
There was already a HOMEBREW_FORCE_BREWED_CURL option and a
HOMEBREW_SYSTEM_CURL_TOO_OLD check to set it. This mostly copies those
to implement HOMEBREW_FORCE_BREWED_GIT & HOMEBREW_SYSTEM_GIT_TOO_OLD.
See also: https://github.com/Linuxbrew/brew/issues/736
2018-06-25 23:36:12 -07:00
Mike McQuaid and GitHub
c101a82c5b
Revert "Fix SVN downloads of versioned formula by munging directory names"
2018-06-26 07:10:36 +01:00
ilovezfs
3b46736820
mirror: use curl_executable instead of curl function
2018-06-25 06:33:44 -07:00
ilovezfs
49157dbf17
mirror: invoke correct curl
...
Remove remaining use of `system "curl"` in favor of the `curl` function.
2018-06-25 05:21:55 -07:00
Mike McQuaid and GitHub
7506abe5be
Merge pull request #4358 from apjanke/fix-subversion-download-of-versioned-formulae
...
Fix SVN downloads of versioned formula by munging directory names
2018-06-25 08:58:24 +01:00
Andrew Janke
b72c4e3248
Fix SVN downloads of versioned formula by munging directory names
2018-06-25 03:21:36 -04:00
ilovezfs and GitHub
78757bf56e
Merge pull request #4328 from woodruffw/install-check-dev-tools
...
[WIP] formula_installer: Don't check devtools if pouring
2018-06-24 18:20:34 -07:00
Mike McQuaid
512073ad38
cache_store: create HOMEBREW_CACHE when needed.
...
Fixes #4366 .
2018-06-21 13:59:07 +01:00
commitay and GitHub
41e27928c4
Merge pull request #4232 from commitay/cask-caveats
...
cask fetch and upgrade: print caveats
2018-06-21 11:51:29 +10:00
Markus Reiter
fcd75877c5
Update brew search help.
2018-06-19 13:48:23 +02:00
Markus Reiter
ccbbe6756f
Remove brew cask search from documentation.
2018-06-19 13:40:25 +02:00
Markus Reiter and GitHub
25542d7398
Merge pull request #4316 from reitermarkus/merge-search
...
Merge `brew cask search` into `brew search`.
2018-06-18 21:31:33 +02:00
Markus Reiter and GitHub
c814199a79
Merge pull request #4320 from lucafavatella/brew-cask-doctor
...
Fix `brew cask doctor` for non-standard installation location
2018-06-18 16:30:23 +02:00
Markus Reiter
b265d870ed
Allow searching Casks by name.
2018-06-18 16:23:36 +02:00
Markus Reiter
b21430b13c
Use extend/os pattern.
2018-06-18 16:23:36 +02:00
Markus Reiter
18e46b3ec2
Fix usage of HOMEBREW_LOAD_PATH.
2018-06-18 16:23:35 +02:00
Markus Reiter
1d629c6978
Don’t show Casks on Linux.
2018-06-18 16:23:35 +02:00
Markus Reiter
a8bfe09c49
Remove tests for brew cask search.
2018-06-18 16:23:35 +02:00
Markus Reiter
8c620d8b97
Redirect brew cask search to brew search.
2018-06-18 16:23:35 +02:00
Markus Reiter
da193d2f7e
Merge brew cask search into brew search.
2018-06-18 16:23:35 +02:00
Mike McQuaid and GitHub
f7d0c89c21
Merge pull request #4348 from errordeveloper/master
...
Ignore any version of Go, when it is a dependency of a bottle
2018-06-18 14:56:14 +01:00
Mike McQuaid
5e6c40e28f
Make versioned formulae regex more consistent.
...
Share the regex where possible and otherwise ensure they are identical.
2018-06-18 14:36:51 +01:00
Mike McQuaid and GitHub
60e6b5114b
Merge pull request #4349 from apjanke/audit-head-only-error
...
brew audit: avoid error on head-only formulae
2018-06-18 13:51:59 +01:00
Vítor Galvão and GitHub
9831e67452
Merge pull request #4346 from commitay/version-minor_patch
...
cask dsl versions: add minor_patch
2018-06-16 13:18:21 +01:00
Andrew Janke
97c12b4bbf
brew audit: avoid error on head-only formulae
2018-06-15 20:07:02 -04:00
Ilya Dmitrichenko
22d88821c3
Ignore any version of Go, when it is a dependency of a bottle
2018-06-15 11:36:41 -07:00
commitay
c5bbf28dd6
cask dsl versions: add minor_patch
2018-06-15 22:40:33 +10:00
Markus Reiter
44f56a0773
Refactor join("") to join.
2018-06-15 13:56:08 +02:00
Markus Reiter
13d9305fad
Cache Tty.width, since it is used heavily because of ohai.
2018-06-15 13:56:08 +02:00
Luca Favatella
ece34dbe26
cask doctor: fix for non-standard installation location in ~
...
Symptom (relevant portions):
```
$ brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.6.7-56-g9ebcef7
Homebrew/homebrew-cask (git revision fc24e; last commit 2018-06-09)
==> macOS
10.13.5
==> SIP
Enabled
...
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
~/homebrew/Caskroom
...
==> Environment Variables
HOMEBREW_CASK_OPTS="--appdir=~/Applications"
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:~/homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"
Cask's Doctor Checkup: failed
- The staging path ~/homebrew/Caskroom does not exist.
Error: There are some problems with your setup.
```
Analysis:
* The source code is
[this](https://github.com/Homebrew/brew/blob/9ebcef785eed097be709bffef97263b5f536ba34/Library/Homebrew/cask/lib/hbc/cli/doctor.rb#L63-L66 ).
* The issue is reproducible in `brew irb`:
```
$ ls -dl ~/homebrew/Caskroom
drwxrwxr-x 10 luca admin 340 9 Jun 16:22 /Users/luca/homebrew/Caskroom
$ ( cd ~ && pwd; )
/Users/luca
$ ls -dl /Users/luca/homebrew/Caskroom
drwxrwxr-x 10 luca admin 340 9 Jun 16:22 /Users/luca/homebrew/Caskroom
$ brew irb
==> Interactive Homebrew Shell
Example commands available with: brew irb --examples
irb(main):001:0> Pathname.new("~/homebrew/Caskroom").exist?
=> false
irb(main):002:0> Pathname.new("/Users/luca/homebrew/Caskroom").exist?
=> true
```
2018-06-14 23:58:03 +01:00
Luca Favatella
cac30f6186
cask doctor: delete unused render_* methods
2018-06-14 23:56:35 +01:00
Markus Reiter
502b393d66
Fix tests.
2018-06-14 22:45:20 +02:00
Markus Reiter
b45996dada
Don’t use ohai for SystemCommand output.
2018-06-14 22:45:20 +02:00
Mike McQuaid and GitHub
9b21422b72
Merge pull request #4334 from mistydemeo/mojave_clt_headers
...
Mojave: require CLT header package
2018-06-14 09:13:25 +01:00
Mike McQuaid and GitHub
c6b6b31d66
Merge pull request #4304 from apjanke/rspec-implies-non-formula-files
...
brew style: assume file args are non-formulae when passed --rspec
2018-06-14 09:11:42 +01:00
Misty De Meo
e5212d74a6
Diagnostic: require CLT headers on 10.14
2018-06-13 17:24:32 -07:00
Misty De Meo
95e3754b95
SystemConfig: print header status if appropriate
2018-06-13 17:24:32 -07:00
Misty De Meo
296f3c309e
CLT: add checks for the header package
2018-06-13 17:24:32 -07:00
Andrew Janke
c0b7aa00e4
brew style: assume files under Library are no-formulae
2018-06-13 14:06:23 -04:00
Mike McQuaid and GitHub
e39b6f5891
Merge pull request #4329 from MikeMcQuaid/linkage-cache-developers
...
brew.sh: enable linkage cache for developers.
2018-06-13 09:06:24 +01:00
ilovezfs and GitHub
42f5c2e4da
Merge pull request #4336 from ilovezfs/bump-formula-pr-fix-mirror
...
bump-formula-pr: don't unset --mirror= value
2018-06-13 00:37:14 -07:00
Markus Reiter and GitHub
05c392423e
Merge pull request #4332 from apjanke/exclude-vendor-simplecov
...
rubocop: exclude .simplecov under vendor
2018-06-13 08:11:00 +02:00
Markus Reiter
c7549f476a
Refactor .simplecov.
2018-06-13 07:17:30 +02:00
ilovezfs
6563043c75
bump-formula-pr: don't unset --mirror= value
2018-06-12 18:09:10 -07:00
Andrew Janke
abb917f381
rubocop: exclude .simplecov under vendor
2018-06-12 18:00:50 -04:00
commitay and GitHub
dee0028d1b
Merge pull request #4310 from commitay/remove-checkpoint
...
remove appcast checkpoints
2018-06-12 23:37:26 +10:00
William Woodruff
dabf5c40a1
formula_installer: require "install"
2018-06-11 22:19:11 -04:00