On Wed, 10 Feb 2010 16:03:17 +0100, Martyn Russell <[email protected]>
wrote:
> On 09/02/10 21:31, Adrien Bustany wrote:
>> Hi all,
> 
> Hi all,
> 
> I generally like most the proposals, but I do have one suggestion.  That

> being that we don't store a desktop file at all :) but simply link to a 
> desktop file instead. Keeping mime types in two places for applications 
> feels like duplication to me. I would much rather have something like
this:
> 
> [Extractor]
> DesktopFile=/path/to/desktop/file.desktop
> ShouldReindex={1|0}
I didn't get what desktop file do you want to link to ?

> 
> This way we can simply use:
> 
>    - Tracker internals to get information about the desktop file
>      information
>    - Simple file lookups to get desktop file information that already
>      exists.
> 
> The ShouldReindex is a simple toggle to know if we need to start a 
> reindex or not. You could possibly change this to ShouldIndex=mimes so 
> you only handle particular mimes? (not sure if that makes sense though).
It probably makes sense for an extractor that handles several types (eg.
the gstreamer one)

> 
> You might want a name for the extractor which is not the same as the 
> name in the desktop file it points to, but generally I wouldn't think 
> that's necessary.
> 
> The MD5SUM idea isn't bad but I don't think we really need version in 
> here do we? I am not apposed to it, it just feels like more data to keep

> up to date and worry about.
> 
> If we agree to this proposal, then we can also consider using one file 
> with a group for each extractor with the above keys to avoid the extra 
> files/etc.
> 
> Thoughts?
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to