Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 10545 invoked from network); 13 Jun 2006 14:15:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 14:15:23 -0000 Received: (qmail 2118 invoked by uid 500); 13 Jun 2006 14:15:22 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 1834 invoked by uid 500); 13 Jun 2006 14:15:21 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 1823 invoked by uid 99); 13 Jun 2006 14:15:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 07:15:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carlossg@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO nz-out-0102.google.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 07:15:20 -0700 Received: by nz-out-0102.google.com with SMTP id 40so1407436nzk for ; Tue, 13 Jun 2006 07:15:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=EC5wmEjDbDP+Wv8WDB0j+mR/tFdo5aJt0iyW9G4E30+2dq0t68RRm2wQZSqc6ZBBkv+2fdlEZJwoKybDxMVnr4sExI22YnkWpnMevJqhXltWycmCxzUYr4L+B+Uw+n0pUaaZhQFWFPiQV5jbvKJVDoppmHB/7YrokPhbpzyes2E= Received: by 10.36.55.12 with SMTP id d12mr10904185nza; Tue, 13 Jun 2006 07:14:59 -0700 (PDT) Received: by 10.36.120.4 with HTTP; Tue, 13 Jun 2006 07:14:59 -0700 (PDT) Message-ID: <1a5b6c410606130714n55d863a2h3a424cba87bae477@mail.gmail.com> Date: Tue, 13 Jun 2006 16:14:59 +0200 From: "Carlos Sanchez" Sender: carlossg@gmail.com To: continuum-users@maven.apache.org, Baron.Reznik@fastmobile.com Subject: Re: Subversion post-commit hook In-Reply-To: <1150207703.9567.4.camel@baron.fastmobile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25FD74FCC2929F48A7C23E316FA798B8E48225@repbex01.amer.bea.com> <1a5b6c410606081154w3cdd94ddne5d2d0d5bd8c6f2@mail.gmail.com> <8A07F1B17E1AE643AE9CFD47610A522AFB66@WNSEBE01.wnsclients.com> <1a5b6c410606090928p4b022d59x2589211681ccf69f@mail.gmail.com> <1150207703.9567.4.camel@baron.fastmobile.net> X-Google-Sender-Auth: 8a82ee9bc7ea606f X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/13/06, Baron Reznik wrote: > On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > > On 6/8/06, Baron.Reznik@fastmobile.com wrote: > > > I know I'd find this useful as well, for several reasons: > > > -If you simply let continuum build every 5 mins, there could potentially be more than 1 commit during that time, and you would be building multiple revisions worth of changes. Ideally, you would want to build once/revision so if the build breaks, you know which commit broke it. > > > > > > You are not considering here the time that it takes to build the project. > > a commits > > continuum starts building > > b commits > > continuum can't start building, busy > > c commits > > continuum can't start building, busy > > continuum finishes building > > continuum starts building b and c changes > > > > > > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 > revision, and other times 2 or more revisions could be mixed into one > build. I'd like to avoid that. > You can't avoid this with a post commit hook > > > > > -The continuum server would not be making as many hits to the svn server. If you're building dozens and dozens of projects, this adds up when it's once every 5 mins. > > > > I don't realy know what is the overhead of getting the revision number > > to check for changes but shouldn't be heavy at all > > > > I don't know how you verify this, but I got the impression that > continuum was performing a 'svn update' (for subversion, anyways), > which, could be rather heavy depending on how your repository is laid > out. I'm not sure offhand if subversion provides a more efficient way > though. > svn info gives you the local revision svn info URL gives you the remote one conitnuum may be improved to use this instead of a checkout if it does not currently > > > > > > If you got rather fancy, it would sure be nice to have the commit check if there were new projects added, and automagically add them to continuum as well. > > > > > > > > > -----Original Message----- > > > From: carlossg@gmail.com on behalf of Carlos Sanchez > > > Sent: Thu 6/8/2006 1:54 PM > > > To: continuum-users@maven.apache.org > > > Subject: Re: Subversion post-commit hook > > > > > > why do you need that, setting a short period like 5 min is not enough? > > > > > > On 6/8/06, Chris Wall wrote: > > > > We'd like to trigger Continuum builds upon developer commits in > > > > Subversion. It sounds like to do so we need to develop an xml-rpc > > > > client. > > > > > > > > Has anyone developed a post-commit hook into Continuum from Subversion? > > > > Is there related documentation available? > > > > > > > > Thanks. > > > > > > > > -Chris > > > > > > > > > > > > _______________________________________________________________________ > > > > Notice: This email message, together with any attachments, may contain > > > > information of BEA Systems, Inc., its subsidiaries and affiliated > > > > entities, that may be confidential, proprietary, copyrighted and/or > > > > legally privileged, and is intended solely for the use of the individual > > > > or entity named in this message. If you are not the intended recipient, > > > > and have received this message in error, please immediately return this > > > > by email and then delete it. > > > > > > > > > > > > > > > > > -- > > > I could give you my word as a Spaniard. > > > No good. I've known too many Spaniards. > > > -- The Princess Bride > > > > > > > > > > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride