LinuxMCE Forums

General => Developers => Topic started by: coley on November 15, 2011, 12:46:58 pm

Title: svn server version
Post by: coley on November 15, 2011, 12:46:58 pm
I checked out latest 10.04 branch and downloaded 9.6Gig of data. This must give the server some hammering each time someone does a complete new checkout. I looked at reducing what to checkout, "extra" looked like a good canditate at a hefty 5.1G.
I know I could just do src but I had a look at the sparse checkout feature in >1.5 svn.
The following set of commands looked like they should work:
Code: [Select]
$ svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/ linuxmce --depth immediates
$ svn up --set-depth exclude linuxmce/extra
$ svn up --set-depth infinity linuxmce/*
But the first command looked like it was taking as long as before and no traffic saving!
Turns out if the svn server doesn't know about these new features the filtering is done on the client side, so all the data is transferred and then ignored.

I know there is never a good time to update an svn server but would it be worth considering? Download traffic being the big saving.

-Coley.

Title: Re: svn server version
Post by: posde on November 15, 2011, 03:37:11 pm
sparse checkout is a function of the client, according to the release notes of Subversion 1.5 <http://subversion.apache.org/docs/release-notes/1.5.html>
Title: Re: svn server version
Post by: coley on November 15, 2011, 03:55:05 pm
http://subversion.apache.org/docs/release-notes/1.5.html#sparse-checkouts

Yes and no, when the server doesn't understand the depth it ignores it and sends down everything letting the client do the discards.
When the server understands it, i.e. in versions >1.5, it doesn't send down data the client has asked to ignore.

-Coley.
Title: Re: svn server version
Post by: merkur2k on November 15, 2011, 04:13:13 pm
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway
Title: Re: svn server version
Post by: coley on November 15, 2011, 04:23:17 pm
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway

Indeed, this is true.
-C.
Title: Re: svn server version
Post by: kyfalcon on December 30, 2011, 05:54:19 pm
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway
Unless there a moron like me  ;D