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

Re: checkout to remote location

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-10 14:43:48 CEST

On Oct 10, 2007, at 06:45, pinky goyal wrote:

> Ryan Schmidt wrote:
>
>> On Oct 10, 2007, at 02:24, pinky goyal wrote:
>>
>> > what the requirement for me is to give the facility to the user to
>> > checkout from website (some users only need to checkout , they dont
>> > do any updates or commit ) so that they will be able to get the
>> > project without installation of the subversion client.
>>
>> Oh! Then you probably want an export, not a working copy. An export
>> will be less than half the size of a working copy. You can still have
>> a server-side working copy that gets "svn update"d periodically or
>> via post-commit, but to make the tarball, you first "svn export" from
>> that working copy to another directory and tar up that new directory.
>>
>> As someone else said, ViewVC already has this feature. Other web-
>> based repo browsers may offer it as well.
>
> but for that your server must maintain copies for all the projects
> and for all the sub folders.i don't think that it is a feasible
> solution to export/checkout every folder and sub folder
> periodically on server. repository size may be very large, in that
> case occupying so many space on server for these copies is very
> difficult.

Ok, then do it on the fly. You never mentioned multiple projects
before; you spoke of "the project" implying there was only one.
Having pre-made tarballs on the server that the user can just click
to download would be faster for the user at the time they want to
download it. But if there are too many projects for this to be
practical, then export the code from the repository and generate the
tarball at the time the user clicks download. (Note: you don't need
to check out a working copy and then export from the working copy;
you can export directly from the repository to save time and disk
space.) It'll take a little longer for the user to get her file, but
the server won't be busy at other times generating tarballs nobody
requested.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 10 14:46:20 2007

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

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