svn - but smaller?

Arrigo Marchiori ardovm at yahoo.it
Wed Jan 30 12:39:25 UTC 2013


On Tue, Jan 29, 2013 at 11:48:31AM -0500, Isaac (.ike) Levy wrote:

[...]
> John, All,
> 
> Just a quick announce re. "svnup" utility is really exciting/important work-
> 
> I wanted to give a shout that I re-focued my shell based c[v]sup
> workalike, and I'm gunnin' for a basically functional utility this
> weekend sometime.
> The folks managing ctm(1) deltas on the distribution servers, have
> kicked in some help to make this happen on the server side.
> 
> Just to be clear: I'm not trying to compete or confuse- the "svnup"
> work is terribly important to me- but I (and some colleagues) need a
> workalike *asap*. 

Downloading sources from a SVN repository can already be done using
tools in base, but at the expense of a terrible inefficiency.

The FreeBSD SVN repositories are also accessible via http. The served
pages are _very_ easy to parse, as you can see from the
attachment. MD5 sums and all SVN properties are available through
WebDAV requests (not handled by the script).

I tried the attached script to download
http://svn.freebsd.org/base/stable/9/ In 27 minutes it downloaded 67
megabytes, corresponding to 42 KByte/sec, through an ADSL link capable
of roughly 400 KByte/sec. Then I stopped it.

IMHO this should demonstrate that the problem is not only having a
SVN workalike, but a fast and efficient one. 
-- 
rigo

http://rigo.altervista.org


More information about the freebsd-stable mailing list