--Michael
> I wanted to make things simple, - eventually I will pull all mention
> of kOM* out of the code.
I think this makes things more complicated. In the short term, the
code is more complicated because you're migrating data that doesn't
really need to be migrated. Longer term, you'll have to break
compatibility (bad) or continue checking and writing multiple
redundant locations forever (slow). If 10.7 makes another change, are
you going to rename the keys again? I think it would be much better to
have a fixed location (org.openmetainfo:kOMUserTags) that apps can
rely on remaining the same.
--Michael
> I will look at it more.
Hi Tom,
Did you change this for the final version of Yep 2.0?
--Michael
> I decided to keep it using kMDItemOMUserTags.
>
> Since saving files in NSDocument based apps now wipes out the xattrs
> on a file, with kMDItem* restored, it seems that it is now only a
> useful system for data that is stored in kMDItem* keys.
That seems irrelevant to me. Whether the system is deleting or
restoring in the com.apple.metadata domain is unrelated to
org.openmetainfo. In fact, one of the reasons for creating
org.openmetainfo was to isolate us from changes that Apple might make
to the OS.
> Now it seems that OpenMeta should only be used for data that is
> mirrored into spotlight. Having keys with the kOM names suggests
> otherwise.
Suggests to whom? Why does it matter? As far as I can tell, users gain
nothing from this change. But having an unstable specification reduces
interoperability and performance.
--Michael
--
You received this message because you are subscribed to the Google Groups "OpenMeta" group.
To post to this group, send email to open...@googlegroups.com.
To unsubscribe from this group, send email to openmeta+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeta?hl=en.
If you stop running it by default, you're going to have a few users
who return to using your app that aren't going to be able to access
their old tags. Also, AFAIK Tags and MailTags aren't using the new
kMDItemOM* attributes, are they? So to maintain compatibility,
doesn't the upgrade process have to be run for the forseeable future?
I have right now 2 copies of Leap 2.5 running, plus Yep 2, and mdsis idling at 0 - 0.2 %. I was under the impression that mds wasalways running on every system?I have noticed that it uses memory - but I think it is of the cachevariety - it keeps things in memory for faster searching.
Yes, it's always running and doesn't present much overhead in normal
operation. The big hangup is that the initial run of
upgradeOpenMetaTokMDItemOM kicks off a very long process. This is
especially true if the person is using MailTags, which seems to add
tags to _every_ email in their mailbox.