Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 50097 invoked from network); 27 Jan 2008 11:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2008 11:51:44 -0000 Received: (qmail 76729 invoked by uid 500); 27 Jan 2008 11:51:35 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 76671 invoked by uid 500); 27 Jan 2008 11:51:35 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 76662 invoked by uid 99); 27 Jan 2008 11:51:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 03:51:35 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 11:51:06 +0000 Received: from [192.168.0.10] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTP id 7B88F4846F for ; Sun, 27 Jan 2008 13:51:11 +0200 (EET) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <478CE292.1020702@ops.co.at> References: <478CD146.9040503@ops.co.at> <20080115162422.GA28435@ecyrd.com> <478CE292.1020702@ops.co.at> Content-Type: multipart/alternative; boundary=Apple-Mail-1--210828368 Message-Id: From: Janne Jalkanen Subject: Re: import into svn - included jarfiles Date: Sun, 27 Jan 2008 13:51:10 +0200 To: jspwiki-dev@incubator.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--210828368 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > The thing from the Apache point of view is that there are about 100 > different java projects. And almost every single one of them uses > commons-logging for example. So that would be 100 copies of > commons-logging checked in to the subversion repository. When a new > release is made, and each project checks in the new version, there > goes > another 100 copies (since binary diffs are not very efficient). It > does > add up. > > And when backups are made, all those bits need to be copied to the > backup medium. It's not just disk space, but time too. This is illogical: the web site instructions at http:// incubator.apache.org/guides/sites.html say that "Regardless of which tool you use, the web site should be maintained in the svn repository, and include the site generation tool as a binary file." Wouldn't those also end up having the same tools in the repo dozens and dozens of times over? Frankly, I think this is a problem that should be solved at the backend level - why does SVN not e.g. calculate a hash for the binary files, figure out if it already has one, and then stores only just a link to it instead of the actual file? An inefficient implementation should not burden the individual developers. SVN FAQ suggests that the SVN binary-store algorithm is already quite efficient, though. > And when somebody wants to download the source to browse it, they > don't > need to wait for all the binary dependencies to download too. Probably > less important, but still nice for non-broadband users. I think this is a non-issue. Nobody has in over six years ever mentioned that this would be a problem. > > > > > > > > Unfortunately, this a) requires you to run a separate build script after *every single checkout or update*. This has the downside that some people might simply forget, and end up running with obsolete library versions. This might result in greater load to the developers, when bugs start appearing. b) encourages wrong kind of JAR versioning (minor issue, could be subverted with clever use of scripts), which causes upgrade problems (you need special cleanup scripts to make sure duplicate JARs don't exist) c) is inconvenient to IDE users, who will need to either drop to a shell, or define a separate Ant task just to be able to compile software. I think the old progammer saying: "you code it once, but the user has to use it a thousand times" is valid here: we can either work a bit extra now, or we can have all the developers have to remember to update their libraries all the time." It all depends on whether we think our customers in this case is the Apache infrastructure team, or the JSPWiki developer community. > Are you talking here about being able to build pre-apache versions of > jspwiki using the contents of the apache svn repository? I'm not sure > that is necessary - or even a good idea. Having the full history of > source files is good. But for reproducing old builds, the jspwiki cvs > server will still exist, won't it? It exists, subject to, well sunspots. It is still essentially essentially a "hobby" -computer, connected to the internet thanks to some very nice people I happen to know. HW might fail, the connection might go away, etc. This is BTW also the reason why I would like to move jspwiki.org to some better place, hosted by Apache, if possible. /Janne --Apple-Mail-1--210828368--