Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Google Contacts with Nextcloud - No Groups #814

Open
etofi opened this issue Apr 2, 2020 · 4 comments
Open

Sync Google Contacts with Nextcloud - No Groups #814

etofi opened this issue Apr 2, 2020 · 4 comments

Comments

@etofi
Copy link

etofi commented Apr 2, 2020

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.

@WhyNotHugo
Copy link
Member

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.

@timobrembeck
Copy link
Contributor

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)...

@axet
Copy link

axet commented Jan 11, 2024

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.

@WhyNotHugo
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants