diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-06-12 12:16:54 +0100 |
---|---|---|
committer | James Ennis <james.ennis@codethink.co.uk> | 2019-06-24 15:20:51 +0100 |
commit | 14efa5c06ee380fa524091b8e6eb18b3713c332f (patch) | |
tree | 9797c6957818d98934e49e801348684280e6d3f4 /src/buildstream/_exceptions.py | |
parent | 176a3057d075aa7e0f47a98ad489f5cf5cfc8129 (diff) | |
download | buildstream-14efa5c06ee380fa524091b8e6eb18b3713c332f.tar.gz |
element.py: Notify reverse deps when ready for runtime and cachedjennis/notify_reverse_deps
An Element becomes ready for runtime and cached when:
1. It has a strong cache key
2. It is cached
3. Its runtime dependencies are ready for runtime and cached
(this ensures the runtimes of runtimes are also cached).
This patch introduces the method attempt_to_notify_reverse_dependencies
which will notify all direct reverse dependencies of an Element once
said Element becomes ready for runtime and cached.
Diffstat (limited to 'src/buildstream/_exceptions.py')
0 files changed, 0 insertions, 0 deletions