Matthew Hambley <matthew@aether.demon.co.uk> writes:
> In message <20030306163030.7A381F917@tater>
> Paul Lussier <pll@lanminds.com> wrote:
>
> [snip]
> > Btw, I don't know how much this will help, but as I was perusing the
> > latest issue of Linux Journal, they made mention of freedesktop.org.
> >
> > A quick perusal of this site reveals this URL:
> >
> > http://www.freedesktop.org/standards/shared-mime-info.html
<snip>
> In mime.types all extensions for a given MIME type appear on one line.
> e.g. "text/html htm html" Whereas with this new standard they appear on
> different lines at arbitrary points in the file. e.g. "text/html:*.html",
> "text/html:*.htm" Set against this is the fact that this lookup will only
> happen on file adds (and imports) so a small performance hit may be
> acceptable.
Hmm. I think someone would really have to convince me that this format
has some kind of advantage over the standard mime.types. As you say,
without a corresponding library to access it, I see no real huge
advantage of this file.
> Using this file would also introduce another dependency into Subversion.
>
> My plan for a first cut at this problem was to implement a simple extension
> to type mapping. This should be simpler than scanning the files for magic.
> It will give us a chance to try out the feature. If it proves useful
> and/or the simple approach is insufficient then a more complicated one
> could be tried.
>
> Does anyone have any comments to make on the use, or not, of this map file
> format over mime.types?
I'd say just code it up using mime.types and we'll go from there.
Seems like a bikeshed at this point--undoubtedly other bits of this
implementation will cause much conversation. :)
-Fitz
--
Brian W. Fitzpatrick <fitz_at_red-bean.com> http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 7 21:12:00 2003