[Kde-pim] How to resolve Item/Collection from ID?

Ben Cooksley bcooksley at kde.org
Wed Apr 24 21:09:08 BST 2013


On Apr 25, 2013 4:56 AM, "Kevin Krammer" <krammer at kde.org> wrote:
>
> On Wednesday, 2013-04-24, Jonathan Marten wrote:
> > Kevin Krammer <krammer at kde.org> writes:
> > > If you only have an id it could be both. If you know it is an item a
> > > simple Item item(id);
> > > (same for collection) followed by the respective fetch job.
> >
> > Thanks Kevin (and Christian for the same advice).  I'd been wondering
> > if there was a way to do this without potentially having to run two
> > fetch jobs, but obviously not.
>
> Just to be clear: if you don't know what kind of entity you are
addressing,
> then you could end up with an item and a collection.
>
> > > [1] git://anongit.kde.org/scratch/krake/akonadiclient
> >
> > Hmmm, looks like you started on the same idea last year (although your
> > command name has 3 more letters than mine :-)  Do you mind if I take
> > that framework and extend it?
>
> Not at all :)
>
> I requested that the repository be moved to playground, as I think only I
can
> push into my scratch repository.
> I'll let you know when it has been moved.

Just as a clarification, anyone can push into repositories in others
scratch and clone namespaces. What they cannot do is create or delete
branches or create new repositories in others namespaces.

>
> Cheers,
> Kevin

Regards,
Ben

> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
> _______________________________________________
> 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/
_______________________________________________
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