[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-01-17 00:56:59 CET

On Tue, 16 Jan 2007, C. Michael Pilato wrote:

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

Gar, I like the cut of your jib.

It'd be even better if Subversion would read more than one
configuration file (all in the usual format), and overlay the
system-wide configuration with the user-specific configuration file.

> 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

  • application/pgp-signature attachment: stored
Received on Wed Jan 17 00:57:07 2007

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