Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 26677 invoked from network); 8 May 2007 09:35:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 09:35:01 -0000 Received: (qmail 70322 invoked by uid 500); 8 May 2007 09:35:06 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 70238 invoked by uid 500); 8 May 2007 09:35:06 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 70227 invoked by uid 99); 8 May 2007 09:35:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 02:35:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of marc.portier@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 02:34:58 -0700 Received: by ug-out-1314.google.com with SMTP id m3so55298ugc for ; Tue, 08 May 2007 02:34:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:sender; b=C8oGF6j7RFrSnXJxMRKWNVXyd3Yawda6r59T1j0pl+3tmpXxW58ixYcacOswtvmE/YfuF8kzRbg/YHwUsXZqjr5IsKLBxFIj2G3ciCiEe3iLjtiE15ouD3xFGYohYP5p2h/1lR9Bt/iPF0ByQyFQPobtstQZQyF6JUo7oHVTB24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:sender; b=oDgvmapbQz9WAbT7eO0Va/D1du2mYUSDf2bd/iIUdlZq88klmgaYcuL9aMh0MoRk2QifcHw3jMPqHLBl/4adQFmvxf70pRRnsul1K5tluJ1q0ODTK2eM88Z1RZ4XCWfnQJZzGH4L9BCv+iCF6FnkOXjui+xze5Q8qNaqBpAwT64= Received: by 10.67.50.7 with SMTP id c7mr333412ugk.1178616877351; Tue, 08 May 2007 02:34:37 -0700 (PDT) Received: from ?193.74.194.98? ( [193.75.212.66]) by mx.google.com with ESMTP id w40sm345850ugc.2007.05.08.02.34.36; Tue, 08 May 2007 02:34:36 -0700 (PDT) Message-ID: <4640442B.2030107@outerthought.org> Date: Tue, 08 May 2007 11:34:35 +0200 From: Marc Portier Organization: Outerthought User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: FYI: Continuum is usable again References: <463F61A7.3080009@tuffmail.com> <464010CE.9050707@apache.org> In-Reply-To: <464010CE.9050707@apache.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Sender: Marc Portier X-Virus-Checked: Checked by ClamAV on apache.org Reinhard Poetz wrote: > Using Continuum is definitly a step forward in order to have a stable > build but it doesn't detect problems if dependencies can't be downloaded > anymore or if we remove a module from our build but forget to remove all > dependencies on it from other modules. In those cases only a build with > a clean local repo would help. Though I don't know how this could be > achieved together with a Continuum build. Any ideas? > not really, only idea is some naive cron-job removing files from the repo: 1/ regular (monthly) removal of the complete repository off the continuum 'user' will enforce pure clean builds, but * make those first new builds of the month extremely slow * dunno if that same 'user'/repo is used in other projects as well 2/ another approach with a more 'continuous' feel would be to daily remove all files that were downloaded XX days ago (30?) find ${USER}/.m2/repository -type f -mtime +30 -exec rm {} \; forcing only those to be fetched again will somewhat spread the stress on downloading that stuff again to introduce this scenario however you'ld need to gradually step down in age of documents (just to make sure that you don't get a big download-stress every 30 days measure from the first time you've put this in place) some listings like: $ for i in $(seq 0 10); do echo -n "#files older then ${i}0 days: "; find ~/.m2/repository/ -type f -mtime +${i}0| wc -l; done might hint at which groups to remove manually (during the week before starting the regular remove) in order to get an optimum spread anyway: additional challenge with this kind of hard cleaning is making sure that continuum isn't starting/running builds while the repo-files are being removed... above suggests that stuff like this might make more sense at the continuum level, anyone? or even better, inside maven: having some kind of a flag that would at least check (not download) if jars/checksums are still available/matching at the remote repositories wdot? -marc=