When warning[W04]: Source group in package contains no source files. is being thrown, the manifest is dropped from the dependency tree, regardless if it contains further dependencies.
Was using a Bender.yml to collect a bunch of dependencies together. The aggregate bender file does not contain any source files, but a bunch of dependecies.
Example_structure:
Bender(top) <--- Is showing up in resolved tree
-> Bender(no_sources_but_has_dependencies) <--- This throws the warning
-> Bender(with_some_sources) <--- Not showing up in resolved tree!
-> Bender(with_more_sources) <--- Not showing up in resolved tree!
-> Bender(with_different_sources) <--- Is showing up in resolved tree
Seems to be connected with the yml validation or topological sorting. Command which the bug was observed is bender -d <path_to_top> sources -f. The command bender packages has them correctly listed. Seems they are also being dropped from bender script.
Setup:
- All dependencies are inside the same repository and being linked via
path.
- A
.bender.yml in the repositories root is used as a pseudo registry to specify the concrete paths and avoid duplications.
Bender version 0.31.0
When
warning[W04]: Source group in package contains no source files.is being thrown, the manifest is dropped from the dependency tree, regardless if it contains further dependencies.Was using a
Bender.ymlto collect a bunch of dependencies together. The aggregate bender file does not contain any source files, but a bunch of dependecies.Example_structure:
Seems to be connected with the
ymlvalidation or topological sorting. Command which the bug was observed isbender -d <path_to_top> sources -f. The commandbender packageshas them correctly listed. Seems they are also being dropped frombender script.Setup:
path..bender.ymlin the repositories root is used as a pseudo registry to specify the concrete paths and avoid duplications.Bender version
0.31.0