diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-04 11:47:01 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-04 14:07:38 +0000 |
commit | 1a1d4592d32d96604aa72bc169388a8f5e42238d (patch) | |
tree | 7c062bca73572e9baa2114145474dfc5f66a89e8 /tests/cachekey/project/elements/script1.expected | |
parent | 861f9636a503f6dbd5acc132e2f8ba6743762216 (diff) | |
download | buildstream-traveltissues/splitdepkeys.tar.gz |
[WIP]Split dependencies into dependency-names and dependency-keystraveltissues/splitdepkeys
In Element._calculate_cache_key the dependency field of the cache key
dictionary is replaced with the dependency-names field and the
dependency-keys field. The first is only populated in the case where the
weak dependencies are passed and the second is only populated when the
strong dependencies are passed. Additionally, in the case where the
element holds at least one source advertising BST_NO_REF, the new fields
are both initialised to `[]` in order to correctly update dependencies.
Failing to reinitialise dependency fields in this case will lead to
erroneous dependencies from old states of BST_NO_REF sources.
Diffstat (limited to 'tests/cachekey/project/elements/script1.expected')
-rw-r--r-- | tests/cachekey/project/elements/script1.expected | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachekey/project/elements/script1.expected b/tests/cachekey/project/elements/script1.expected index ec6dc0a01..87ab8698f 100644 --- a/tests/cachekey/project/elements/script1.expected +++ b/tests/cachekey/project/elements/script1.expected @@ -1 +1 @@ -249d98e96abd7e23fc5587eab5a5f94eee116c35a02a6968b28ff7845a9d8b0d
\ No newline at end of file +3830801f89cad317d7c4ae3ed6c8232269a106f98a3eb0b63cd67779703ec49b
\ No newline at end of file |