Re: Svnsup architecture [was: Re: svn - but smaller?]

2013-01-25 Thread Peter Jeremy
On 2013-Jan-25 13:42:19 +0100, Arrigo Marchiori ard...@yahoo.it wrote:
The current svnsup design is composed of:

 1- svnsup-distill: takes a revision from svn and creates a text file
(called a delta) that represents it. It seems to be almost
complete.

 2- svnsup-apply: takes a delta generated by svnsup-distill and applies
it to an existing source tree. It's currently a work in progress.

 3- a server-side application that runs svnsup-distill and distributes
the deltas (still to be developed).

 4- a client-side application that fetches new deltas and runs
svnsup-apply. New trees are bootstrapped from other sources,
e.g.  weekly tarballs (still to be developed).

I think you've just re-invented CTM.  Before spending too much more
time on svnsup, I suggest you read ctm(1).

-- 
Peter Jeremy


pgpfk7Isksqu6.pgp
Description: PGP signature


Re: Svnsup architecture [was: Re: svn - but smaller?]

2013-01-25 Thread John Mehr


On Fri, 25 Jan 2013 13:42:19 +0100
 Arrigo Marchiori ard...@yahoo.it wrote:
On Thu, Jan 24, 2013 at 12:57:17AM -0800, 'Jeremy 

1- svnsup-distill: takes a revision from svn and creates 
a text file
(called a delta) that represents it. It seems to be 
almost

complete.


To answer one of John Mehr's problems: MD5 sums are 
calculated by
svnsup-distill and included in the deltas. The client 
only needs to

check them against the local files.


Hello,

I've been looking for a way to get the details of a 
complete revision in one step, but I haven't had any luck 
yet.  This would solve the one aspect I'm most worried 
about: with 5+ files and 5500+ directories in my local 
copy of /usr/src, I'd hate to have my code end up 
inadvertently causing a denial of service on the 
repositories with a flood of tiny requests...




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org