Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
@@ -17,6 +17,12 @@ files = sorted(
|
||||
for p in folder.rglob("*")
|
||||
if p.is_file() and not p.is_symlink() and "__pycache__" not in p.parts
|
||||
)
|
||||
files.extend((root / "apps/control-station/public/vendor/playcanvas/draco/1.5.7").glob("*"))
|
||||
# The canonical Rover 006 asset is shared with PlayCanvas, not a second model.
|
||||
for profile in (root / "simulation/ai-polygon/robots").glob("*.json"):
|
||||
asset = root / json.loads(profile.read_text())["visual"]["source"]
|
||||
if asset not in files:
|
||||
files.append(asset)
|
||||
manifest = {
|
||||
p.relative_to(root).as_posix(): hashlib.sha256(p.read_bytes()).hexdigest() for p in files
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user