Debian Codegraph @

workspaces/arborist/test/fixtures/bundle-metadep-duplication/README.md

raw
1 Verify that bundled deps are not unnecessarily duplicated outside of the
2 bundling node, leading to missed extraneous nodes.
3
4 Dep graph:
5
6 ```
7 root -> (x)
8 x -> (y<bundle>, z, abbrev)
9 y -> z
10 z -> a
11 ```
12
13 `x` bundles `y`, implicitly bundling `z` and `a`
14
15 The version of `a` bundled in `x` is older than latest.
16
17 `abbrev` is not bundled, either implicitly or explicitly, and so _should_
18 be installed at the shallowest possible location.
19
20 ## expect
21
22 ```
23 root
24 +-- abbrev
25 +-- x
26 +-- y
27 +-- z
28 +-- a
29 ```