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

Re: [PATCH] new property 'svn:tarballs'

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-07-12 21:50:24 CEST

"SteveKing" <steveking@gmx.ch> writes:

> Since my suggestion about a new property for
> subversion "svn:tarballs" showed some interest
> (see http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=40545)
> I implemented this function.
> Attached is the diff and the log message to go
> with it (from revision 6459).

Whoa. I must have totally missed that--that's what I get for getting
behind on my dev@ email. I wish I had seen that thread before you
took the time to whip up a patch.

> The new function works like this:
> - set the new property on a versioned folder,
> e.g. svn:tarballs
> neon http://www.webdav.org/neon/neon-0.24.0.tar.gz
> - when you do a checkout/update/switch the subversion
> client will check if that source tarball needs downloading
> and/or extracting.
> - if download/extract is needed then the client will try
> to download the tarball into the folder which has the
> property set.
> - if in the config file a untar/unzip program is set then
> it starts that program and extracts the tarball to
> the folder set in the property
> if no such program is set then the tarball is just left
> in place so the user can extract it later manually.
>
> That way all needed external libraries can be fetched
> by the subversion client and users don't need to
> visit several websites and spend their time searching
> for the correct library to download and extract.

I'm -1 on this going into Subversion, either pre-1.0 or otherwise.
While this is a nice feature and could save some people a bit of time
and energy, I believe that the functionality is completely unrelated
to version control. It is limited insofar that it can fetch things
using only http (what about ftp?), and it also introduces YAD (Yet
Another Dependency) into the Subversion build tree.

This sounds like a great starting feature for a tool that could
piggyback on svn and query a working copy for 'tarball' properties and
Do The Right Thing from there.

Don't get me wrong, I really like the feature, but I don't think that
it should be in Subversion itself.

-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 Sat Jul 12 21:51:26 2003

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.