9141817867
gates / gates (push) Successful in 24s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
10 lines
396 B
Python
10 lines
396 B
Python
import sys, time, walk as w
|
|
head = sys.argv[1]; w.login()
|
|
for k in range(40):
|
|
w.sync_rescan()
|
|
got = w.guest("cd /var/lib/docker/volumes/felhom-controller-data/_data/data/catalog-cache && git rev-parse --short HEAD").strip()
|
|
if got.startswith(head[:7]):
|
|
print(f"box clone at {got} after {k+1} sync(s)"); sys.exit(0)
|
|
time.sleep(8)
|
|
sys.exit("box never caught up to " + head)
|