cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS sync and versioning

djaevla2
Champ in-the-making
Champ in-the-making
Environment: Windows 7 64bit, CmisSync 1.0.7; Alfresco 4.2.d Ubuntu 12.04 Tomcat 6 64bit, connected through Apache mod_jk

hello,
when I use CmisSync (www.cmissync.com) - what worked fine -, but no new version would be created on the server side. So if I changed a local document, cmissync uploads them to the server but overwrite the file instead create a new version. The versioning from alfresco shares website works fine, because if I create a new version manually it worked. The Document has the aspect versioning and for test reasons I set "version.store.enableAutoVersioning" to "true", but no effect at all. Also the contentModel porperties are not changed, all is set to true.

Is this a problem with CMIS configuration? Can anyone help me?


PS: I think in an earlier version of alfresco the versioning over cmissync works fine.

Thanks for helping…

2 REPLIES 2

eshinn
Champ in-the-making
Champ in-the-making
Hi djaevla2,

I've been looking at this as well. It's how CMIS-Sync current works (from what I've also experienced). You are correct in that CMIS-Sync simply overwrites the files. AlfrescoSync on the other hand does indeed update the files' version number (minor version number only). However, I've also noticed that it doesn't allow me to place version "Comments."

What's nice about CMIS-Sync over AlfrescoSync is that it allows me to sync ANY folder on the system where as AlfrescoSync only allows "Site" folders.

What I think would be absolutely fantastic is if:
1. Sync files from any folder/site or even specific folder within a site (ex. if there's a 30-gig video file in a project that the video guy is editing, I don't want to download 30 gigs every time the guy clicks "save").
2. Set sync time frequency (check every 5sec, 30sec, 1min, etc - like CMIS-Sync allows)
3. Be able to right-click and say "Check-Out" so that it locks the file on the server (Like Adobe Drive CC does)
4. Allow me to delay upward-sync until I "commit" - this way I'm not upping the minor-version number every time I click "save"

It's still beta so I have hopes.

nicolasraoul
Star Contributor
Star Contributor
CmisSync has improved a lot recently, and does not overwrite documents anymore. When you save a file on your PC, it is stored as a new version on Alfresco.

About your "would be absolutely fantastic" section:

1. You can actually exclude a particular folder (for instance "Videos") from sync, by editing the configuration file. The syntax is <ignoreFolder path="/Videos" />
2. You can choose sync frequency using a slider, from 5sec to 1 day and everything in between. You can choose different frequencies for different folders.
3. Doable using the CmisSync Business context menu, check the screenshots and explanation <a href="http://cmissync.com/get/">here</a>
4. Good idea! How do you suggest showing this in the UI? How to make sure people don't forget to commit?

Happy syncing!
Nicolas Raoul