pimutils / pimutils/vdirsyncer
Question/Feature request: Sync/merge contacts from a Google/iCloud .vcf export/backup
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 185
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 1
Description
I'm looking to find out if import/sync can be done between a unified .vcf file obtained as export/backup from Google/iCloud/etc.
I presume the singlefile storage type was created for this, but using a config file: ~/.config/vdirsyncer/config:
[general]
status_path = "~/.vdirsyncer/status/"
[pair alex_contacts]
a = "contacts_local"
b = "google_backup"
collections = ["from a", "from b"]
metadata = ["color"]
[storage contacts_local]
type = "filesystem"
path = "~/.contacts/"
fileext = ".vcf"
[storage google_backup]
type = "singlefile"
path = "<path to google export of contacts file>.vcf"
Having output:
$ vdirsyncer -v DEBUG discover
Discovering collections for pair alex_contacts
contacts_local:
google_backup:
Saved for alex_contacts: collections = []
vdirsyncer version: 0.19.1
Server: iCloud/Google export/backup as .vcf
Python version: 3.10.10
OS: arch
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the singlefile storage documentation linked in the issue and reproduce the supplied configuration with vdirsyncer -v DEBUG discover. Trace how the filesystem and singlefile storages enumerate collections; done means establishing whether a unified .vcf export is supported and documenting the required behavior, or defining the feature scope and tests if it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100