Closed rhubert closed 9 months ago
The underlying problem is that there is only one package "a":
$ bob ls -d //a
b/a
The reason is that both b/a
and c/a
create exactly the same result. Such packages are de-duplicated during parsing because otherwise even medium sized projects would not be viable.
I'm not sure that there is anything that can be checked here. The given example configuration could be valid because a commit can belong to any number of branches.
One of my colleagues had a issue compiling our stuff.
useCommitOnBranch
was enabled and the checkout failed because of a non exiting branch. In this special case the branch was set via an env var, but for the package he wanted to build the env-var was set to a different value than the missing branch. First I wasn't able to reproduce this in my tree until I disabled myrootFilter
...A stripped down repo would be:
a.yaml:
assuming there is a
branch: c
withcommit: 0
but no branchb
in this repo....b.yaml:
c.yaml:
Unfortunately the branch for
a
isb
, exceptb
is filtered by therootFilter
...I have a rough idea why this happens but I'm unsure if it's worth adding additional checks for this. What do you think?