[Nepomuk] Re: Akonadi-Nepomuk feeder port to SimpleResource api

Sebastian Trüg trueg at kde.org
Tue Jul 26 13:39:16 CEST 2011


On 07/26/2011 12:00 AM, Christian Mollekopf wrote:
> On Sat, 23 Jul 2011 15:39:56 +0200, Sebastian Trüg <trueg at kde.org> wrote:
> 
>> without looking at the code yet:
>>
>> thanks a lot for doing this. And:
>>
>> On 07/22/2011 01:31 AM, Christian Mollekopf wrote:
>>> -replaced any usage of NepomukFast and with SimpleResource api
>>> -Removed the nepomukFeeder class, which was only needed because of the
>>> template stuff
>>> -added NepomukFeederUtils namespace which contains some helper functions
>>> which don't belong into NepomukFeederAgentBase
>>> -removed everything else from NepomukFeederAgentBase which doesn't
>>> belong there and moved to the correct location (actually only
>>> findOrCreateContact that is)
>>
>> AFAICS there is no need for findOrCreateContact anymore. You simply
>> throw the contact at DMS multiple times and it will be merged properly.
>>
> Right. Will this also work if we set the uri of the created resource  
> (which will be merged),
> as property on another resource?

Yes, objects are also identified.

>>> If it looks more or less ok, I'll commit so we can work from there.
>>
>> I will try to have a look these days.

I started to have a look. So far I only found the Symbol problem
(setting nao:hasSymbol to a string will not work) which I think you
already discussed on IRC.

Cheers,
Sebastian


More information about the Nepomuk mailing list