Mike McQuaid
de82d3a945
Merge pull request #3940 from maxim-belkin/fix-undeclared
...
linkage_checker: fix detection of broken dependencies and missing libraries
2018-04-08 16:13:28 -07:00
Maxim Belkin
3484db71d0
fix missing_deps
2018-04-07 15:35:27 -05:00
Maxim Belkin
e15430c2cb
fix if statement
2018-04-07 14:46:31 -05:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Maxim Belkin
e4a1b16180
Being explicit about sorting keys first
2018-04-07 13:33:10 -05:00
Maxim Belkin
71fef1493d
Use flat_map and other shortcuts
2018-04-07 13:28:15 -05:00
Maxim Belkin
d6e0b7d2bf
use new syntax
2018-03-30 20:56:36 -05:00
Maxim Belkin
55620a736a
distinguish between broken_dylibs and broken_deps
2018-03-30 15:55:14 -05:00
Alyssa Ross
6bbc56c3a9
Merge branch 'master' into undeclared_runtime_dependencies
2018-03-30 12:39:13 +01:00
Mike McQuaid
42a39b16bf
formula: use runtime_dependencies from tab.
...
Don't do so in `linkage_checker` or `tab` which to avoid recursive loops
and want the actual values specified in the formula itself.
2018-03-27 14:52:47 +01:00
Maxim Belkin
09eab0cc76
unrolling one-liner into two do/end blocks
2018-03-21 13:10:23 -05:00
Maxim Belkin
0513d9de5c
display_items: handle nil keys
2018-03-20 12:30:14 -05:00
Maxim Belkin
81042c63fb
dylib_to_dep: use Regexp
2018-03-20 10:06:52 -05:00
Maxim Belkin
1501354ee7
Fix brew style error and warning
2018-03-18 19:03:31 -05:00
Maxim Belkin
9642485e73
Missing libraries now report corresponding missing formulae
2018-03-18 18:52:12 -05:00
Maxim Belkin
8634f19107
linkage: consider missing links to Cellar
2018-03-18 17:40:52 -05:00
Maxim Belkin
2a6a2b2fa0
Fixes for linkage_checker
...
1. In "display_test_output": when printing dependencies without
linkage, use "Dependencies with no linkage" string instead of "Possible
unnecessary dependencies" for consistency with "display_normal_output"
2. In "check_dylibs": keep track of and skip repetitive checking of
those dylibs that have been previously checked. This is applicable when
different executables/libraries are linked against the same libraries.
3. In "check_undeclared_deps": when there are missing libraries,
corresponding dependencies should be excluded from the list of
dependencies with no linkage.
2018-03-17 00:49:04 -05:00
AndrewMcBurney
bc76a8afcb
Changed default behavior of brew linkage
command to build cache instead of using cached output. Cached output may be printed with --cached
flag.
2018-03-14 16:36:56 -04:00
Alyssa Ross
6cd195723f
Merge branch 'master' into undeclared_runtime_dependencies
2018-03-12 09:22:39 +00:00
Alyssa Ross
0a2f0ab456
Fix formula/linkage_checker infinite recursion
2018-03-12 09:20:24 +00:00
AndrewMcBurney
8bd38d08cb
Move linkage_cache_store.rb
to ~/Library/Homebrew
.
2018-03-06 12:07:57 -05:00
AndrewMcBurney
831fcfa5dd
Merge remote-tracking branch 'origin/master' into cache-optimization
2018-03-06 11:46:23 -05:00
Shaun Jackman
4af8950f8b
check_undeclared_deps: Fix for taps
...
undeclared_deps reported all dependencies in taps as undeclared.
2018-03-05 09:51:27 -08:00
Shaun Jackman
97932c1abf
Move linkage_checker from os/mac to generic
2018-02-28 11:18:27 -08:00