diff options
author | Jürg Billeter <j@bitron.ch> | 2019-02-01 11:11:59 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-02-13 11:48:45 +0100 |
commit | 925429ea2e03576eaf8729fafd64f326f3b963a6 (patch) | |
tree | 33b1862fd30430dfe9da94e5af56cf835882f428 /tests/cachekey/project/sources/local1.expected | |
parent | c7625cdfab71248ced7e4623b7fc1cf4ca97db52 (diff) | |
download | buildstream-925429ea2e03576eaf8729fafd64f326f3b963a6.tar.gz |
utils.py: Return all directories in list_relative_paths()
Returning only empty directories leads to inconsistencies when computing
a manifest by combining results from multiple list_relative_paths()
calls as done by the compose plugin.
I.e., the same directory may be empty in one dependency and non-empty in
another dependency. The merged file list will still contain that
directory even though it's no longer empty.
This inconsistency causes problems when calculating differences between
manifests. Returning all directories fixes these inconsistencies.
This is a change in API behavior.
Diffstat (limited to 'tests/cachekey/project/sources/local1.expected')
-rw-r--r-- | tests/cachekey/project/sources/local1.expected | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachekey/project/sources/local1.expected b/tests/cachekey/project/sources/local1.expected index 02a5f7534..fd349363e 100644 --- a/tests/cachekey/project/sources/local1.expected +++ b/tests/cachekey/project/sources/local1.expected @@ -1 +1 @@ -2fb0c6421eab90746ae724e0b0b4960591443e500225b75f1b71ceeaa61db8d8
\ No newline at end of file +02f863aedaf175f4b4bb9979a538bd1fb6eabd0ef9d77a633b141c072d957df5
\ No newline at end of file |