[Kde-pim] The road to KMail/Akonadi

Kevin Krammer kevin.krammer at gmx.at
Sun Dec 14 11:38:29 GMT 2008


On Saturday 13 December 2008, Ingo Klöcker wrote:
> On Saturday 13 December 2008, Thomas McGuire wrote:

> > OTOH, the current KMail codebase is hardly fixable, the storage layer
> > is a complete mess. Unfortunately, almost everything in KMail depends
> > on that storage layer, so fixing or porting this in small tasks is
> > very hard. And this way, a lot of ugly hacks and historical bad code
> > would stay in.
>
> Exactly. That's why I favor a radical cut over a gradual transformation.
> Also I believe it will take more than one release cycle to port KMail
> to Akonadi and I don't think there's an easy way for supporting a
> gradual transformation as there is with Kevin's KResource bridges for
> KAddressBook and KOrganizer.

Just for the record: at some point I considered doing such "mail bridge" based 
on the dimap support in KMail, but based on Thomas' feedback on the state of 
the storage code made me drop the idea.

While it might be technically possible to do such an adaptor, I estimate that 
it would actually take more time than to reimplement the rest as real native 
Akonadi using code.

The bridges for KResources mostly make sense because the KResource API has to 
be supported for the KDE4 cycle. The possibility of separating data and 
application migration is basically just a side effect.

Based on my experience with mapping between Akonadi and these other 
access/storage models I strongly recommend doing a clean native Akonadi 
implementation even if it means working in a branch or new product for more 
than one KDE release.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081214/6b9cb31f/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list