| Age | Commit message (Collapse) | Author |
|
Closes Homebrew/homebrew#43453.
|
|
It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32.
Closes Homebrew/homebrew#43462.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
By directly modifying the results array with
`results[i] = "#{name} (installed)"`, it appeared on successive
iterations that the canonical name was no longer in the array, so
aliases were not removed.
See https://github.com/Homebrew/homebrew/commit/9efe5b554ce9cf6626d9794173725f5e063e5806#commitcomment-12969631
Closes Homebrew/homebrew#43433.
|
|
Closes Homebrew/homebrew#43423.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#41279.
Closes Homebrew/homebrew#43415.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
`brew search emacs`, with homebrew/emacs tapped:
```
real 0m2.586s
user 0m1.138s
sys 0m0.121s
```
Previously:
```
real 0m2.831s
user 0m1.385s
sys 0m0.087s
```
`brew search s`:
```
real 0m2.260s
user 0m1.201s
sys 0m0.114s
```
Previously:
```
real 0m5.953s
user 0m4.827s
sys 0m0.226s
```
Closes Homebrew/homebrew#35696.
Closes Homebrew/homebrew#42662.
|
|
|
|
And remove the documented stuff from the `example-formula.rb`.
Closes Homebrew/homebrew#43241.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#43361.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#43360.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
String#undent behavior
Closes Homebrew/homebrew#43303.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
indentation level is gsubbed, change test_undent to reflect change and add test_undent_nested to test new behavior
|
|
* use syslog filter instead of grep.
* output sandbox log to stdout when verbose and failed.
* output nothing if sandbox log is empty.
Closes Homebrew/homebrew#43325.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
sudo -k cannot be used inside sandbox
Closes Homebrew/homebrew#43345.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Fixes Homebrew/homebrew#43280.
Closes Homebrew/homebrew#43352.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
For update, all formula loading need to be secured by `rescue`.
Otherwise it's easy to crash `brew update` for vasty reasons, e.g.
new Formula DSL.
Closes Homebrew/homebrew#43353.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#43344.
|
|
Closes Homebrew/homebrew#43326.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
If the user's working copy is *not* on the 'master' branch, the revision
recorded after the update to the 'master' branch is not the one of the
updated 'master' branch but that of whatever the user's current branch
is. This tends to be not very helpful.
This change records the revision *after* the update to the 'master'
branch, but *before* switching back to the user's current branch prior
to the update, effectively causing the report to show changes to the
'master' branch.
Closes Homebrew/homebrew#42074.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#43269.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#43313.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#43259.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Fixes test-bot mishandling of optional cross-tap dependencies. Without
this change, since formula.stable.deps includes the optional dependencies but
formula.recursive_dependencies does not, test-bot was trying to select a
compiler for an untapped formula, which raised an error.
Our suspect handling of optional dependencies was exposed by Homebrew/homebrew#43145 /
7184348e822d6745d8a103de104ff9626536bf1e.
Closes Homebrew/homebrew#43237.
|
|
Closes Homebrew/homebrew#43283.
Closes Homebrew/homebrew#43298.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Closes Homebrew/homebrew#43154.
Closes Homebrew/homebrew#43277.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Long term it would be nice to sandbox everything that writes to DerivedData
but it is essentially a cache directory of sorts.
The downside of allowing stuff to write there particularly is that DerivedData
is notoriously bad at getting cleaned up, so if you do a lot of Xcode-using
installations very quickly, you can chew your disk space up.
Closes Homebrew/homebrew#43276.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Use an exponential back-off on the sleep and try the fetch more times.
Hopefully this will mean that we spent less time waiting for Bintray.
Closes Homebrew/homebrew#43240.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#43273.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
|
|
|
|
Closes Homebrew/homebrew#43260.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
It's already covered by `$?.exitstatus == 0` in below.
|
|
|
|
HOMEBREW_VERSION doesn't change very often; the repository state is more
interesting.
Closes Homebrew/homebrew#41886.
|
|
|
|
Fixes Homebrew/homebrew#43206.
|
|
|
|
Closes Homebrew/homebrew#41267.
Closes Homebrew/homebrew#43199.
Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
|
|
|
|
|
|
Sometimes we accidentally install files outside prefix. After we fix that,
users will get nasty link conflict error. So we create a whitelist here to
allow overwriting certain files. e.g.
link_overwrite "bin/foo", "lib/bar"
link_overwrite "share/man/man1/baz-*"
During FormulaInstaller#link, the whitelist conflict files will be
backup into HOMEBREW_CACHE/Backup
|
|
Formula#bottle_specification always exists, while Formula#bottle only
exists if the bottle is available and compatible.
|
|
|
|
|
|
|
|
|
|
|
|
Merge branch 'bottle_hooks'
|