镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Get rid of care of Google/Apple contact code #316

Open

Description

@squeaky-pl

Code that reaches to Google/Apple services for contact data is defunct. Remove it.

Note that the code extract contact information from attached contact files (.vcf, .vcard) in emails is working correctly and we don't want to remove it.

Activity

  1. wojcikstefan commented on Feb 18, 2022

    @wojcikstefan
    Member

    Why is that code defunct btw? Is it no longer allowed for integrations to fetch Google/Apple contacts via their APIs?

  2. marcospri commented on Sep 18, 2026

    @marcospri
    Contributor

    I arrived here via looking at this missing names:

    https://github.com/closeio/sync-engine/blob/master/inbox/contacts/google.py#L184

    This is very confusing, it looks like it should fail to load that module but maybe this is not used at all? I'd vote to remove it but ideally understanding what replaces its.

  3. squeaky-pl commented on Oct 20, 2026

    @squeaky-pl
    ContributorAuthor

    Why is that code defunct btw?

    Because we don't enable the threads that import contacts in our setup. I believe the APIs still work but Python libraries sync-engine uses are unmaintained and don't even work on Python 3

    I arrived here via looking at this missing names

    I don't believe we even import this module at runtime because we run sync engine without contacts import enabled. I agree this is suprising and the whole thing should have been nuked long time ago.

  4. wojcikstefan commented on Oct 20, 2026

    @wojcikstefan
    Member

    @squeaky-pl should be easy to get rid of it then, right? Wanna give it a shot?

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions