[Bug 24897] asses what to do about profiles

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 4 20:03:42 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=24897

--- Comment #5 from Andre Moreira Magalhaes <andrunko at gmail.com> 2010-08-04 11:03:42 PDT ---
Here is a summary of what was agreed on IRC regarding profiles:

- Profiles files will be searched in $XDG_DATA_HOME, defaulting to
($HOME/.local/share if unset), followed by colon-separated paths from
$XDG_DATA_DIRS (defaulting to /usr/local/share:/usr/share if unset) for the
files named telepathy/profiles/$service-name.profile

  If while traversing search dirs we find a profile for a given service, all
subsequent profiles found for the same service should be ignored.

  The filename must be the same info return by Account.ServiceName, meaning
that
for "main" CMs (each platform is responsible for defining what are the "main"
CMs) this should be the service name as is, for example gabble should  just
google-talk, while for non "main" CMs the filename must be named
service-name-$something, where $something should be an unique identifier (CM
name probably), to avoid name collisions).

  The file format defines the service with an xml element <service> with a
atrribute "id" (e.g. <service id="google-talk"> where id MUST match the
filename or it will be considered syntax error. This redundant info is useful
for example when users download profiles whose filenames cannot be guaranteed,
meaning that in this case if the filename is not the same as what is defined in
the element service attr id, the file MUST be renamed before installation.

  The file is a XML file that follows an specific format. Vivek is working on
updating the file format with the changes we agreed on IRC.

  See IRC log for more details.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list