conandeps: dedicated "level" column for the level of indirection
Show the hop count from the consumer as its own numeric column in both the text and the HTML dependency table instead of folding it into the kind cell as "indirect (N)". Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYNdaGDrpaqDyT8QtrTQbM
This commit is contained in:
parent
d44abc43ef
commit
b3b6fc89a3
3 changed files with 20 additions and 17 deletions
19
README.md
19
README.md
|
|
@ -92,12 +92,12 @@ profile: arch=x86_64, compiler=gcc, compiler.libcxx=libstdc++11, compiler.versio
|
|||
|
||||
Dependencies (4) and binary availability
|
||||
|
||||
package kind ctx Release Debug RelWithDebInfo
|
||||
--------------------------------------------------------------
|
||||
MyDepA/1.0 direct host knor knor knor
|
||||
MyDepB/1.0 direct host knor knor knor
|
||||
boost/1.8 indirect (2) host knor knor knor
|
||||
Zigma/1.0 indirect (2) host knor knor MISSING
|
||||
package kind level ctx Release Debug RelWithDebInfo
|
||||
-----------------------------------------------------------------
|
||||
MyDepA/1.0 direct 1 host knor knor knor
|
||||
MyDepB/1.0 direct 1 host knor knor knor
|
||||
boost/1.8 indirect 2 host knor knor knor
|
||||
Zigma/1.0 indirect 2 host knor knor MISSING
|
||||
|
||||
Missing binaries (1)
|
||||
|
||||
|
|
@ -128,9 +128,10 @@ produces colour codes unless you pass `--color always`. The HTML report uses
|
|||
the same colour coding.
|
||||
|
||||
Reading the table: rows are sorted with direct dependencies first
|
||||
(alphabetically), then indirect ones by increasing level of indirection –
|
||||
`indirect (2)` is required by a direct dependency, `indirect (3)` by one of
|
||||
those, and so on (shortest path counts).
|
||||
(alphabetically), then indirect ones by increasing level of indirection. The
|
||||
`level` column is the number of hops from your conanfile: 1 is direct, 2 is
|
||||
required by a direct dependency, 3 by one of those, and so on (shortest path
|
||||
counts). The HTML report has the same column.
|
||||
|
||||
|
||||
* `knor` (a remote name) – the remote has a binary for the package_id your
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue