@@ -1691,7 +1691,7 @@ def prepare_command(args):
16911691 if log .isEnabledFor (DEBUG3 ):
16921692 log .debug ("QUERY: %s" , json .dumps (query_data , indent = 2 ))
16931693 else :
1694- log_excludes = ("source_path" , "hash_extra_paths" , "paths" )
1694+ log_excludes = ("source_path" , "hash_extra_paths" , "hash_internal" , " paths" )
16951695 qd = {k : v for k , v in query_data .items () if k not in log_excludes }
16961696 log .debug ("QUERY (excerpt): %s" , json .dumps (qd , indent = 2 ))
16971697
@@ -1704,6 +1704,7 @@ def prepare_command(args):
17041704 hash_extra_paths = query .hash_extra_paths
17051705 source_path = query .source_path
17061706 hash_extra = query .hash_extra
1707+ hash_internal = query .hash_internal
17071708 recreate_missing_package = yesno_bool (
17081709 args .recreate_missing_package
17091710 if args .recreate_missing_package is not None
@@ -1723,6 +1724,8 @@ def prepare_command(args):
17231724 content_hash = bpm .hash (hash_extra_paths )
17241725 content_hash .update (json .dumps (build_plan , sort_keys = True ).encode ())
17251726 content_hash .update (runtime .encode ())
1727+ for c in hash_internal :
1728+ content_hash .update (c .encode ())
17261729 content_hash .update (hash_extra .encode ())
17271730 content_hash = content_hash .hexdigest ()
17281731
0 commit comments