A file sync client that uses a Subversion repo as a backing-store (in a simple Apache2 server via its WebDAV api), and does not have any other server-side install. It is written in Python, works on Windows, Mac and Linux, and does not depend on a Subversion install on the client.
It has been tested with files up to 12GB in size (made of random bytes). It has also been tested with a Subversion repository holding 3.4TB of history.
Corporates would be attracted to this, if they:
- Prefer to deploy their own server storage (public or private cloud, on-premises, SBCs in the LAN, Docker containers), rather than trust an online service.
- Want a file-sync solution with strong versioning, that's good enough for audits.
- Already have a subversion instance somewhere
- Don't want to be charged usage fees, however small.
- Imagine a bunch of workflows around documents, who can edit them, how long for, and integrations with other applications and services.
- Mind the lack of mobile device clients (for now)
(Home deployers might like it for many of the same reasons)
There have not been any releases yet, but Subsyncit certainly works if you've checked it out and launched it from the command line
- Client - a workstation, laptop or mobile device.
- Server - a computer on which a suitable Subversion is installed (Mod_Web_Dav, SVNAutoversioning 'on', and others on).
- Remote Subversion Repository (or repo) - on the server, a configuration of subversion that can take commits for so-authorized people.
- Local Sync Directory - on the client a single directory, the contents for which will synchronized up and down to the remote Subversion repo.
There are none as Subsyncit does not have a user interface (yet).
- Brings down added/changed/deleted files from the remote Subversion repo to the client's local sync directory.
- Pushed up added/changed/deleted files from your client's local sync directory to the remote Subversion repo on the server.
- Several people can maintain separate local sync directories and share files on a remote Subversion repo.
- The server always wins; the software simply renames the local file out of the way. Though there's a possibility that for text-forms a three-way merge could be performed (TODO)
- Keeps an audit trail (historical versions)
- Whole directory trees can be checked out en-masse, worked on, and committed back (per normal Svn workflow)
- Branches are a configuration choice for novel usages.
- Subversion speaks WebDAV meaning very simple client technologies can connect
- Subversion allows direct remote access to any resource (or history of the same) without a clone and without a lasting cost to the server
- Subversion allows Per-directry read and read+write permissions. So does Perforce.
- Does not maintain a working-tree (or 'working copy' or 'checkout') on the client.
- there's no .svn/ folder(s).
- therefore there is only one version of each file on the client system, which is important for large binaries
- No Subversion install on client (if that wasn't obvious)
- Two-way syncing of add/changes/deletes, including directories, and timer based polling of remote Subversion repo for changes over time.
- Deliberate 'quiet time' after a local change detected, in in order to not push a partially complete file-write to the remote Subversion repo.
- Fallback mechanism to detect local sync directory adds/changes/deletes that were not detected or pushed previously.
- Clash detection using
sha1
- the server always wins, the local changed version is renamed out the way (see above) - Ability to reject an incompatible web server - it silently just tries again later (needs work).
- Standard exclusions via file suffix.
- UI for prompting user's Subversion id/password.
- Tray/task bar icon/status.
- Multiple sync directories (more than one server URL).
- Directory mask (globbing includes/excludes) per user.
- Percolation of read-only bits for situations when the end user if not permitted to PUT a file back if the change it. (Rasied with the Subversion dev team: SVN-4691).
- Hidden unzipping of MS Office documents on the server side. I've mulled this before and discussed it with the Subversion team, but will have to implement it client side.
- Merkle-tree behavior for subscription to changes
- Can this work with any WebDAV server? - No, it is tied to Subversion for now.
- Can it work with Subversion installs that are part of Assembla or RhodeCode's platforms? Yes, with two small changes to config.
- Is this 'decentralized'? - No, it is client server
- Does it have failover, DR, replication on the server side? No, that'd be additional setup (watch for how-to's later)
- Client Setup <-- this is all you need to read if you're trying out Subsyncit.
- Server Setup
- Contributing to Subsyncit
Subversion has a hidden Merkle-tree which this tech relies on. If you're super interested, I've blogged on Merkle trees generally: 1, 2, 3.