Optional support for file timestamps in NodeProperty
Context
Optional file timestamp support has been added to upstream REAPI: https://github.com/bazelbuild/remote-apis/pull/91 + https://github.com/bazelbuild/remote-apis/pull/102
This needs to be supported in buildbox-casd for incremental workspace builds in BuildStream.
Task Description
-
CaptureTreeimplementation must support properties (at leastMTimemtimes fromCaptureTreeRequests) - this is essentially just a call tomake_nesteddirectorywith support for mtimes in the FileNodes -
support properties in StageTreeimplementation: ie. anticipate Files having properties while staging -> caller ofLocalCasInstance::stage()->FileStager::stage()->FileStager::stageDirectoryforFileStager::stageFile -
set file mtimes in staging
nb. this should be optional by virtue of the properties being optional in CaptureTree
Edited by Darius Makovsky