After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658585 - Support adding contacts from vCards
Support adding contacts from vCards
Status: RESOLVED WONTFIX
Product: folks
Classification: Platform
Component: libfolks
git master
Other Linux
: Normal enhancement
: Unset
Assigned To: folks-maint
folks-maint
Depends on:
Blocks: 656782
 
 
Reported: 2011-09-08 17:04 UTC by Travis Reitter
Modified: 2014-08-12 23:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Travis Reitter 2011-09-08 17:04:20 UTC
Bug #656782 would ideally be solved by some nice API in Folks to "deep add" a contact given their vCard.

Eg, with a vCard like:

FN:Foo Bar
X-JABBER:foo@example.org
EMAIL:foo@bar.example.org

we would create the entry in EDS but also add foo@example.org to an appropriate Tpf.PersonaStore.

So we'll need machinery to check which PersonaStores can do something special for any given field (eg, a Telepathy PersonaStore adding a contact (to a given contact list)). Note that this gets a bit more complicated - X-JABBER:foo@example.org should only be added to an XMPP account's contact list, so we'll need PersonaStores to advertise specific capabilities.

And we'll need to report back the options. Eg, Foo Bar may be a business contact I don't want to add to my personal Jabber account, so we'll need to give options for the client to report to the user.

Ie, this isn't quite a trivial feature (to get right).
Comment 1 Erick Perez Castellanos 2014-04-08 18:09:24 UTC
Can we start by just trying to add the proper fields to the Persona belonging to the default/writable backend ?
Comment 2 Philip Withnall 2014-08-12 23:11:16 UTC
Thinking about this, are there any properties which need to be imported to specific backends, *apart* from IM addresses? I can’t see any.

In that case, and because this would need heavy UI integration, I wonder if it’s better to keep this out of folks, and just implement it directly in gnome-contacts. If it turns out that some of the code is good to be reused in folks, we can always move it across.

⇒ WONTFIX.