Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 40526 invoked from network); 28 Dec 2006 00:43:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2006 00:43:44 -0000 Received: (qmail 36305 invoked by uid 500); 28 Dec 2006 00:43:51 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 36277 invoked by uid 500); 28 Dec 2006 00:43:51 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 36267 invoked by uid 99); 28 Dec 2006 00:43:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 16:43:51 -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 (herse.apache.org: domain of gdmlist@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 16:43:40 -0800 Received: by ug-out-1314.google.com with SMTP id y2so4692717uge for ; Wed, 27 Dec 2006 16:43:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=crCQkNo5b1dMhREikPjsszqS8hSasxIdqQ1k/c97NPwZyMBAvEVPp4KjO0mzbfxGFcNtb14ox2p2Tq7Cb2eE+8pygUbZ62X5zhSLIxcSlkZJRKUruCVI2kf+woO459p3M6ECT3+wkCOeMb78+DECReXhWf1lIr3lPbzjR69opHA= Received: by 10.78.151.3 with SMTP id y3mr3990438hud.1167266599507; Wed, 27 Dec 2006 16:43:19 -0800 (PST) Received: by 10.78.155.10 with HTTP; Wed, 27 Dec 2006 16:43:19 -0800 (PST) Message-ID: <96b2ec3f0612271643k102e958btc5ecb68649f07269@mail.gmail.com> Date: Wed, 27 Dec 2006 19:43:19 -0500 From: "Glen Marchesani" Reply-To: glenlist@model3.net To: ivy-user@incubator.apache.org Subject: Re: ivy/maven proxy server In-Reply-To: <635a05060612271024w58d45205x57524f30b9e54643@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_102566_2061203.1167266599327" References: <1CCEA1ACF736B749B6FEE53168A6BF0001ACFC51@server1e> <007d01c729c8$ca97c310$3020a8c0@isabelteam.be> <96b2ec3f0612270748q690e9f65qd8772d5056a53210@mail.gmail.com> <635a05060612271024w58d45205x57524f30b9e54643@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_102566_2061203.1167266599327 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well we first tried maven-proxy and it didn't work. We had been trying the developer builds every day and none of them worked so I wrote the proxy. As a matter of coincidence my co-worker has informed me that he got this working today so tomorrow I will take a closer look at the differences (it may be next week as I am currently travelling)... The biggest difference is it has a very nice web interface to add/remove proxies and such... Again as I said when I get a chance to take it for a test ride (hopefully tomorrow) I will let you know... I think either way the proxy idea has alot of legs whether we use my proxy code or maven-proxy and add a few ivy'ish things to it ;-) For example my rather large ivy resolve took 2 minutes and now with the proxy takes 3 seconds so I can go back to doing an ivy-resolve on every build :-D rather than doing a retrieve to a lib directory and reusing the lib directory... Of course if the cache's on the proxy timeout the resolve takes about 20 seconds... On 12/27/06, Xavier Hanin wrote: > > This is interesting. And how does it compare to maven-proxy: > http://maven-proxy.codehaus.org/ ? > > Xavier > > On 12/27/06, Glen Marchesani wrote: > > > > I have never used/configured squid so please forgive any > > mis-understandings > > I may have... Generally the proxy I have is very specific to Ivy/Maven > > repositories... > > > > I think the major differences is the proxy server will proxy multiple > > repositories to make it look like one. Also retry timeouts can be set > per > > repository. I think an example will explain it clearly... I have the > > following repositories with their timeout values > > > > snapshot-builds (0 seconds) > > company repo (5 minutes) > > ibiblio (1 day) > > ivy repo (1 day) > > java.net maven repo (1 day) > > > > When ivy makes a request the proxy will look to see if the request can > be > > handled with the cached files first if not it will go through the server > > list seeing if it can satisfy the request with that server. If a > request > > to > > a server fails with a 404 (file not found) it is marked and won't be > > retried > > for the set timeout period. If a server is down for any reason it will > > get > > temporary blacklisted so the builds won't stop. > > > > With the proxy server I have a single entry to point to the proxy server > > in > > my ivyconf. Where before I had the proxy server I had all those as > > resolver's in the ivyconf. > > > > Hope that helps... > > > > > > > > On 12/27/06, Gilles Scokart wrote: > > > > > > What are the features of your proxy compared to a generic http proxy > > like > > > squid? > > > > > > It's just to satistfy my own curiosity. I currently only use filebased > > > repositories because they are easier to manage. And when I want to > use > > an > > > external dependency, I preffer to copy/create it manually on the > company > > > repository. > > > > > > > > > Gilles > > > > > > > > > > -----Original Message----- > > > > From: Glen Marchesani [mailto:gdmlist@gmail.com] > > > > Sent: Wednesday, December 27, 2006 3:59 PM > > > > To: ivy-user@incubator.apache.org > > > > Subject: ivy/maven proxy server > > > > > > > > Hi Everyone, > > > > I recently wrote a proxy server webapp to proxy several > > > > remote repositories. It was made for a customer who is using > > > > Maven but I am > > > > testing it today and it works great with ivy too. It works well > and > > > > greatly increases responsiveness (especially when ibibilio is > > > > acting up). > > > > Is anyone interested in this? Has anyone already done > > > > something like this? > > > > Should this be on the dev/user list? > > > > > > > > anyways share your thoughts and ideas... > > > > > > > > -G > > > > > > > > > > > > > > > > ------=_Part_102566_2061203.1167266599327--