Using SVN to synchronize address books in multiple opera installations
Wednesday, July 16, 2008 10:02:27 AM
Today I started using an SVN repository to keep my Opera address books synchronized between my Desktop and Laptop.
Basic idea: put the contacts.adr file into a repository and automatically merge the changes in either address book.
Steps to get it set up:
1. use/create svn repository, at best on some server
2. check out the repository on all machines you want to use the same address book
3. on one machine, add your contacts.adr to the repository and commit the data to the repository
4. update the repo on all machines
5. in each opera installation, open the config pages with the URL opera:config and select the contacts.adr file in the local repository
6. manually merge your addresses from your old contacts.adr file into the local repository (for instance using a tool like WinMerge) and commit the changes to the repo
Using the repository based contacts.adr to keep your addresses synchronized:
- work with opera as usual on each machine
- one in a while do an update/commit to the repository
That's it.
Basic idea: put the contacts.adr file into a repository and automatically merge the changes in either address book.
Steps to get it set up:
1. use/create svn repository, at best on some server
2. check out the repository on all machines you want to use the same address book
3. on one machine, add your contacts.adr to the repository and commit the data to the repository
4. update the repo on all machines
5. in each opera installation, open the config pages with the URL opera:config and select the contacts.adr file in the local repository
6. manually merge your addresses from your old contacts.adr file into the local repository (for instance using a tool like WinMerge) and commit the changes to the repo
Using the repository based contacts.adr to keep your addresses synchronized:
- work with opera as usual on each machine
- one in a while do an update/commit to the repository
That's it.







mogelupa103 # Tuesday, August 12, 2008 3:05:08 PM
I used to do that, too. However I realized that updating to Opera 9.5 added a new "uniqueid" field to the adr files. However these are different on each machine.
I cannot find any information on these uids on the Opera site except the mention that "Opera identifies bookmarks by a Universally Unique Identifiers (UUID), not names or addresses. A UUID is a long number which is designed to be genuinely unique, thereby "Universally". Because of this, there is no way for two Operas to generate the same ID even if the address of the bookmark is the same." on http://my.opera.com/desktopteam/blog/my-opera-synchronization-explained?startidx=150
How will this affect synchronization?
What happened with my files is this:
Folders get a uniqueid which is different on each computer.
This gives me unresolved conflicts on every folder
One computer reset all ids which are now different from the other one. I have no idea what caused this. Now the Next contact ids are out of sync on both computers. Shold I synchronize to the higher or lower ids?
I am reluctant to continue synchronization because I do not really understand what happens.
Any help would be appreciated.