auto-sync 2026-07-04T05:35:30Z workspace
Browse files- workspace/README.md +5 -0
workspace/README.md
CHANGED
|
@@ -370,6 +370,8 @@ Legacy DOVLA training/eval:
|
|
| 370 |
HF sync and operations:
|
| 371 |
|
| 372 |
- `scripts/hf_push_once.sh`: one-shot HF upload of workspace/scratch roots.
|
|
|
|
|
|
|
| 373 |
- `scripts/hf_push_every_15m.sh`: local 15-minute HF sync daemon.
|
| 374 |
- `scripts/hf_sync_daemon.sh`: alternate daemon wrapper.
|
| 375 |
- `scripts/auto_sync_hf.py`: legacy auto-sync helper.
|
|
@@ -784,6 +786,9 @@ Use:
|
|
| 784 |
|
| 785 |
Avoid uploading secrets. The sync scripts exclude `.env`, token/secret/key
|
| 786 |
patterns, virtualenvs, git internals, containers, and native library folders.
|
|
|
|
|
|
|
|
|
|
| 787 |
|
| 788 |
## Development Rules
|
| 789 |
|
|
|
|
| 370 |
HF sync and operations:
|
| 371 |
|
| 372 |
- `scripts/hf_push_once.sh`: one-shot HF upload of workspace/scratch roots.
|
| 373 |
+
It also removes stale remote Markdown by default, keeping only
|
| 374 |
+
`workspace/README.md` unless `HF_SYNC_REMOTE_MARKDOWN_KEEP` is changed.
|
| 375 |
- `scripts/hf_push_every_15m.sh`: local 15-minute HF sync daemon.
|
| 376 |
- `scripts/hf_sync_daemon.sh`: alternate daemon wrapper.
|
| 377 |
- `scripts/auto_sync_hf.py`: legacy auto-sync helper.
|
|
|
|
| 786 |
|
| 787 |
Avoid uploading secrets. The sync scripts exclude `.env`, token/secret/key
|
| 788 |
patterns, virtualenvs, git internals, containers, and native library folders.
|
| 789 |
+
They also enforce the README-only Markdown policy on the Hub by deleting
|
| 790 |
+
remote `*.md` files except `workspace/README.md` after each successful sync.
|
| 791 |
+
Set `HF_SYNC_CLEAN_REMOTE_MARKDOWN=0` only for a deliberate temporary override.
|
| 792 |
|
| 793 |
## Development Rules
|
| 794 |
|