Skip to main content
scripts/sync_live_stream.sh · chapter Tests and team tooling, file 26 · 74 lines · open in the repository

What it does

Copy what the cloud streamer runs into the project branch of the team’s private live-stream repository on github.com (decision 0015), so its workflow needs no access to github.sfu.ca. The copy is only what scripts/demo_live.sh needs: src/, config/, clean/master.parquet (the replay’s input), the demo script, requirements.txt and pyproject.toml. The model comes from Hugging Face. Runs after each commit on main (scripts/install_git_hooks.sh), like the docs and dashboard syncs. The address comes from: git config calendar-effects.streamerRemote (the installer sets it). Without it, it does nothing. An https address signs in with the GitHub CLI (gh auth login). scripts/sync_live_stream.sh copy and push (main only) scripts/sync_live_stream.sh —into DIR only write the files into DIR (the tests use this)

Source

scripts/sync_live_stream.sh