Cache Key Dictionary Changes
Background
https://mail.gnome.org/archives/buildstream-list/2019-July/msg00004.html
Formalize a public specification for the cache key dictionary
The element.py
cache key dictionary should have a formal public specification to ensure maximal key value/performance.
Tasks
-
Make field changes summarised at list -
remove context
-
remove project
-
remove cache
-
rename artifact-version
tocore-artifact-version
-
rename execution-environment
tosandbox
-
-
Replace element
withelement-plugin-key
,element-plugin-name
, andelement-plugin-version
. -
Split dependencies into dependency-keys-strong
anddependency-keys-weak
-
Replace sources with a list of dictionaries of name, version, and key. This may be overwritten by the values of workspaces
which is removed.
Edited by Darius Makovsky