On Tue, 19 May 2020 at 20:54, Craig Russell <apache....@gmail.com> wrote:
>
> I've seen a number of emeritus files with the wrong svn:mime-type. They are 
> fixed now (I think) but does the new secretary workbench set the mime-type 
> for new documents received?

Whether the mime-type is set depends on the file type.

> There are a number of places where the mime-type could be set. Can someone 
> take a look?
>

The subversion client uses the following config files:

/etc/subversion/config
which can be overridden by
~/.subversion/config

AFAICT /etc/subversion/config is set up by the Puppet file:

modules/subversionclient/files/config

which contains the following mime types
*.doc = svn:mime-type=application/msword
*.gif = svn:mime-type=image/gif
*.gz = svn:mime-type=application/x-gzip
*.ico = svn:mime-type=image/x-icon
*.jpg = svn:mime-type=image/jpeg
*.pdf = svn:mime-type=application/pdf
*.png = svn:mime-type=image/png
*.tar = svn:mime-type=application/octet-stream
*.tgz = svn:mime-type=application/octet-stream
*.tif = svn:mime-type=image/tiff
*.tiff = svn:mime-type=image/tiff

Additional types that could perhaps be added to the list:
*.asc = text/plain
*.eml = text/plain
*.gpg = application/octet-stream
*.rtf = application/rtf
*.sig = application/octet-stream

> Thanks,
> Craig
>
> Craig L Russell
> c...@apache.org
>

Reply via email to