Spaces:
Paused
Paused
fix: exclude .cache from rsync save (HF API rejects .cache/ paths)
Browse filesupload_folder fails with: cannot update files under a '.cache/' folder.
Add .cache to SAVE_EXCLUDES so these paths never reach the dataset.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 unmodified lines42434445464741 unmodified lines"/etc/nginx", # comes from Docker image; don't overwrite with stale config"/etc/ssh/sshd_config","*.sock", "__pycache__", "*.pyc",]UPLOAD_IGNORE = [41 unmodified lines4243444546474841 unmodified lines"/etc/nginx", # comes from Docker image; don't overwrite with stale config"/etc/ssh/sshd_config","*.sock", "__pycache__", "*.pyc",".cache", # HF API rejects files under .cache/ paths]UPLOAD_IGNORE = [
ubuntu-server/git_sync_daemon.py+1