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

Re: Issue 908: Text-base compression status?

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-09-19 23:09:27 CEST

On Sun, 18 Sep 2005, Philip Martin wrote:

> Lieven Govaerts <lgo@mobsol.be> writes:
...
> > 4. Discuss the compression feature. Points to be raised:
> > a. how can the user configure when to use compression? -> define all
> > use-cases.
> > - define for the whole working copy, or folders
> > - limit compression to certain extensions only
>
> Ideally the user would be able to specify it on a per wc and/or file
> and/or extension, but we don't really have a mechanism to support that
> yet. I'd keep things simple and just have a global enable/disable in
> .subversion/config.
 
The global switch is a strong stride in the right direction, but even more
useful is the pattern/WC granularity Philip suggests. Being able to enable
this feature on a per-file type matches my use case (probably by inspecting
svn:mime-type and/or pattern matching the file name against some sort of glob
expression). For instance, I might want to turn this on for files of type
"text/*", and extensions *.txt, *.xml, *.html, etc. I would not want to
enable this feature for binaries (e.g. "application/*" or *.exe). Being able
to specify a file size threshold above which to enable compression sounds
nice too, but practically speaking would likely be a lot more trouble to
configure than it would be worth (e.g. gold plating).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 19 23:10:41 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.