[Nepomuk] Review Request 109676: Load ontologies from different locations and update alwys to the newest

Jörg Ehrichs joerg.ehrichs at gmx.de
Mon Mar 25 12:08:22 UTC 2013



> On March 25, 2013, 11:57 a.m., Vishesh Handa wrote:
> > I'm just not sure. Eventually we should move to a version based system, cause that would be more secure. Also the problem that we were having seems more like an installation issue that anything else.
> > 
> > I'm worried about the case where the old ontology might have a never mtime. This can happen in my case when I'm running master full time and then I decide to update my distro KDE version. The ontology files installed by nepomuk-core (master) would then get outdated by the nepomuk-core 4.10.2 release, even though my XDG path has been set to let nepomuk-core (master) take precedence over nepomuk-core (distro)

That's what I was asking about on IRC the other night.

I'll have another patch, that checks installed version of any ontology against the version set in the .ontology file.
Usually the mtime of this file was checked instead.

We just need to make sure, the version number there is always updated correctly than.
Because there is a second versions number in the .trig file, together with additional info like "is it upgrade able" etc.
But parsing this info might be more complicated.

What do you think?


- Jörg


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109676/#review29854
-----------------------------------------------------------


On March 23, 2013, 6:31 p.m., Jörg Ehrichs wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109676/
> -----------------------------------------------------------
> 
> (Updated March 23, 2013, 6:31 p.m.)
> 
> 
> Review request for Nepomuk and Vishesh Handa.
> 
> 
> Description
> -------
> 
> Load ontologies from different locations and update alwys to the newest
> 
> This removes KStandardDirs::NoDuplicates from the ontology loader.
> 
> So if the same ontology is installed twice to teh system both will be
> picked up. If the second ontology is newser (timestamp) it will
> override the first one.
> 
> 
> Diffs
> -----
> 
>   services/storage/ontologyloader.cpp 80fe686b213b930c88cf363bf4fd47cabc9b2076 
> 
> Diff: http://git.reviewboard.kde.org/r/109676/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jörg Ehrichs
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130325/5711c540/attachment.html>


More information about the Nepomuk mailing list