| Age | Commit message (Collapse) | Author |
|
|
|
Closes Homebrew/homebrew#43935.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
Also don't pour bottle if it's disabled.
|
|
|
|
Closes Homebrew/homebrew#42222.
Closes Homebrew/homebrew#44892.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
`reinstall` can currently be executed under sudo and has every chunk of problems
running install under sudo does when `brew` isn't root owned.
Likewise with `postinstall` which we increasingly use to create directories and
move/install files elsewhere. Using sudo there both masks deeper issues and
makes uninstall troublesome.
Closes Homebrew/homebrew#45112.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Closes Homebrew/homebrew#45021.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#44988.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#45075.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
By including the missing patch inline
See Homebrew/homebrew#43361 and Homebrew/homebrew-boneyard#66
Closes Homebrew/homebrew#44888.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
https://github.com/Homebrew/homebrew/commit/2950e5ab6ee76f35c7015cfa2d07bee6ddb1170e#commitcomment-13824130
|
|
|
|
|
|
dylib install_names are presently rewritten relative to HOMEBREW_PREFIX,
except for keg-only formulas, which are rewritten relative to
opt_prefix.
If we make a formula keg_only, all of its dependents need to be bumped,
since it will no longer exist in HOMEBREW_PREFIX and all of the links
will be written incorrectly.
If we always use opt_prefix, we avoid that dilemma, and make installed
packages more robust if a dependency is `brew unlink`ed.
Closes Homebrew/homebrew#43518.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
The yellow background made the text unreadable for light-on-dark color
schemes. Fix by making the highlighted text just bold.
Fixes Homebrew/homebrew#45028.
Closes Homebrew/homebrew#45030.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Moves the "Checking out" output to where checkouts actually happen, to avoid spurious checkout announcements.
Closes Homebrew/homebrew#45019.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Improve output in the (rare) cases where a tap offers both commands and
formulae or neither. Also adjust code to stay below the 80 column limit.
Closes Homebrew/homebrew#44995.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#43468.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
The xcrun code is stolen right out of the INSTALL script.
Check for user agreement of the Xcode license before permitting any other brew usage to continue.
This prevents the situation where people are instructed to "please re-run as root via sudo" on brew commands.
The check can only fail when Xcode is installed & the active developer dir.
Closes Homebrew/homebrew#44974.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
For consistency with `brew command` and the logic in `brew.sh` (both use
`which` to find/validate an external command), we need to filter files
that are not executable.
Otherwise `brew commands` and thus bash completion will offer commands
that will produce an error when attempting to use them.
Closes Homebrew/homebrew#44999.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
* Move listing all formula names in the top to speed up shell script.
* Simplify logic.
* Only search PR and check bad regex for tty?, which will benefit to
shell script.
Closes Homebrew/homebrew#44985.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#44982.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Fixes the bug described in
https://github.com/Homebrew/homebrew-science/pull/2866#issuecomment-148298146
|
|
|
|
Closes Homebrew/homebrew#44335.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#44946.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44343.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#44893.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Just do a few things rather than doing e.g. a full compile.
Closes Homebrew/homebrew#44936.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Fixes Homebrew/homebrew#44331.
Closes Homebrew/homebrew#44709.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
See bfab4b0e65db4667ab09159b1040701fa75ec687
Closes Homebrew/homebrew#44889.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Removing all sysroot flags is ok until a non-OS X SDK is needed. In
that case, builds can fail due to the non-OS X SDK being overwritten or
overridden by the OS X SDK.
Sysroot flags are now only stripped if they are an OS X SDK. This is
reliant on only OS X SDKs containing the string "macosx", so this will
break if if the wrong SDK shows up. However, the chances of that
happening seem low, as Apple probably doesn't want to introduce
something OS X that doesn't work with OS X, so it should be robust for
the near future.
This could break in an environment without the command line tools. The
fix for that is a bit more involved, though, so that will have to go
later.
Closes Homebrew/homebrew#44312.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#44843.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44458.
Closes Homebrew/homebrew#44773.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
There are audit rules which check cellar. Therefore, we need
`ARGV.resolved_formula` to get proper spec and prefix.
Closes Homebrew/homebrew#44781.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Otherwise, it will use the wrong prefix to test devel/HEAD install.
|