From continuum-users-return-1852-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Tue Jun 13 17:03:56 2006 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 72134 invoked from network); 13 Jun 2006 17:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 17:03:56 -0000 Received: (qmail 90760 invoked by uid 500); 13 Jun 2006 17:03:55 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 90483 invoked by uid 500); 13 Jun 2006 17:03:54 -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 90472 invoked by uid 99); 13 Jun 2006 17:03:54 -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 10:03:54 -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.193 as permitted sender) Received: from [64.233.162.193] (HELO nz-out-0102.google.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 10:03:53 -0700 Received: by nz-out-0102.google.com with SMTP id f1so1529961nzc for ; Tue, 13 Jun 2006 10:03:33 -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=WRZZzsmXD3J019mvNm4ZnBH9w00+ouV6Odr/ryJZySggXMwOwKO222YjzbxdaPD5hMJf+vdL/8kx7R/Y8ckzcJYT/wzSZbxhnrBHqiFFrJdVg8VsIpjasFGMXwZiYapiYw4YIPDwL5066VXgixXrdUbfgeiWDa5aHsgCX7f8Jic= Received: by 10.36.126.17 with SMTP id y17mr11154798nzc; Tue, 13 Jun 2006 10:03:32 -0700 (PDT) Received: by 10.36.120.4 with HTTP; Tue, 13 Jun 2006 10:03:32 -0700 (PDT) Message-ID: <1a5b6c410606131003n6067a254r1e27d39a725905f9@mail.gmail.com> Date: Tue, 13 Jun 2006 19:03:32 +0200 From: "Carlos Sanchez" Sender: carlossg@gmail.com To: continuum-users@maven.apache.org Subject: Re: Subversion post-commit hook In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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> <1a5b6c410606130714n55d863a2h3a424cba87bae477@mail.gmail.com> <448ED862.204@venisse.net> X-Google-Sender-Auth: ec553fbca91874bf X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N yes On 6/13/06, Lee Meador wrote: > Do I remember right that you can build a tagged version? > > On 6/13/06, Emmanuel Venisse wrote: > > > > No, it isn't possible to build a particular revision and I don't see th= e > > interest to do it if the > > code in subversion isn't the latest. > > > > Emmanuel > > > > Lee Meador a =E9crit : > > > To make it work the way I hear you wanting, it looks like you need > > > something > > > that notices the changed Subverions revision number and knows the las= t > > > revision number that continuum built. Then it causes Continuum to bui= ld > > the > > > version after the last one built and repeats builds after that of eac= h > > > subversion version number up to the current one. > > > > > > I'm not sure if you can tell Continuum to build a particular Subversi= on > > > version number. > > > > > > I'm not sure what would happen if a lot of little changes get made al= l > > at > > > once. There could be quite a backlog of builds to do. > > > > > > It would even build a version where the only change was to add a spac= e > > in a > > > pom, for example, or other change that wouldn't effect the build outc= ome > > at > > > all. Of course, all you would lose is the time. > > > > > > -- Lee > > > > > > On 6/13/06, Carlos Sanchez wrote: > > >> > > >> 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 wan= t > > 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 l= aid > > >> > 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 do= es > > >> not currently > > >> > > >> > > > > > >> > > > If you got rather fancy, it would sure be nice to have the com= mit > > >> check if there were new projects added, and automagically add them t= o > > >> 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 th= e > > >> 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 > > >> > > > > > > > > > > > > > > > > -- > -- Lee Meador > Sent from gmail. My real email address is lee@leemeador.com > > --=20 I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride