diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-08-08 10:25:04 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-08-08 15:47:48 +0100 |
commit | b3fe4cadc1abac6dc4c523f0d9b2b191cbb8fd3f (patch) | |
tree | 076c6b3015d25184af9c66a37cae24fd4ea2d98f /setup.cfg | |
parent | 65aae976f7eb53569c3456c58389721511af61ef (diff) | |
download | buildstream-b3fe4cadc1abac6dc4c523f0d9b2b191cbb8fd3f.tar.gz |
_loader: Detect and reject duplicated dependencies
When loading an element, if it has duplicated dependencies of any kind
then we reject the element with a LoadError(DUPLICATE_DEPENDENCY). This
means that an element `foo.bst` can only appear once in any given dependency
kind, allowing it to be both `runtime` and `build`, but not either of those
twice, nor either plus `all`, nor `all` twice.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions