You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:05:40 UTC

[buildstream] 23/26: _sandboxreapi: append MTimes to Action output properties

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch traveltissues/mr4
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 0283e6b78c59d26bd20fc72f7defd2ebd71bfe2f
Author: Darius Makovsky <tr...@protonmail.com>
AuthorDate: Mon Dec 30 17:01:27 2019 +0000

    _sandboxreapi: append MTimes to Action output properties
---
 src/buildstream/sandbox/_sandboxreapi.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/buildstream/sandbox/_sandboxreapi.py b/src/buildstream/sandbox/_sandboxreapi.py
index 2430fd3..590e4a9 100644
--- a/src/buildstream/sandbox/_sandboxreapi.py
+++ b/src/buildstream/sandbox/_sandboxreapi.py
@@ -69,6 +69,7 @@ class SandboxREAPI(Sandbox):
         command_proto = self._create_command(command, cwd, env)
         command_digest = cascache.add_object(buffer=command_proto.SerializeToString())
         action = remote_execution_pb2.Action(command_digest=command_digest, input_root_digest=input_root_digest)
+        action.output_node_properties.append("MTime")
 
         action_result = self._execute_action(action, flags)  # pylint: disable=assignment-from-no-return