vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

Sync Google Contacts with Nextcloud - No Groups

Open etofi opened this issue 4 years ago • 4 comments

vdirsyncer version: 0.16.7 Python version: 3.8.2

I synchronize my Google contacts with my NextCloud. Works well. The only problem is that the groups are not synchronized.

etofi avatar Apr 02 '20 22:04 etofi

Key issue is that groups are not fetched.

Not sure if the Google API exposes these, if it does, we should fetch them, otherwise, document the caveat.

WhyNotHugo avatar Oct 18 '20 11:10 WhyNotHugo

This seems to be the related issue at Google: https://issuetracker.google.com/issues/36761530

Since there have been no real updates for 6 years now, I assume this is labeled as "wontfix" internally or has a veeeery low priority for them.

One workaround would be to use the people API to retrieve the contact groups and merge this information into the vCard files, but not sure whether it's worth the effort (and also this makes syncing much slower)...

timobrembeck avatar Mar 05 '23 11:03 timobrembeck

Recent Google Contacts showing no Groups, but Labels instead. Also no CATEGORIES in .vcf files created by vdirsyncer

I have tested Google Contacts Web and following:

BEGIN:VCARD
VERSION:3.0
UID:f338aca8-4697-472e-9603-c07ce270fd34
CATEGORIES:category Test
N:;;;;
FN:test
REV:20170215T095802Z
END:VCARD

vcard imported successfully with Label "category Test". Also Successfully exported with the same CATEGORIES. Result:

BEGIN:VCARD
VERSION:3.0
FN:test
N:;test;;;
CATEGORIES:category Test,Imported on 1/11,myContacts
END:VCARD

It could be Google Contacts API limitation or vdirsync.

axet avatar Jan 11 '24 08:01 axet

Based on that last comment, is there anything to be done for this issue, or are groups properly exported as categories.

WhyNotHugo avatar Jan 31 '24 21:01 WhyNotHugo