[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: default mime types in config request

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-01-16 17:41:23 CET

Sheesh. Before doing this, I'd already rather add a new configuration
option 'mime-types-file' which could be used to point an Apache-esque
mimes.conf file that maps types to extensions. Subversion could make
lookup in that file, if present, the default MIME type for a given file.
 Any auto-props settings would override that default.

Thoughts?

(By the way, this could be a prime candidate for a host-wide
/etc/subversion configuration option populated by package maintainers
who know where Apache has been installed on the box.)

Artabase Webmaster wrote:
> hi,
>
> small request here
>
> just wondering if the following mime types can be added to the default
> config file? (just to save others the hassle of putting them in).
>
> #*.gif = svn:mime-type=image/gif
> #*.css = svn:mime-type=text/css
> #*.html = svn:mime-type=text/html
> #*.ai = svn:mime-type=application/postscript
> #*.pdf = svn:mime-type=application/pdf
> ### Microsoft File Extensions
> #*.doc = svn:mime-type=application/msword
> #*.xls = svn:mime-type=application/vnd.ms-excel
> #*.ppt = svn:mime-type=application/vnd.ms-powerpoint
> ### The following file extensions are used by Open Office 2 and Star
> Office 8 and later
> #*.odb = svn:mime-type=application/vnd.oasis.opendocument.database
> #*.odf = svn:mime-type=application/vnd.oasis.opendocument.formula
> #*.odc = svn:mime-type=application/vnd.oasis.opendocument.chart
> #*.ots =
> svn:mime-type=application/vnd.oasis.opendocument.spreadsheet-template
> #*.ods =
> svn:mime-type=application/application/vnd.oasis.opendocument.spreadsheet
> #*.otp =
> svn:mime-type=application/application/vnd.oasis.opendocument.presentation-template
> #*.odp =
> svn:mime-type=application/application/vnd.oasis.opendocument.presentation
> #*.otg =
> svn:mime-type=application/application/vnd.oasis.opendocument.graphics-template
> #*.odg =
> svn:mime-type=application/application/vnd.oasis.opendocument.graphics
> #*.odm =
> svn:mime-type=application/application/vnd.oasis.opendocument.text-master
> #*.oth =
> svn:mime-type=application/application/vnd.oasis.opendocument.text-web
> #*.ott =
> svn:mime-type=application/application/vnd.oasis.opendocument.text-template
> #*.odt = svn:mime-type=application/application/vnd.oasis.opendocument.text
>
>

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Tue Jan 16 17:41:42 2007

This is an archived mail posted to the Subversion Dev mailing list.