From owner-freebsd-stable@FreeBSD.ORG Fri Jan 25 12:32:01 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 94468C39 for ; Fri, 25 Jan 2013 12:32:01 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from nm19-vm0.bullet.mail.ird.yahoo.com (nm19-vm0.bullet.mail.ird.yahoo.com [77.238.189.92]) by mx1.freebsd.org (Postfix) with SMTP id E3723793 for ; Fri, 25 Jan 2013 12:32:00 +0000 (UTC) Received: from [77.238.189.232] by nm19.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:31:54 -0000 Received: from [217.146.188.168] by tm13.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:31:54 -0000 Received: from [127.0.0.1] by smtp136.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:31:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s1024; t=1359117114; bh=yRygZy/Jd/F+ltMf396T/+ag98YWnWp7Gy9AAI0Qm54=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=1W820LN5TMopNaJXd46YDWO49DH5ByJDNCZtJEdjuiX6ltK/b1ANYv5wySrcYymNaBzRupJ2PEzFOiKuyazNYhxQjwThZ5mLZ1WtJEl7F8fXeNcowxgE0NbtZjsL8baZk7IWXZ5rCU8kk3e3+2sMh1BEPgykdPmAUChjZBSijHc= X-Yahoo-Newman-Id: 370038.62296.bm@smtp136.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _tZOk.sVM1mry.ux8QbUHKaUrR.ABJamgKcDOUdQrwv_sKL NL7X4vepbq4RO3wgSF8Z_03pB9c2w6wEVSMwf7YoQdor8Tu9XLZ0DP3kFR6j Cq8JUz4sTWfUGoXpLtU7OPSnp7FAVWR8n62U2N8Ayy5W2VDoZl3pG9woy9uK KzNOO880Dax234B8rN5B1P4hyBDhaYPSZxtNe4pvXLJ7b3Y9GkkIMSifKy2u ZKLcGen2wBukSTbo9wycspMmx1OkoskcCQoQcD06vH4YEcpZQKSsimrDLZnM BDT89D4Cd9kxaBh64AYEFM6TcO_20zyGqIMhSnTOL50kpP7pXyfSHwIa_mAG XgnTXfQZWKXgw613YV6TEN2__XQixhaj3seRBhyaonaD2jQYigdDpyJ.dQsL WWSr3PoG69Jr6stIh2ya_jGu1c0wSQZtnCuZEVgwaF5g2PY4mYESmK35UzX9 N8._u.nxeVeXy6IpbSkQIJacIqeeJPQrUlvK6bG93u5Er_84Xg5GeDdmtoA- - X-Yahoo-SMTP: WU.IBxeswBAAnLcBZV3tEZIK0A-- Received: from snail (ardovm@93.145.95.7 with login) by smtp136.mail.ird.yahoo.com with SMTP; 25 Jan 2013 04:31:54 -0800 PST Received: by snail (Postfix, from userid 1000) id 13DA23C9DB4; Fri, 25 Jan 2013 13:42:19 +0100 (CET) Date: Fri, 25 Jan 2013 13:42:19 +0100 From: Arrigo Marchiori To: 'Jeremy Chadwick' Subject: Svnsup architecture [was: Re: svn - but smaller?] Message-ID: <20130125124219.GA5299@snail.casa> References: <20130123144050.GG51786@e-Gitt.NET> <20130124093846.5e683474@laptop> <20130124085717.GA26673@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130124085717.GA26673@icarus.home.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, Dewayne X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 12:32:01 -0000 On Thu, Jan 24, 2013 at 12:57:17AM -0800, 'Jeremy Chadwick' wrote: [...] > Also, just as a footnote point to readers: please do not bring up > svnsup. Until it's stated by some official FreeBSD person that > "{committers} are actively working on this and bringing it into the base > system so people can get src/ports without installing > ports/devel/subversion", it's not pragmatic to mention it as a > *solution*. I take the chance of this thread to tell my understanding of the svnsup project and how and why it should answer our concerns. I am not a "FreeBSD official person", but I hope I still can bring a bit of useful information. Disclaimer: I only had a small e-mail exchange with des, who is the author of svnsup. 90% of this message are my opinions; the other 10% is copy'n paste from des' emails. I am currently trying to contribute to the software; my opinions are made after studying parts of the current source code. 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). The FreeBSD base system could only contain applications 2 and 4. Neither of them depends on any SVN-related library: deltas are simple text files. Efficiency, if I understood correctly, was one of the key features of cvsup. This is why svnsup only transfers "deltas". 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. I think that svnsup still needs a lot of work before becoming usable. But some of the fundamental parts are there, and the projects can count on at least two developers. :-) -- rigo http://rigo.altervista.org