[Bug 35896] Use XDG directories
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 13 17:36:20 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=35896
--- Comment #33 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-09-13 15:36:20 UTC ---
(In reply to comment #21)
> (In reply to comment #5)
> > While we're migrating anyway, this would be a good time to consider a better
> > accounts-file format: would one GKeyFile per account be better?
>
> I think we should do this: it's not difficult.
[citation needed]
I actually never got here...
> (In reply to comment #8)
> > We should store one account per file in a GVariant-based format, probably.
>
> This, on the other hand, is a massive unshaven yak.
Considerable yak-shaving later, Bug #54870, Bug #54872, Bug #54873, Bug #54780
(*), Bug #54874 and Bug #54875 (*) implement this. Branches marked (*) involve
a storage format or content transition, so you can't safely downgrade MC past
the version that introduced them.
If we proceed directly to Bug #54875 (62 commits later) and never make a
release that has this branch merged but Bug #54875 unmerged, we can skip
directly from ~/.mission-control/accounts/accounts.cfg to the GVariant-based
files I wanted all along, and not have to have a migration route via
XDG_DATA_DIRS/telepathy/mission-control/accounts.cfg. This would allow deletion
of maybe 50-100 lines of code.
On the other hand, the hard bits of backwards compatibility are all necessary
anyway, which is why the saving isn't actually very large.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list