{ "version": 1, "downstreams": [ { "name": "orisys-sdk-release", "path": "../orisys-sdk-release", "sync": [ {"from": "docs", "to": "docs", "include": ["get_started.md", "api.md"]}, {"from": "examples", "to": "examples", "exclude": ["__pycache__", "*.pyc", "*.pyo"]}, {"from": "config", "to": "config", "include": ["box.json", "finger.json", "mini.json"]}, {"from": "data/calibrations", "to": "data/calibrations", "include": [ ".gitignore", "box/.gitkeep", "mini/.gitkeep", "finger/.gitkeep" ]}, {"from": "sensors", "to": "sensors", "include": [ "box/sensor.json", "box/force_calibration.json", "finger/sensor.json", "finger/manifest.json", "mini/sensor.json" ]} ], "checks": [ "{python} -c \"import pathlib, py_compile; files=sorted(pathlib.Path('examples').rglob('*.py')); [py_compile.compile(str(f), doraise=True) for f in files]; print('compiled %d example module(s)' % len(files))\"", "{python} -c \"import pathlib, sys; bad=[str(p) for p in pathlib.Path('.').rglob('*') if p.is_file() and p.suffix in ('.md','.py') and 'examples/products' in p.read_text(encoding='utf-8', errors='ignore').replace(chr(92),'/')]; print('stale products paths:' if bad else 'no stale products paths'); [print(' ', x) for x in bad]; sys.exit(1 if bad else 0)\"", "{python} -c \"import pathlib, sys; leaked=[str(p) for p in pathlib.Path('.').rglob('*') if p.name in ('publishing.md','pypi_readme.md')]; print('internal docs leaked into the public repo:', leaked); sys.exit(1 if leaked else 0)\"" ] }, { "name": "sensor-bench", "path": "../sensor-bench", "sync": [ {"from": "config", "to": "config", "include": ["box.json", "mini.json", "dd06-ov-0810.json"]} ], "checks": [ "{python} tests/test_smoke.py" ] }, { "name": "finger-bench", "path": "../finger-bench", "sync": [ {"from": "config", "to": "config", "include": ["finger.json", "dd02-ov.json"]}, {"from": "assets/finger", "to": "assets/finger"} ], "checks": [ "{python} tests/test_smoke.py", "{python} -c \"import pathlib; t=pathlib.Path('README.md').read_text(encoding='utf-8'); print('README still mentions examples/products' if 'examples/products' in t else 'README products path ok')\"" ] } ] }