> 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)
> 
> Jörg Ehrichs wrote:
>     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?

Yeah. The question is - should we change this at all? Or should be just 
continue with the current version? Most people shouldn't have more than 1 
version of the ontologies installed.


- Vishesh


-----------------------------------------------------------
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
> 
>

_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to