Announcing jj-musubi: live sync for Jujutsu
The author announced jj-musubi, a new source control tool that live-syncs copies of a Jujutsu (jj)[1] repository across several machines. Each time jj snapshots the work, jj-musubi syncs it to every machine within moments, and it also syncs commits, rebases and fetches. One machine runs a hub, and daemons exchange history with it over SSH.
Each machine keeps its own working copy, so incoming syncs do not change files under a running build. When the same change is checked out in two workspaces, jj marks it as divergent[2] and does not update either working copy until the user chooses to. Agents on different machines can each use their own workspace, and one machine can run jj diff to see what another agent has done.
The author says the hard part is keeping work safe when machines sleep, lose the network or restart. He used Lean[3] to prove key properties of the network protocol, and tests run real repositories through concurrent edits and interrupted syncs. Builds are provided for Linux, macOS and Windows.
Repository jj-musubi github.com
Open source tool that live-syncs Jujutsu (jj) repositories across several machines via a hub and SSH, so work stays up to date everywhere.
Read the original serpentine.comDiscussion
Discussion
Commenters are mostly enthusiastic, and some say they plan to try the tool or switch to jj. One asked why the hub's data folder sits directly in the home directory instead of a hidden location, and another asked why syncing works at the operation log level rather than the commit log. Another asked whether the whole operation log is synced.
Sources
-
teideal glic deisbhéalach
Announcing jj-musubi: live sync for Jujutsu
-
KRGeekNews KO
jj-musubi 공개: Jujutsu 저장소의 실시간 동기화


