diff options
author | Jürg Billeter <j@bitron.ch> | 2020-08-12 10:45:30 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-08-25 07:51:30 +0200 |
commit | 2d60e036937de51068bc267d8c0d89332966f6f2 (patch) | |
tree | ea1e13a090f3a68597c975f76d9b28c418938887 /tests/cachekey/project/sources/pip1.expected | |
parent | 41204fc7ebb26731c39600a0c0f1a9e5830e5812 (diff) | |
download | buildstream-2d60e036937de51068bc267d8c0d89332966f6f2.tar.gz |
_elementsources.py: Fix source names in unique keyjuerg/source-cache-key
The goal was to include the source plugin kind in the element cache key
as the unique key of a source may not be unique across different source
plugins. This is the source equivalent of the `element-plugin-name`
value in the element cache key.
However, `Source._get_source_name()` was the wrong method for this as
that also includes the key itself, which may not even be set yet.
This results in a cache key change.
Fixes: 3953bcc6 ("element.py: clobber sources with workspace")
Diffstat (limited to 'tests/cachekey/project/sources/pip1.expected')
-rw-r--r-- | tests/cachekey/project/sources/pip1.expected | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachekey/project/sources/pip1.expected b/tests/cachekey/project/sources/pip1.expected index 8a0bf5881..5c3843182 100644 --- a/tests/cachekey/project/sources/pip1.expected +++ b/tests/cachekey/project/sources/pip1.expected @@ -1 +1 @@ -2b93d5b622a17115bda7f580c05a5d746431c61301cf29f0b36c9b653bf9463d
\ No newline at end of file +d5232928f6420fd95a07cc268f8e3eeb3562fc1162bdb96acc8ea44cc459cc76
\ No newline at end of file |