| Age | Commit message (Collapse) | Author |
|
The flow is as follow:
* If tap is nil(DIY install), search using name.
* If tap is found, search using full name.
* If tap is found and full name searching failed, search using name.
This usually means the formula may be migrated to different tap.
Closes Homebrew/homebrew#44771.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Fixes Homebrew/homebrew#44729.
Fixes Homebrew/homebrew#40863.
Closes Homebrew/homebrew#44779.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Fixes Homebrew/homebrew#44687.
Closes Homebrew/homebrew#44770.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Add `java` to `SHARE_PATHS` so that `HOMEBREW_PREFIX/share/java` is a folder with symlinks in it, rather than a symlink to a folder for a specific formula.
This way we avoid conflicts if multiple formulas put `jar` files in the
standard location `HOMEBREW_PREFIX/share/java`.
See also:
[pull request 44420](https://github.com/Homebrew/homebrew/pull/44420)
Closes Homebrew/homebrew#44456.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Fixes https://github.com/Homebrew/homebrew/issues/44320#issuecomment-143951973
Closes Homebrew/homebrew#44440.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#44705.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#44417.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
In the data returned from the GitHub API, “watchers_count” is actually the
number of stars.
See https://developer.github.com/v3/activity/starring/#starring-vs-watching
Closes Homebrew/homebrew#44477.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Closes Homebrew/homebrew#44626.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44305.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#44450.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44182.
Closes Homebrew/homebrew#44349.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Closes Homebrew/homebrew#44544.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44542.
|
|
Closes Homebrew/homebrew#44497.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#44451.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
|
|
|
|
There are plenty of IO operations inside Tap object, and it will be more
when implementing formula alias reverse look up(e.g. list all of alias
names for a formula). So let's cache them.
Some benchmark:
$ time brew info $(brew ruby -e 'puts Formula.tap_names') > /dev/null
Before: 6.40s user 2.42s system 96% cpu 9.134 total
After: 4.75s user 0.77s system 97% cpu 5.637 total
Closes Homebrew/homebrew#44377.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
This can help to solve the broken layout of doctor.out in brew gist-logs
|
|
Will replace it when we implemented `brew repair-permission`
|
|
Closes Homebrew/homebrew#42048
Closes Homebrew/homebrew#44434.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#44441.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
This ensures that binaries in /usr/local/bin would not overwrite
superenv.
Closes Homebrew/homebrew#44376.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
When a PR is merged during the test, the commit tree will be looked like
this:
master PR
\ /
\ /
|
root
The start_revision will be poined to the commit used to merging PR,
instead of common root commit. As result, `git diff-tree start end`
will list file changes both in PR and master branch, which later
contributes to additional formulae are tested in some Travis builds.
To fix the problem, we use `git merge-base` to get common ancestor as
the real start_revision.
Closes Homebrew/homebrew#44379.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#44325.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
We previously set `ignore_deps?` as true for DependencyInstaller to
avoid duplicated dependencies resolution. (See a9fc82aea30506eeacbddeb8b53fb85de8acb9d4)
However, this will cause problem when pouring bottle of a dependency is
failed. In this case, it will try to build dependency from source but
failed due to uninstalled build deps for this formula.
Another disadvantage for using `ignore_deps?` hack is we cannot
distinguish users passing `--ignore-dependencies` flag from we are in
`DependencyInstaller`.
So, let's differentiate these using `skip_deps_check?`
|
|
|
|
When there's absolute symlinks in a linked directory in the `keg`
(e.g. `bin`)that point to the `Cellar` or `opt` then linking the `keg`
will fail before the `Cellar` or `opt` has been linked.
Closes Homebrew/homebrew#44306.
Closes Homebrew/homebrew#44329.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#44302.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
|
|
`brew bottle --verbose` outputs all the matches for a string found
in the files inside the Cellar. Instead of outputting all of these just
output the first 100.
Closes Homebrew/homebrew#44266.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
IO#gets will only return for every new lines, which will be bad for
`brew install` since we print dots in single line.
Closes Homebrew/homebrew#44264.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
The `--verbose` seems to cause some issues with compiling software like
`boost` under Xcode 7.
|
|
The default is almost never useful. 15 seems like a good medium as it'll
not fill a 80x24 default but provides a bit more context. Also allow it
to be overriden for developers and `test-bot`.
|
|
Closes Homebrew/homebrew#44125.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
It may still write some bottles so let's allow them to be uploaded.
|
|
|
|
Commit a71d4a9b (PR Homebrew/homebrew#44058) brought support for updating repositories
with a default branch different from master. This fixes the tests broken
by that commit.
Closes Homebrew/homebrew#44135.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|